Setup DHCP
4 min
overview a dhcp server automatically assigns ip addresses, default gateways, and other network parameters to client devices nile offers cloud dhcp as a service you can use immediately, or you can use your own dhcp server (e g , windows server, infoblox) if you are using your own dhcp server, configure the dhcp relay agent in the nile portal option 1 nile cloud dhcp server log in to the nile portal in the left navigation, select network setup > dhcp click on nile dhcp click on the ' + ' icon and enter the following details pool name enter a name for the dhcp user subnet network enter the subnet default gateway this is auto populated once you enter the network subnet please keep it as is lease time select the lease time default is 1 day dns server please input the ip addresses of your dns server for example 8 8 8 8,8 8 4 4 ip range click on the ' + ' icon to add an ip range specify the start and end ip addresses the fields are pre populated; modify them as required the basic setup is now complete; this covers the most common configuration advanced dhcp reservation enter the device hostname, mac address, and the ip address to reserve for each device options this section is used to configure advanced settings such as ntp server, tftp server, dns server, etc option 2 bring your own dhcp server prerequisites ensure you have the ip addresses of all the dhcp servers you plan to use in your enterprise the nile service block (nsb) acts as a dhcp relay and sends dhcp requests from the first ip address of each subnet (for example, for the employee subnet 192 168 1 0/24, it sends from 192 168 1 1) ensure your dhcp server supports layer‑3 dhcp standalone servers such as windows server and infoblox support this; many routers and firewalls do not verify support before configuring the nile portal ensure bidirectional routing between the dhcp server and your core router/firewall that connects to the nile service gateway configuring dhcp log in to the nile portal in the left navigation, select network setup > dhcp click on the ' + ' icon and enter the following details name specify the name you would like to use for the dhcp server host you can specify all the dhcp server ip addresses here if you have multiple dhcp servers, please specify the other ip/fqdn in the subsequent hosts geo scope select the sites where this dhcp server will be used to assign ip addresses subnet click on the ' + ' sign to add a subnet add all applicable subnets (for example, employee, corporate, and iot) router enter the default gateway ip address for the subnet this address is used by the nile relay agent when obtaining an ip lease from the dhcp server ensure this ip is configured on your dhcp server as the router/default gateway dhcp option (commonly option 3) this is typically the first usable ip in the subnet click save to complete configuration
