Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure a DHCP Relay for ZTP

To use ZTP for onboarding devices that are present on a subnet that is different from the subnet in which Paragon Automation is installed, you must configure a DHCP relay, as shown in Figure 1.

Figure 1: Sample DHCP Relay Configuration for ZTP Sample DHCP Relay Configuration for ZTP

The DHCP relay can be an MX Series device or a Linux-based (CentOS) Virtual Machine (VM). For information about using an MX Series device as a DHCP relay, see DHCP Relay Agent.

To configure a DHCP relay in a CentOS-based VM:

  1. Log in to the VM as a root user.

  2. Install the DHCP relay package on the VM.

    Note:

    The DHCP relay package is usually available by default in a CentOS-based VM. However, if the package is not available, the yum install dhcp command fetches the package and installs it.

  3. Execute the following command to run the DHCP relay service.

    where:

    interface-name is the interface on the VM that is connected to the device to be onboarded to Paragon Automation.

    dhcp-service-external-ip is the Paragon Insights services virtual IP (VIP) address that was provided during the installation.

    You can also obtain the Paragon Insights services VIP address by running the following command on the Paragon Automation primary node:

    The IP address listed under EXTERNAL-IP is the Paragon Insights services VIP address.

You can now use the VM as a DHCP relay to connect Paragon Automation and the devices to be onboarded to Paragon Automation.