LinuxQuestions.org
Review your favorite Linux distribution.
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 12-04-2002, 08:37 AM   #1
dwest576
LQ Newbie
 
Registered: Dec 2002
Posts: 11

Rep: Reputation: 0
No Network Connectivity


I am having and issue w/ RH 7.3 and RH 8.0 on a P4 Dell. I have 1 box that has 2 nics and one box that has 3 nics. I am using a X-over cable to go from NIC to NIC. The cable runs from ETH1 on Box 1 to eth2 on box 2.

Box 1:
eth0 2.2.2.2 255.255.255.0
eth1 192.168.200.2 255.255.255.0

Box 2:
eth0 192.168.2.6 255.255.255.0
eth1 192.168.100.1 255.255.255.0
eth2 192.168.200.1 255.255.255.0

That is how the box is setup.

Whenever I ping 192.168.200.1 from box 1 I get destination host unreachable. Looking at the back of the box, it is transmitting from eth0 not eth1 like it should.

Whenever I ping 192.168.200.2 from box 2 I get destination host unreachable. Looking at the back of the box, it is transmitting from eth1 not eth2 like it should.

These are all 3com NICS and have verified operability in other machines, and have verified cables to be good. Any thoughts?
 
Old 12-04-2002, 08:42 AM   #2
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
what does the "route" command show?

-KevinJ
 
Old 12-04-2002, 08:43 AM   #3
dwest576
LQ Newbie
 
Registered: Dec 2002
Posts: 11

Original Poster
Rep: Reputation: 0
The route command shows the all the proper paths. ie
192.168.100.0 255.255.255.0 dev eth1
 
Old 12-04-2002, 08:47 AM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
try taking all the other nic's down with ifconfig and see what it does when you ping then. If that works... start bringing them back up one at a time, pinging between each one.

-kevinJ
 
Old 12-04-2002, 08:49 AM   #5
dwest576
LQ Newbie
 
Registered: Dec 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I've tried that. The only way i get any communications is to remove all the nics out of the machine and use only the built in ethernet port on the motherboard.
 
Old 12-04-2002, 11:01 AM   #6
ianv
Member
 
Registered: Dec 2002
Location: North West England
Distribution: fedora
Posts: 52

Rep: Reputation: 15
Howdy,
Are they 3com 590 (vortex) cards ?
I have terrible trouble getting them to talk to each other. I hacked together a noddy script for my RH 6.2 box that started & stopped the networking - look for the net or network [stop|start] that init runs as the box comes up / goes down (sorry can't remember proper path) . I eventually ran everything through a hub with a 3rd machine hanging off it that had a 3c509 in it just so the 590's would see something on the lan and initialise properly.
Everything looks right - but you always get destination host unreachable. Have you tried pinging at the ethernet level instead of IP by specifying the mac address ? I think it is called arping under linux. Do a man arping & see if u have it installed. Otherwise google for the download site.
HTH
Ian
 
Old 12-04-2002, 01:59 PM   #7
Natbobc
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
Hello,

To just get pings working on box1 you'll have to type something similar to the following:

route add -host 192.168.200.1 eth1

on box2 you'll have to type something like:

route add -host 192.168.200.2 eth2

If these boxes are gateways to networks then you'll have to add gateway entries as well. Judging by your ip layout I can only assume the following:

box1:

route add -net 192.168.200.0 eth1
route add -host 192.168.2.6 gw 192.168.200.1 eth1
route add -net 192.168.100.0 gw 192.168.200.1 eth1
route add -net 0.0.0.0 eth0
(^^I'm assuming this is your prim gateway to the internet)

box2:
route add -host 192.168.2.6 eth0
route add -net 192.168.100.0 eth1
route add -host 192.168.200.2 eth2
route add -net 0.0.0.0 gw 192.168.200.2 eth2

This is a temp setup so you'll have to add the info to the routing config file on the machines for something that'll last after a reboot.... Hopefully this works for you and I haven't forgotten anything. Let me know if everything works ok.

Regards,

Nathan
 
  


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
No Network Connectivity bumjubeo Linux - Newbie 3 02-14-2005 08:57 AM
Can't get network connectivity skint Linux - Networking 15 12-19-2004 02:30 PM
Network Connectivity inescapeableus Linux - Networking 0 11-28-2004 03:53 PM
Network Connectivity Issues undeadpenguin Linux - Networking 4 09-19-2003 10:57 AM
No network connectivity beyond network card linux8 simplimarvelous Linux - Networking 1 02-18-2003 10:22 PM

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

All times are GMT -5. The time now is 09:25 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration