2

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?

3 Answers 3

4

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.

2
  • Will that DHCP helper by chance also enable my netscanner to find the mac addresses of the network?
    – bgmCoder
    Feb 14, 2014 at 19:24
  • No, it won't. It's a DHCP listener for the local subnet which is remote from you.
    – mfinni
    Feb 14, 2014 at 19:26
3

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).

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .