Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a two-location MPLS. I am told by the ISP that I can have a single DHCP server to service both branches.

But I don't understand this.

Consider this:

  • Location1 (Host branch with the DHCP server)
  • Location2 (Remote branch)

If I do a ip scan of the network (using Softperfect netscan), any devices that are at Location1 will show the router's mac address as their own mac address. So it seems that I cannot know the mac address of devices at Location2.

But can the DCHP server still assign ip addresses to devices at location2?

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted

Yes, absolutely.

The remote branch needs to have a configured DHCP Forwarder, also known as a DHCP Helper. You typically configure this on a router in the remote branch and tell it to listen for DHCP requests. It will forward those requests to the DHCP server, and then take those assignments and reply to the clients with them.

share|improve this answer
    
Will that DHCP helper by chance also enable my netscanner to find the mac addresses of the network? –  BGM Feb 14 at 19:24
    
No, it won't. It's a DHCP listener for the local subnet which is remote from you. –  mfinni Feb 14 at 19:26
add comment

You'll need to enable (or have the MPLS provider enable) DHCP relay on the router at the remote branch. The remote router will listen for DHCP requests, forward them to your DHCP server, and then return the reply to the client. The router will include its local subnet in the DHCP request so your server will know from which scope to assign an address. Here's the documentation for Cisco IOS - your particular router may implement this feature differently (or not at all).

share|improve this answer
add comment

Your router has to support relaying DHCP requests to MPLS VPNs (DHCP relay = option . MPLS operates 'under' any particular protocol, if you will, so DHCP shouldn't be a problem. Taken from Cisco's documentation

In some environments, a relay agent resides in a network element that also has access to one or more Multiprotocol Label Switching (MPLS) virtual private networks (VPNs). If a DHCP server wants to offer service to DHCP clients on those different VPNs, the DHCP server needs to know the VPN in which each client resides. The network element that contains the relay agent typically knows about the VPN association of the DHCP client and includes this information in the relay agent information option.

The DHCP relay agent forwards this necessary VPN-related information to the DHCP server using the following three suboptions of the DHCP relay agent information option:

•VPN identifier

•Subnet selection

•Server identifier override

You also get the potential benefit of using the same address pool(s) for different remote branches, b/c every packet forwarded by the router contains the VPNID that the request originated from.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.