Order of devices listed in "ifconfig"

Mark Andrews Mark_Andrews at isc.org
Tue Aug 22 00:48:17 UTC 2006


> I'm certain I read up on this somewhere before...
> 
> When you install a FreeBSD system (6.1 here), the devices don't always 
> configure "in order".  For example, I have a few Dell PowerEdge systems, 
> upon which 2 are FreeBSD....
> 
> The devices would normally appear "in order" (similar to Linux) where 
> they are physically attached... first, em0 and em1 would be the 
> motherboard NICs, then any PCI cards.
> 
> So, I look at them physically, expecting to hook em1 into a separate 
> network, but em1 is actually another port.
> 
> BOTH systems are different, too.
> 
> That's the best way I can think of to describe it.
> 
> Anyone know how to solve this problem in FreeBSD-6.x.
> 
> 
> Thanks.

	I would post /var/run/dmesg.boot.  I would also check that
	both boxes a physically wired the same, same system board
	rev. etc.

	On my multihomed box tx0 is always before sis0 which corresponds
	to the device order.
	
tx0: <SMC EtherPower II 10/100> port 0x1400-0x14ff mem 0xf4806000-0xf4806fff irq 9 at device 15.0 on pci0
sis0: <NatSemi DP83815 10/100BaseTX> port 0x1800-0x18ff mem 0xf4807000-0xf4807fff irq 9 at device 16.0 on pci0

--
ISC Training!  October 16-20, 2006, in the San Francisco Bay Area,
covering topics from DNS to DHCP.  Email training at isc.org.
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the freebsd-stable mailing list