[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: routing problem



Computer 1 is acting as the router.  It must forward packets.

Computers 2 should use 192.168.0.1 as its gateway.
Computers 3 should use 10.0.0.1 as its gateway.

Can you ping computers 2 and 3 from computer 1?

Here's how the routing should work: When computer 2 pings computer 3, it 
sees that 10.0.0.2 is not on it's network. So it sends the packet to 
192.168.0.1.  Computer 1 has an interface on the 10.0.0.0/8 (is that your 
netmask) network, so it forwards the packet out that interface.

The output of
ifconfig -a
on all the machines would be nice too.

To diagnose these problems, you can run tcpdump on each of the interfaces 
along the way to find how far along the path the packets are getting.

At 10:38 AM 11/29/00 -0800, you wrote:
>i have 3 computers and trying to route with them. one of the 3 computers 
>has 2 nics and the other 2 have 1.
>
>comp info:
>computer 1 - server - eth0 ip=192.168.0.1
>                       eth1 ip=10.0.0.1
>computer 2 - workstation - eth0 ip=192.168.0.2
>computer 3 - workstation - eth0 ip=10.0.0.2
>
>the problem that i am having is that from computer 3 i can't see or ping 
>computer 2 and vis versa. i know that its the routing but don't know how 
>to fix this. if anyone can help please send me. i'm a little new to linux 
>settings and things so if you could send it in some what indetailed 
>discriptions. thanks