LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-20-2002, 12:32 AM   #1
Grim Reaper
Member
 
Registered: Apr 2002
Distribution: Gentoo 2006.0 AMD64
Posts: 399

Rep: Reputation: 30
Playing around with a couple of NICs...


Ok, well i _think_ ive gotten two nics working under slacky, w00t but the only problem is, i dunno if thats for certain yet...

i loaded both the modules that they both use (8139too and ne2k-pci) and the 8139too NIC worked fine, could ping the network etc. Then i loaded the second module as well, switched the network cable over to the second NIC, and ran this command ifconfig eth1 192.168.0.210 broadcast 192.168.0.255 netmask 255.255.255.0
and when i do ifconfig, both NICs show up like normal, but when i try to ping the rest of the network thru the second NIC, theres no replies

Any idea's? maybe i didn't set them up correctly...

Im just thinking that the ping packets don't know which interface to go out and their still trying to go out eth0...

EDIT: after a bit of fiddling, ive found that when i go ifconfig eth0 down, then plug the cable into eth1 and go ifconfig eth1 up, eth1 pings the network fine, but then i cant go ifconfig eth0 up, and plug the cable back into it...im assuming i need to setup bridging?

If thats true, then what if i connected a laptop via crossover cable to this machine, and didn't want the laptop to see the rest of the network...can you filter bridging packets?

Hmmm, maybe im asking too much at once here, hehe

Last edited by Grim Reaper; 11-20-2002 at 12:43 AM.
 
Old 11-21-2002, 09:58 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
At a guess, I'd say you are using ip numbers within the same subnet on both cards...
This is a no-no for routing...
The pc, as you say, can't decide which one to send the packets down because both are valid...
Your default route would show one of the interfaces as default, and when you drop that NIC, the only card left that is valid magically starts to work...

The NICs need separate numbers and separate subnets to work together...
Have a look at this Networking HOWTO
 
  


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
Totem playing off of network, Xine playing local iammike Ubuntu 0 04-30-2005 11:43 AM
Intel D845GLLY + Multiple Intel Pro 100 NICs + kernel 2.6.x = NICs don't work egable Linux - Hardware 0 02-04-2005 02:30 PM
2 NICs steve_babbage Linux - Networking 0 07-15-2003 01:18 AM
more than 2 nics sauli Linux - Software 1 02-11-2002 07:45 AM
2 NICs BinaryGrey Linux - Networking 8 08-13-2001 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:59 AM.

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
Open Source Consulting | Domain Registration