Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How does iPXE assign a network interface to net0?
2014-10-27, 04:12 (This post was last modified: 2014-10-27 08:01 by Rickert.)
Post: #3
RE: How does iPXE assign a network interface to net0?
(2014-10-24 14:01)mcb30 Wrote:  It will be the first device enumerated by iPXE, which will generally mean the lowest-numbered PCI device in the system.

You can find out various characteristics of the physical device by using the ${pci/....} settings. For example:

Code:
echo net0 has IDs ${pci/${net0/busloc}.0.2}:${pci/${net0/busloc}.2.2}

More examples available at http://ipxe.org/cfg/busloc.

Michael
Thank you. I'm using .kkpxe build, and how does this image select device? Or is it the same across build images?

Do you know where in the source code this logic is written?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How does iPXE assign a network interface to net0? - Rickert - 2014-10-27 04:12



User(s) browsing this thread: 1 Guest(s)