I am having an issue with setting up a static route in Fedora.
I need to route some traffic to an external gateway(220.127.116.11 - public IP address of a VPN router). Any request sent to 18.104.22.168 needs to be routed to VPN router gateway 22.214.171.124 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 126.96.36.199 netmask 255.255.0.0 gw 188.8.131.52 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