Results 1 to 2 of 2
given above is my network structure
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 ...
- 08-06-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 1
Routing(Urgent)
given above is my network structure
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!!
(URGENT)
- 08-06-2010 #2
try adding this to 192.168.2.3 and 192.168.2.4 (Assuming both interface are on eth0)
AndCode:route add -net 192.168.1.0 netmask 255.255.225.0 eth0
to 192.168.1.6 and 192.168.1.7Code:route add -net 192.168.2.0 netmask 255.255.225.0 eth0


Reply With Quote