Home > Networking Solutions > Enterprise/Data Center Networking Solutions > Enterprise SONiC Networking Solutions > Guides > Zero Touch Deployment of Open Dell Switches with SONiC > DHCP server configfile setup
Create a /etc/dhcpd.conf file and ensure the following items are included:
default-lease-time 600;
max-lease-time 1800;
ddns-update-style none;
authoritative;
option domain-name-servers 8.8.8.8; #Put in the name-servers you would like
option ztp_json_url code 67 = text; #SONiC option for ztp offering
#This is the subnet where the switch management interfaces connect to
subnet 192.168.240.0 netmask 255.255.255.0 {
option routers 192.168.240.254;
}
group {
host ztd-SONiC-Z9100 {
hardware ethernet 4c:76:25:e8:29:c0; #<<< PUT mac addresss of your switch mgmt eth
fixed-address 192.168.240.111;
option ztp_json_url "http://192.168.240.101/tftpboot/sonic/ztp/ztp_data_with_firmware.json ";
}
}