Re: help with routing

From: Allen McIntosh (nospam_at_mouse-potato.com)
Date: 09/11/05


Date: Sat, 10 Sep 2005 21:48:07 -0400


> 'route add -net 192.168.1.0/24 gw 192.168.0.1' on pc1
> 'route add -net 192.168.0.0/24 gw 192.168.1.100' on pc2
Correct.

>>ip route add 192.168.1.0/24 via 192.168.0.1 1
>>ip route add 192.168.0.0/24 via 192.168.1.100 1
Assuming you are running something with the "ip" command, this is mostly
correct. Delete the 1 at the end, and run on pc1 and pc2 respectively.