I am trying this command:
route add -net 125.106.0.0 netmask 255.255.0.0 gw 105.101.67.70 dev eth0
105.101.67.70 is a public IP address of a VPN router gateway which located in a different subnet and connected through internet.
Result:
SIOCADDRT: No such process
Is it possible to route a traffic to external gateway ? or its required that the gateway should in the same network to enable static routing.
Any info or direction appreciated.
thanks.