Wiring down network interfaces

Pallav Bose pallav_bose at yahoo.com
Mon Jun 27 20:35:09 UTC 2016


Hi,
How do I wire down network interfaces based on their PCI bus addresses? Example: I have the following network interfaces:# pciconf -l | grep bgebge0 at pci0:8:0:0:        class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00bge1 at pci0:8:0:1:        class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00bge2 at pci0:10:0:0:       class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00bge3 at pci0:10:0:1:       class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00bge4 at pci0:2:0:0:        class=0x020000 card=0x04f81028 chip=0x165f14e4 rev=0x00 hdr=0x00bge5 at pci0:2:0:1:        class=0x020000 card=0x04f81028 chip=0x165f14e4 rev=0x00 hdr=0x00
I want the network interface at pci0:2:0:0 to be bge0 always, and the one at pci0:2:0:1 to be bge1 always. How should populate my /boot/device.hints file? I tried following the steps mentioned here <https://forums.freebsd.org/threads/27100/#post-151256>, but after rebooting the system, I ended up with bge2-7 instead (bge0 and bge1 were absent).
Thanks,Pallav


More information about the freebsd-net mailing list