In illumos, if you need to determine the interface which was used for booting via PXE then it's possible to use "boot-mac" pro...