Description

ZTP for ACX1100 requires some adjustments in the DHCP config file to be able to work with kea flavor ISC DHCP server. For more details, refer to the ISC (Internet Systems Consortium) Kea DHCP website.

Symptoms

The ZTP Pull method was used as described in the documentation, Network Configuration Example for Configuring Zero Touch Deployment for ACX
Routers.


With this Kea flavor of ISC DHCP server ACX1100 was not able to get the configuration file passed as DHCP option 67, which resulted as ACX1100 unable to load customer’s defined configuration sent from DHCP server.

Solution

  1. Save the file as dhcpd.conf, in the /etc/dhcp/ directory on the Linux system and add following configuration:

    ("boot-file-name": "/acx1100/bootfile_acx1100.conf", )  in the subnet4 config of DHCP server config.
    
     "subnet4": [
           {
                  "comment": "DHCP_AUTO_INSTALL_BACKHAUL_WDN",
                  "subnet": "10.100.1.0/24",
                  "pools": [ { "pool": "10.100.1.100 - 10.100.1.200" } ],
                  "interface": "ens33.100",
                  "valid-lifetime": 600,
                  "id": 55,
                  "boot-file-name": "/acx1100/bootfile_acx1100.conf",  <<<<<< This is required.
     
                  "option-data": [
                   {
                       "name": "routers",
                       "data": "10.100.1.1"
                   },
                   {
                       "name": "domain-name-servers",
                       "data": "8.8.8.8"
                   },
                   {
                       "name": "tftp-server-name",
                       "data": "10.100.1.1",
                       "always-send": true
                   },
                   {
                       "name": "ntp-servers",
                       "data": "10.61.42.10,10.62.42.10",
                       "always-send": true
                   },
                   {
                       "name": "log-servers",
                       "data": "10.255.253.8",
                       "always-send": true
                   },
                   {
                       "name": "host-name",
                       "data": "ZTP-Phase0",
                       "always-send": true
                   }
                   //{
                     // "name": "bootfile-name",
                      // "data": "/acx1100/bootfile_acx1100.conf",
                      // "always-send": true
                   //}
     
                ]
           }
  2. Restart the KEA ISC DHCP server service in Linux.


Verification:

 root> restart autoinstallation              
Autoinstallation process started, pid 8188
 
root> show system autoinstallation status   
Autoinstallation status:
Master state: Active
Last committed file: None
Configuration server of last committed file: None
Interface:
 Name: fxp0
 State: Configuration Acquisition
 Acquired:
   Address: 10.100.1.100
   Hostname: ZTP-Phase0
   Hostname source: DHCP
   Configuration filename: /acx1100/bootfile_acx1100.conf. <<<<<<. File name is now listed correctly.
   Configuration filename server: 10.63.9.196
 Address acquisition:
   Protocol: DHCP Client
   Acquired address: 10.100.1.100
   Protocol: RARP Client
   Acquired address: None
Interface:

Modification History

2023-10-10 - KB created. 
2023-10-18- Verification and Solution steps correclty added.

Related Information

Network Configuration Example for Configuring Zero Touch Deployment for ACX
Routers.