Re: Order of devices listed in ifconfig

2006-08-21 Thread Mark Andrews

 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 [EMAIL PROTECTED]
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: [EMAIL PROTECTED]
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Order of devices listed in ifconfig

2006-08-21 Thread Daniel O'Connor
On Tuesday 22 August 2006 09:44, Forrest Aldrich wrote:
 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.

I believe they're probed in order, but it's entirely up to your motherboard 
vendor as to which order that actually is - there's no way for the OS to 
differentiate between an onboard and a PCI card.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpHbiZicUZJf.pgp
Description: PGP signature