Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2016 17:21:35 +0000 (UTC)
From:      Pallav Bose <pallav_bose@yahoo.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Wiring down network interfaces
Message-ID:  <2101488521.1124742.1466788895518.JavaMail.yahoo@mail.yahoo.com>
References:  <2101488521.1124742.1466788895518.JavaMail.yahoo.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@pci0:8:0:0:        class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge1@pci0:8:0:1:        class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge2@pci0:10:0:0:       class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge3@pci0:10:0:1:       class=0x020000 card=0x200314e4 chip=0x165f14e4 rev=0x00 hdr=0x00
bge4@pci0:2:0:0:        class=0x020000 card=0x04f81028 chip=0x165f14e4 rev=0x00 hdr=0x00
bge5@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
  |  |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2101488521.1124742.1466788895518.JavaMail.yahoo>