I am having an issue with setting up a static route in Fedora.
I need to route some traffic to an external gateway(184.108.40.206 - public IP address of a VPN router). Any request sent to 220.127.116.11 needs to be routed to VPN router gateway 18.104.22.168 and the router will connect it to a VPN network. Fedore server, VPN router and the VPN network are located in different locations and all connected through internet.
Tried following steps in command line:
route add -net 22.214.171.124 netmask 255.255.0.0 gw 126.96.36.199 dev eth0
SIOCADDRT: No such process
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.250.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 0 0 0 eth0 default 192.168.250.241 0.0.0.0 UG 0 0 0 eth0