Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

APPENDIX: Example DHCP Relay in IP Clos Fabric

Following is an example lab design to test DHCP relay in an IP Clos anycast fabric with the following configuration:

  • Fabric type = IP Clos
  • Overlay loopback pool configured = 172.16.192.0/19
  • WAN router integration = eBGP peering with the fabric
  • DHCP server location = External to the fabric
  • DHCP server reachability = via WAN router for all VLANs and VRFs
  • Third-party DHCP server used = Linux-based KEA V2.0.2 as VM

The configuration example shown below is only showing configuration relevant to the DHCP relay integration to make it brief. The full workflow can be deduced from available JVDs and extensions posted already.

Campus Fabric Dialogue Configuration

In the campus fabric dialogue configuration, it is important to configure the following:

  • The correct fabric type = IP Clos
  • The overlay loopback pool = 172.16.192.0/19 (as we expected some future growth)

A screenshot of a computer Description automatically generated

Then, in the “Networks” fabric dialogue, configure the following:

  • DHCP Relay = Enabled
  • vlan1033:
    • Network = vlan1033
    • DHCP Servers = 192.168.122.12
  • vlan1088:
    • Network = vlan1088
    • DHCP Servers = 192.168.122.12
  • vlan1099:
    • Network = vlan1099
    • DHCP Servers = 192.168.122.12

A screenshot of a computer Description automatically generated

A screenshot of a computer Description automatically generated

Note:

Ensure you always use this dialogue to configure DHCP relay in all campus fabric designs.

Access Switch Configuration

Our Desktop1 client is attached to the ge-0/0/3 interface on the Access1 switch through the following port configuration:

A screenshot of a computer Description automatically generated

Based on this configuration, Juniper Mist cloud configures the following on the switch:

The important item to verify on the access switch is which overlay loopback IP addresses have been assigned for each local VRF (Layer 3 is on the access switch in IP Clos):

A screenshot of a computer Description automatically generated

Note:

You must ensure these local overlay loopback IP addresses are exchanged as host routes with the WAN router.

WAN Router Integration on the Service Block Switch

Now, check the BGP configuration on the two service block switches. Here, it is important to check the export filters (which are shared in our case):

A screenshot of a login Description automatically generated

It is important to also export the overlay loopback IP address range as well as the usual VLANs of the fabric.

A screenshot of a computer Description automatically generated

Note:

You must ensure that you append “-32” to the IP prefix that you have defined in the campus fabric dialogue. Otherwise, the WAN router does not know the individual host routes which are spread across your VRFs.

WAN Router Integration Checks

Next, login to the WAN router and verify the received overlay loopback IP addresses. First, check the established BGP peering:

Then, check the routing table for the three IP addresses (172.16.192.1-3) that we validated on the local switch shown above:

DHCP Server Check

Next, check the DHCP server itself:

Final Test with a Wired Client

To complete the installation, perform a final test with a wired client. The initial state of our client is that it has a static IP address assigned and can communicate towards the internet:

We can see this client and its IP address in the Wired Client overview in the Juniper Mist portal:

A screenshot of a computer Description automatically generated

Next, we unconfigure the static IP address and try to obtain a DHCP lease instead. The additional configuration below ensures that the client loses the static configuration and any prior knowledge of a DHCP lease. We then start up the DHCP client in the foreground to see a bit more of the debugging messages:

After a while (depending on local ARP age-outs), this change becomes visible in the Wired Client overview:

A screenshot of a computer Description automatically generated