LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   multiple ethernet devices (https://www.linuxquestions.org/questions/slackware-14/multiple-ethernet-devices-149484/)

poison 02-23-2004 06:33 AM

multiple ethernet devices
 
hi...
I've got a little problem configuring 3 ehternet interfaces...
I've got 3 network devices...
onboard gigabit
onboard eepro 100
davicom
if I compile my kernel with support for only on device...everything works fine...
if I compile support for all 3...non works...
maybe it is a configuration problem...
can all 3 have the same ip and use the same gateway (they are not used simultanously...)

the commands used to configure:
ifconfig eth0 192.10.10.76 broadcast 192.10.10.255 netmask 255.255.255.0 up
ifconfig eth1 192.10.10.76 broadcast 192.10.10.255 netmask 255.255.255.0 up
ifconfig eth2 192.10.10.76 broadcast 192.10.10.255 netmask 255.255.255.0 up

route add default gw 192.10.10.9 eth0
route add default gw 192.10.10.9 eth1
route add default gw 192.10.10.9 eth2

I just wanted to test all 3 devices....plz tell me if this can't work

regards

acid_kewpie 02-23-2004 06:40 AM

you can't assign the same IP to multiple interfaces, that makes no sense at all in terms of ethernet topologys etc...

you can see yourself really... you add threee default gateways for the same IP on each interface? how is anything meant to get anywhere like that?

poison 02-23-2004 06:46 AM

because were going to upgrade to gigabit...and I wan't to prepare them...
so I can just pull it out the 100mbit and plug in the gigabit connector when it's required and be happy... (the third will be thrown out)
so 2 devices can't have the same ip / default route assigned ?
how can I make the use the same gw if I assigned them different ip's


All times are GMT -5. The time now is 07:43 AM.