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? Exa=
mple: I have the following network interfaces:
# pciconf -l | grep bge
bge0@pci0:8:0:0:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000=
 card=3D0x200314e4 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00
bge1@pci0:8:0:1:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000=
 card=3D0x200314e4 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00
bge2@pci0:10:0:0:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000 card=
=3D0x200314e4 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00
bge3@pci0:10:0:1:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000 card=
=3D0x200314e4 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00
bge4@pci0:2:0:0:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000=
 card=3D0x04f81028 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00
bge5@pci0:2:0:1:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 class=3D0x020000=
 card=3D0x04f81028 chip=3D0x165f14e4 rev=3D0x00 hdr=3D0x00

I want the network interface at pci0:2:0:0 to be bge0 always, and the one a=
t pci0:2:0:1 to be bge1 always. How should populate my /boot/device.hints f=
ile? I tried following the steps mentioned=C2=A0here, but after rebooting t=
he system, I ended up with bge2-7 instead (bge0 and bge1 were absent).
=C2=A0Thanks,Pallav=20
Links in the message
 =20
| =20
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>