Wednesday, January 11, 2006

Ping two Different Networks ...

I have 2 different Systems running Linux and Windows -

Linux ---------------- 10.10.93.220/255.255.255.0 gw 10.10.93.250(ISP)

Windows ----------- 192.168.0.20/255.255.255.0 (VMware - Bridged Mode)

To be able to ping from Linux to Windows and Viceversa.

I add the following routes in the respective systems

Linux :

[root@mybox ram]# route add -net 192.168.0.0/24 gw 10.10.93.220 eth0

Windows:

c:/>route ADD 10.10.93.0 MASK 255.255.255.0 192.168.0.20


Now you should be able to ping from Linux to Windows and vice-versa with out having the IP Address of the same Network.