hi, i have machines here with 2 ethernet cards each. the card that is inseted in the PCI Exp. slot always detected as eth0 and the one onboard eth1 except on the machine where i have 3 NICs. there the onboard gets eth0, PCI exp. NIC as eth1 and the last one inserted in normal PCI slot as eth2.
how does OS decides which card to call eth0 or so on?
On Tuesday 09 Aug 2005 7:21 pm, Harshal wrote:
hi, i have machines here with 2 ethernet cards each. the card that is inseted in the PCI Exp. slot always detected as eth0 and the one onboard eth1 except on the machine where i have 3 NICs. there the onboard gets eth0, PCI exp. NIC as eth1 and the last one inserted in normal PCI slot as eth2.
how does OS decides which card to call eth0 or so on?
depends on the bios, but you can change the order by configuring your modules.conf or conf.modules file
--- Kenneth Gonsalves lawgon@thenilgiris.com wrote:
how does OS decides which card to call eth0 or so
on? depends on the bios, but you can change the order by configuring your modules.conf or conf.modules file
What if there are 3 PCI cards with the same specs, say Intel 10/100 cards, each using the same eepro100 drivers, Any idea on what would be eth0, eth1 and eth2?? The reason I am asking is that I faced this scenario and used the trial/error method giving each interface an IP and then testing to see If I was able to ping the gateway..
Regards, Keith
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
On 8/11/05, Keith Fernandez kpfernz@yahoo.com wrote:
--- Kenneth Gonsalves lawgon@thenilgiris.com wrote:
how does OS decides which card to call eth0 or so
on? depends on the bios, but you can change the order by configuring your modules.conf or conf.modules file
What if there are 3 PCI cards with the same specs, say Intel 10/100 cards, each using the same eepro100 drivers, Any idea on what would be eth0, eth1 and eth2?? The reason I am asking is that I faced this scenario and used the trial/error method giving each interface an IP and then testing to see If I was able to ping the gateway..
You should use mii-tool for testing the links instead of testin g it with ping. its very simple with mii-tool. just connect the network cable only to any 1 ethx and type mii-tool you can see which interface is connected.
Regards,
Keith
Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
--- Rohit Baisakhiya rohitbaisakhiya@gmail.com wrote:
You should use mii-tool for testing the links instead of testin g it with ping. its very simple with mii-tool. just connect the network cable only to any 1 ethx and type mii-tool you can see which interface is connected. -- Regards, Rohit Baisakhiya KiranInfotech
I have not used this tool, But it looks like it just checks the link(layer2), Not what network I am connected to. And for that I have to check if I can ping my gateway, after I have assigned my IP Addresses to the interfaces. However thanks to the info Arun provided, We can at least assign a specific interface to an IP address, and need not switch the network cables.
Since we are still on this topic, Anyone knows how to configure this on other distros, or is it just fedora??
Regards, Keith
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
On 15/08/05 01:43 -0700, Keith Fernandez wrote: <snip>
However thanks to the info Arun provided, We can at least assign a specific interface to an IP address, and need not switch the network cables.
Since we are still on this topic, Anyone knows how to configure this on other distros, or is it just fedora??
This is generally distro independent. The specific configuration file will vary.
Devdas Bhagat
On 8/15/05, Rohit Baisakhiya rohitbaisakhiya@gmail.com wrote:
You should use mii-tool for testing the links instead of testin g it with ping. its very simple with mii-tool. just connect the network cable only to any 1 ethx and type mii-tool you can see which interface is connected.
exactly what i was looking for. thanks.
/etc/modules.conf (Redhat)
On Tue, 2005-08-09 at 19:21, Harshal wrote:
hi, i have machines here with 2 ethernet cards each. the card that is inseted in the PCI Exp. slot always detected as eth0 and the one onboard eth1 except on the machine where i have 3 NICs. there the onboard gets eth0, PCI exp. NIC as eth1 and the last one inserted in normal PCI slot as eth2.
how does OS decides which card to call eth0 or so on?
-- Life is complex. It consists of real and imaginary parts.