LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-31-2004, 08:25 PM   #1
mycmos
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Rep: Reputation: 0
Unhappy I have installed 3 nic, but only one can "ping" other machine, why?


My server (it has 2-CPU) has two Intel Gigabit netcard, and I added a DFE-530TX netcard, the OS is Redhat AS 2.1, their IP are 192.168.3.100, 192.168.3.101, 192.168.3.102 respectively. Only when the 192.168.3.102 was link to network, I can ping 192.168.3.138( other machine ), other two nic can not do so.
I have edited /etc/modules.conf and /etc/sysconfig/networ-scripts/ifcfg-ethN, but the problem can not be resolved.

When I typed route command, it displays following:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 0 0 0 eth2
192.168.3.0 * 255.255.255.0 U 0 0 0 eth1
192.168.3.0 * 255.255.255.0 U 0 0 0 eth2
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default my.router 0.0.0.0 UG 0 0 0 eth0

Anybody can help me?

Last edited by mycmos; 10-31-2004 at 08:46 PM.
 
Old 10-31-2004, 10:08 PM   #2
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Rep: Reputation: 30
@mycmos

please show the output of ur ifconfig command and content of ifcfg-ethN files. so that i can make some ideas to help u.



-Akshat
 
Old 11-01-2004, 12:39 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
check this thread
 
Old 11-01-2004, 12:50 AM   #4
mycmos
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Chinaman, the link you referred to is loop and not useful. Can you copy those contents here?
 
Old 11-01-2004, 12:55 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
quadruple poster strikes!!!

You posted at least 4 times ~

http://www.linuxquestions.org/questi...hreadid=249650
http://www.linuxquestions.org/questi...hreadid=249673
http://www.linuxquestions.org/questi...hreadid=249666
http://www.linuxquestions.org/questi...hreadid=249661

I was trying to make a loop out of all your posts, but messed up. Oh, well...

You agreed to the rules, but started off breaking them.
 
Old 11-01-2004, 01:35 AM   #6
mycmos
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
I am sorry I have made so many identical issues. Now I will take this place as the only discussion area.
 
Old 11-01-2004, 10:01 AM   #7
dylants
Member
 
Registered: Oct 2003
Location: Bath UK
Distribution: RedHat 7,9 RHEL 2.1-4 Suse 9.1, 9.2, Ubuntu, Centos 3-4, Fedora 3-5
Posts: 44

Rep: Reputation: 15
I would suggest taking a look at the route table (type 'route') You might just find that traffic for the local network is set to use eth0 only. That one has caught me out once or twice!

Question is, why have you got three network cards all on the same network? You know you can set more than one address on a single card?


HTH

Dylan
 
Old 11-01-2004, 09:25 PM   #8
mycmos
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Now I have got a resolution : If every netcard has been connected to cable , then the problem would disappear. Thank for your help!
 
Old 11-01-2004, 09:42 PM   #9
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Rep: Reputation: 30
@mycmos

I think is not the proper solution. Try this, put the cable from 1 nic (let say eth0) and put the cable now in nic(let say eth1) and the

run a command for a while,
#ifdown eth0

#ifup eth1

and check whether now u r able to ping or not.


-Akshat
 
Old 11-01-2004, 11:17 PM   #10
mycmos
LQ Newbie
 
Registered: Oct 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Sorry, I can not know your exact means. However I can assure the problem is raised by route table: it shoud be setup manully.
If 3 nic were configured 192.168.1.1, 192.168.2.1,192.168.3.1, all nic can ping other machines , such as 192.168.1.1-->192.168.1.2 , 192.168.2.1-->192.168.2.2, 192.168.3.1-->192.168.3.2 .
 
Old 11-02-2004, 06:46 AM   #11
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Only way to make full use of 3 NIC is to use load balancing. Even when using that you would need to have the three NICs connected to different ports on a gigbit switch, or else you won't gain anything. It would only cause overhead to determine which card to send packets to, only to find that the wire was busy from trafic from one of the other cards.
 
  


Reply



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
I have installed 3 nic, but only one can "ping" other machine, why? mycmos Linux - Hardware 3 11-01-2004 07:54 AM
I have installed 3 nic, but only one can "ping" other machine, why? mycmos Linux - Enterprise 5 11-01-2004 12:51 AM
Detail: I have installed 3 nic, but only one can "ping" other machine, why? mycmos Linux - Networking 3 11-01-2004 12:48 AM
My clients "can browse" outside but "can't ping" outside mrnoe Linux - Networking 1 09-05-2003 02:55 PM
"host" ok, but "ping" can't find ip address hardigunawan Linux - Networking 2 05-16-2002 05:41 PM

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

All times are GMT -5. The time now is 06:37 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
Open Source Consulting | Domain Registration