VPN getting wrong subnet

Hi,
5 computers vpn to our other compant fine, no issue's
ipconfig once connected example
192.168.1.157
255.255.255.0
192.168.1.254

yet one of the Pc's does the following
192.168.1.158
255.255.255.255
192.168.1.254

Why is it getting a subnet of 255.255.255.255 instead of 255.255.255.0 like the others ?

Any ideas ?
abbijade97Asked:
Who is Participating?
 
Rob WilliamsConnect With a Mentor Commented:
255.255.255.255  is actually the proper subnet mask, if using the Microsoft VPN, or most others.
The default configuration they should receive would be similar to:
192.168.1.123
255.255.255.255
192.168.1.123

Not sure how yours is working if the gateway is not the the VPN adapter itself. Are you sure these results are next to PPP adapter (the VPN virtual adapter) from an ipconfig while the VPN is connected? They look more like LAN configurations.

Also 192.168.1.x is an extremely common subnet. This can cause you problems. VPN's require that the subnets at the host and client sited be different. Routers route packets based on subnets. If both sites use the same subnet, the packet is kept locally, and lost. Having said that, sometimes with a subnet mask of 255.255.255.255 a Windows VPN will work, allowing you to connect to the VPN server, only, but not any other devices on the VPN server's LAN.

There is a security feature in the VPN client that blocks local connections, including local Internet access, to protect the office/remote network. If you disable it, it will also change the routing and subnet mask, but it changes it to 0.0.0.0  To locate this,on the client/connecting PC, go to:
control panel | network connections | right click on the VPN/Virtual adapter and choose properties | Networking | TCP/IP -properties | Advanced | General | un-check  "Use default gateway on remote network"
0
 
Spot_The_CatCommented:
It all depends on how your network is set up - what VPN solution are you using? Do the 5 computers share the same VPN tunnel?

Does the 6th one share the same tunnel or is it on a different site/tunnel?
0
 
abbijade97Author Commented:
all using Microsoft VPN to connect, the one with the issue I have tried logging on as one of the other users but still the same.
Should I try using a dif VPN method ?
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
kind4meCommented:
Are you sure there are no static setting in the vpn or nic card properties?
0
 
abbijade97Author Commented:
Looked & nothing I could see, I just installed Draytec smart VPN and everything worked ok?
Would like to know what the issue is for future use ?
0
 
Aaron StreetInfrastructure ManagerCommented:
do you have two dhcp servers ?
0
 
Aaron StreetInfrastructure ManagerCommented:
where do the pcs get the ip addresses from?? dhcp or static?
0
 
abbijade97Author Commented:
Hi,
their site has dhcp, and they vpn to a site which also has a dhcp server, the server they remote into gives the correct ip and gate but not the subnet? when I use microsoft vpn
0
 
Aaron StreetInfrastructure ManagerCommented:
well that may be a probelm...

you effectivle have two DHCP servers on the same network!

or at least you may have.. vpn's will allow dhcp traffic to pass through the routers. so check you are not picking up a ip address from the remote DHCP serve..
0
 
Rob WilliamsCommented:
Thanks abbijade97.
Cheers !
--Rob
0
All Courses

From novice to tech pro — start learning today.