hosts file configuration for a vpn connection
Posted on 2010-03-31
Let me begin by describing my client's network setup. My client has two locations, shop and home.
At his shop there is a server running SBS 2008. The server is called Sunshineserver. Now that server is set as the domain controller and DNS server. It has an IP of 192.168.0.150. The server uses a router as a gateway, its IP is 192.168.0.1.
Now, at home there is one PC, and that PC uses a router as a gateway as well, It's IP is 192.168.1.1. This router has a VPN connection with the shop route. The PC at home uses the server at the shop as a domain controller.
I used to have the PC at home have a Manual DNS setting of 192.168.0.150 as Primary, and 192.168.1.1 as secondary. This was fine, except the internet was slow and unreliable. So instead I changed the DNS setting to only have 192.168.1.1 as it's primary. Then in the Hosts file I added this:
This seemed to work fine, but after a short period of time I started getting this message "There are currently no logon servers available to service the logon request"
By the way, these are all static IP addresses.
My question is, what record do I need to add to the hosts file? Or, have I even gone about this the wrong way?