We help IT Professionals succeed at work.

Sub net Mask set

270 Views
Last Modified: 2015-05-25
Does the the 2nd Networking card that services VPN use the same Sub Mask set as the primary card that services the Network . If not how down does the Network know which card is used by the Network ? I Have the Card I am using for the VPN setup with the same IP set , and gateway. The on services Network has 192.168.2.150 with a 255.255.255 .0 and no Gateway setup .I have the one setup for VPN setup 192.168.2, 175 should the submask be set to 255.255.255.0, and the gateway set to 192.168.2.1 ?
Comment
Watch Question

Top Expert 2012

Commented:
This will not work, a VPN network is a different subnet that the main subnet on your network

Eg
LAN subnet for your clients - 192.168.2.1 - 254(with 2.1 being your router address)
VPN subnet - 192.168.1.1 - 254 - this will provide 254 IP's for the VPN clients connecting

So the subnet address in both cases is 255.255.255.0(but this doesn't always have to match)

You can't use IP's on the same subnet if you are trying to setup a VPN, have you 2 network cards in the server? If so you will assign each network card an IP like above, or using your example

LAN card - 192.168.2.150
VPN card - 192.168.1.175 - this can't be in the same 192.168.2 subnet since it will not work
Most Valuable Expert 2011
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2012

Commented:
My bad, don't know what I was thinking when I posted that! Well spotted @pwindell

Point I was making was the VPN needed to be seperate subnet from LAN subnet...

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.