Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2006 10:48:09 +1000
From:      Mark Andrews <Mark_Andrews@isc.org>
To:        Forrest Aldrich <forrie@forrie.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Order of devices listed in "ifconfig" 
Message-ID:  <200608220048.k7M0m9FM090263@drugs.dv.isc.org>
In-Reply-To: Your message of "Mon, 21 Aug 2006 20:14:40 -0400." <44EA4C70.2050609@forrie.com> 

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

> 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@isc.org.
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews@isc.org



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