I am trying this command:
route add -net 220.127.116.11 netmask 255.255.0.0 gw 18.104.22.168 dev eth0
22.214.171.124 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.