Routing -Is there another way??
I have two machines A,B in different networks
A ----->192.168.1.0/24
b------>192.168.0.0/24
I want to access one from the other.For this I havae creaed a static route for machine A in machine B.
In Machine B
route add 192.168.1.1 dev eth0
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1
In machine A
route add -net 192.168.0.0 netmask 255.255.255.0 dev eth0
Now I am able to connect from one to other.
Is there any other way to accomplish my task apart from static route?
Basically i want to connect to other network without using static route concept.How to do that?.
**I enabled IP forwarding in both the sides.There is no filre wall b/w the networks
|