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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
kind4meCommented:
Are you sure there are no static setting in the vpn or nic card properties?
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rob WilliamsCommented:
Thanks abbijade97.
Cheers !
--Rob
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.