My provider has a (stupid) setup where the IP address for the gateway is on a totally different IP range than the assigned IP address. They insist on doing this for whatever reason. I'm trying to get Windows Server 2012 R2 configured using a static route but have had no luck. I was able to get the network configured on FreeBSD using the following configuration in /etc/rc.conf:
ifconfig_vtnet0="inet 142.4.196.xxx netmask 0xffffffff" static_routes="net1 net2" route_net1="-net 22.214.171.124/32 -iface vtnet0" route_net2="default 126.96.36.199"
Is there anyway to convert this so it will work on Windows Server 2012 R2? I've tried doing
route ADD 0.0.0.0 MASK 0.0.0.0 188.8.131.52 but no luck.
Here's my IP address info:
IP Address: 142.4.196.xxx (Required) subnet mask: 255.255.255.255 Gateway: 184.108.40.206