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