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