How to change order of NICs in FreeBSD?

Ferdinand Goldmann ferdinand.goldmann at jku.at
Mon Apr 24 13:30:07 UTC 2006


Hi there,

this might be an easy one, but I seem to be unable to come up with a google'd
solution. :(

I have a machine with four network cards using the em driver:

em0 at pci2:12:0:  class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00
em1 at pci3:11:0:  class=0x020000 card=0x10028086 chip=0x10268086 rev=0x04 hdr=0x00
em2 at pci6:7:0:   class=0x020000 card=0x016d1028 chip=0x10768086 rev=0x05 hdr=0x00
em3 at pci7:8:0:   class=0x020000 card=0x016d1028 chip=0x10768086 rev=0x05 hdr=0x00

Two of the cards are onboard, namely em2 and em3, and the other two (em0, em1)
are sitting in expansion slots. I would like to change the order of the cards,
so that the onboard cards are recognized as em0 and em1.

I tried using the device.hints file, but without much success. Is there any
way how to do this?

Kind regards
-- 
>> Ferdinand Goldmann                                   ////  |          |
>>                                                     |--00  |    UNIX  |
>> Tel. : +43/732/2468/9398 Fax. : +43/732/2468/9397   C   ^  |          |
>> EMail:  Ferdinand.Goldmann at zid.uni-linz.ac.at        \ ~/  ~~~|~~~~~~~~
>> PGP D4CF 8AA4 4B2A 7B88 65CA  5EDC 0A9B FA9A 13EA B993| |-----3


More information about the freebsd-net mailing list