[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

VPN: Have VPN assign addresses to remot econnections and dhcp server assign addresses to local connections

Hello

I have a simple linksys rvl200 VPN router that connects 3 offices together.
In my central office my VPN router is assigning IP addresses to each local computer (because it has DHCP enabled). The central office has a DHCP server running win2k3. I want all local computers to get their address from the DHCP server, not the VPN. How can this be done? Do I need new hardware?
0
adimit
Asked:
adimit
  • 2
1 Solution
 
kuknoCommented:
Hi,

to relay DHCP requests through a router you need a DHCP relay agent on the router (or somewhere in the network). Reason: DHCP Requests are Layer2 broadcast messages which cannot be routed. I checked the manual of your router and it does NOT offer a DHCP relay agent. So, you cannot get IP addresses from the central DHCP server. If however your router did have a DHCP relay agent it would work. However, you need special configuations on the DHCP server, as you obviously cannot have the same subnet in all three offices.

http://en.wikipedia.org/wiki/Dhcp

Regards
Kurt
0
 
adimitAuthor Commented:
the VPN connection between all 3 offices works fine. All I am looking for is to have each DHCP server in each local office server up DHCP addresses to its local users. Will a relay agent do this? If so, what is the benefit of having a DHCP server, separate from the router?
0
 
kuknoCommented:
I'm confused. In your first post you say, that you want the central DHCP server to serve ip addresses. At least that's how I understand it. Now, you say you want a DHCP server in each location. O.K. to sum it up:

1.) If you want ONE central DHCP server, you will need a DHCP relay agent on the VPN routers, which is not available with the linksys rvl200.

2.) If you want local DHCP servers in each office, you don't need a DHCP relay agent. In this case there is no real benefit of having a separate DHCP server. So, you can use the one on the router. However, it all depends on the size of the locations and if you have any special requirements. If it's a few clients, and you just need an ip addres, DNS, etc. the DHCP on the router is absolutely sufficient.

Regards
Kurt
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now