Wiring down network interfaces

Pallav Bose pallav_bose at yahoo.com
Fri Jun 24 17:26:52 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 bge
bge0 at pci0:8:0:0:        class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge1 at pci0:8:0:1:        class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge2 at pci0:10:0:0:       class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge3 at pci0:10:0:1:       class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge4 at pci0:2:0:0:        class=0x020000 card=0x04f81028 chip=0x165f14e4 rev=0x00 hdr=0x00
bge5 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, but after rebooting the system, I ended up with bge2-7 instead (bge0 and bge1 were absent).
 Thanks,Pallav 
Links in the message
  
|  
Re-numbering network interfaces
  |  |



More information about the freebsd-questions mailing list