Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2010
i want to enable routing in my machine(192.168.1.5,192.168.2.1)
i have already configured /etc/sysctl.conf
and disabled firewall in my machine i can ping 192.168.2.3,192.168.2.4
and in return these two machines can ping 192.168.2.1 but they could not ping 192.168.1.6 and 192.168.1.7
pls if any one could tell me the configuration for the case described in the image that would be great help!!
try adding this to 192.168.2.3 and 192.168.2.4 (Assuming both interface are on eth0)
route add -net 192.168.1.0 netmask 255.255.225.0 eth0
route add -net 192.168.2.0 netmask 255.255.225.0 eth0