[edit: seems i wasnt clear enough, so i have rewritten parts]
I have one computer (A) running xp ready to recieve vpn connections on a local network (connected to the internet) in the 192.168.0.x range with the approriate ports forwarded from the router.
Client computer (B) is a windows 7 laptop on a different local network (connected to the internet) which also is configured to 192.168.0.x
Now, this obviously causes problems when B connects to A, specifically that B can only find A by IP and not by name.
Changing the range for B is not a good option because there are many many wifi networks out there with this configuration.
Changing the subnet for computer A is also a bit of a pain as there are many computers with static IPs.
So, instead of changing the whole local network where A resides, cant i just have A appear to have a different subnet to its vpn client? Because since im creating a virtual network between two computers, i should be able to give them any range i want?)
With that in mind I tried just turning off automatic dhcp in A's vpn settings and changed it to 172.31.255.x. Computer B now gets the address assigned alright and it can ping 172.31.255.1 but it still cannot ping the server name and it seems to be because the dns on B's vpn connection points at 192.168.0.1.
Is that the reason it doesnt work, and how can i change it?
PS everything worked when B was on a 192.168.1.x network, and there is no problem establishing the actual connection.