Hello,
Here's my setup
192.168.0.0/24 <-> (192.168.0.190) router (90.0.0.133) <-> 90.0.0.0/24
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
90.0.0.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
0 eth1
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0
0 eth1
From the 90.0.0.0/24 I'd like to be able to access computers on the
192.0.0.0/24 network. I assume I can add the following route to a
machine on the 90.0.0.0/24 network to use the router as a gateway:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
90.0.0.0 0.0.0.0 255.255.255.0 U 0 192.168.0.0
90.0.0.133 255.255.255.0 UG 0 0 0 eth0 0
0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0
0 lo
0.0.0.0 90.0.0.135 0.0.0.0 UG 0 0
0 eth0
What route do I have to add to the gateway machine to get this to
work?
Any help would be appreciated,
James
|