Network routing
Hello.
I'm running Debian 1.something. I've some trouble with my network
setup.
First a picture on my network:
----------------- eth0 ----------------- eth1 -----------------
I 192.168.1.2 I <----> I 192.168.0.1 I <----> I 192.168.0.2 I
----------------- I 192.168.1.1 I -----------------
-----------------
Now on 192.168.1.2 I run "/usr/sbin/traceroute 192.168.0.2":
traceroute to 192.168.0.2 (192.168.0.2), 30 hops max, 40 byte packets
1 * * *
2 * * *
3 * * *
[The other 27 are just the same.]
On 192.168.1.2 "/sbin/route -n" reports:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 3 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 2 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 872 eth0
On 192.168.0.1/192.168.1.1 "/sbin/route -n" reports:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 4 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 6 lo
or this after I've tried to add gateways:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 192.168.1.2 255.255.255.0 UG 0 0 2 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 4 eth0
192.168.0.0 192.168.0.2 255.255.255.0 UG 0 0 2 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 6 lo
Can somebody advice me how to find out what's wrong? Should I add
gateways or not?
Thanks,
MartinS
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: