LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-23-2004, 07:33 AM   #1
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
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
 
Old 02-23-2004, 07:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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?
 
Old 02-23-2004, 07:46 AM   #3
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Original Poster
Rep: Reputation: 30
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

Last edited by poison; 02-23-2004 at 08:03 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
debian: two ethernet devices, only one works at a time petermbm Linux - Wireless Networking 3 09-29-2005 01:10 PM
Using multiple USB devices chestnut Linux - Hardware 6 04-21-2005 07:54 PM
using multiple USB flash devices luv2hike Slackware 7 01-04-2005 09:21 PM
USB Hub and Multiple Devices acrors Red Hat 5 08-25-2004 02:22 PM
Multiple devices on the same mount point Knotz Linux - Hardware 3 05-15-2003 04:27 AM


All times are GMT -5. The time now is 08:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration