LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   No Network Connectivity (https://www.linuxquestions.org/questions/linux-networking-3/no-network-connectivity-37297/)

dwest576 12-04-2002 08:37 AM

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?

KevinJ 12-04-2002 08:42 AM

what does the "route" command show?

-KevinJ

dwest576 12-04-2002 08:43 AM

The route command shows the all the proper paths. ie
192.168.100.0 255.255.255.0 dev eth1

KevinJ 12-04-2002 08:47 AM

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

dwest576 12-04-2002 08:49 AM

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.

ianv 12-04-2002 11:01 AM

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

Natbobc 12-04-2002 01:59 PM

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


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