I am trying this command:
route add -net 22.214.171.124 netmask 255.255.0.0 gw 126.96.36.199 dev eth0
188.8.131.52 is a public IP address of a VPN router gateway which located in a different subnet and connected through internet.
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.