I'm trying to connect to my company's network via PPTP VPN from Mac OS X.
I had a problem which turned out to be wrong netmask configuration which prevented 192.168.10.16
and 17
DNS servers from being accessible. The gateway IP is 192.168.7.117
and the mask for some reason was set to 255.255.255.0
.
I worked around it (perhaps, in a wrong way) by routing everything with the 255.255.0.0
netmask to the gateway:
sudo route add -net 192.168.7.218 192.168.7.117 255.255.0.0
Now, both my working computer (192.168.11.56
) and DNS (192.168.10.16
) are pingable.
However I can't come up with a way to assign this DNS for this particular subnet.
Merely setting company DNS in VPN interface settings and normal DNS in my Bluetooth doesn't do the trick. How can I do this in Mac OS X?