A collegue of mine, Adrian S, posted here the other day asking for help with a VPN setup we're working on. Basically we're trying to connect users to the primary LAN via an E-smith box creating a PPTP tunnel. The LAN already has a DHCP server so SME's dhcpd is turned off.
Client -:- SME -:- LAN
The clients are windows based and require NT logons, this is where we encounter problems. SME seems to be giving the clients false addressing information. It dishes out IPs within the LAN's range, however the subnet mask, gateway and WINS servers come back wrong. (subnet mask comes back as 255.0.0.0 instead of 255.255.254.0, the gateway is the same as the clients ip and the wins servers are both set to the SME local (LAN) ip.
I myself have little experience with SME, VPN or windows NT based networks, so I'm not really sure what's going on under the bonnet. I'd like to know if SME or the LAN's DHCP server hands out IP's to VPN clients. From what I can see it's SME since it gets an IP, yet everything else is wrong. If I'm right, how can we tell SME to give VPN clients the correct information about the network they're connecting to (g/w, wins servers, subnet mask)?
Someone suggested setting up SME as a DHCP temporarily - when it is turned off it should remember client settings,,, this did not solve our problem unfortunately.
Also telling the smb service the ip of the wins server seemed to do nothing.
Any help/information would be much appreciated, I'd like to shed some light on this problem and hopefully solve it.
Jon