User manual

12-29
2. A DHCP reboot is required to implement the configuration made at both levels — the DHCP pool
context level and DHCP global context level. The following example defines the need to reboot the
DHCP Server to implement changes at the global level:
RFS7000(config)#ip dhcp excluded-address 192.168.0.20 192.168.0.30
RFS7000(config)#ip dhcp restart
3. Use the network CLI command to map the network pool to interface.
network 192.168.0.0/24
In the above example, 192.168.0.0/24 represents the L3 interface. When executing this command, no
check is performed to endorse whether any interface with the specified IP/Netmask exists. The
verification is not performed because you can create a pool and map it to non existing L3 interface.
Later (when you add a L3 interface and assign an IP address to it), the DHCP Server gets enabled/
started on the interface. If you have a pool for 192.168.0.0/24, but the L3 interface is 192.168.0.0/16,
DHCP wont be enabled on 192.168.0.0/16, as it is different from 192.168.0.0/24.
4. A network pool without any include range is as good as not having a pool at all. Add an include range
using the
address range CLI command
address range 192.168.0.30 192.168.0.30
5. To work properly, a host pool should have the following 3 items configured.
client-name ( CLI is
client-name <name> )
fixed-address ( CLI is
host <ip> )
hardware-address/client-identifier
CLI for hardware address is
hardware-address <addr>
CLI for client-identifier is client-identifier <id>
If using client-identifier instead of hardware-address, the DHCP client sends the client-
identifier when it requests for IP address.
6. A host pool should have its corresponding network pool configured otherwise the host pool will be
rendered useless. The fixed IP address configured in the host pool must be in the subnet of the
corresponding network pool.
7. Use the global configuration mode
service dhcp to enable/disable the DHCP Server. This
enables/disables the DHCP Server on all interfaces.
8. If you create a pool and map it to interface, it automatically gets enabled, provided DHCP is enabled
at global level. Use the
no network command to disable DHCP on a per pool/interface basis.
9. To add a newly created pool to the network pool, use one of the following:
network ( Eg network 192.168.0.0/24 )
address range ( Eg address range 192.168.0.30 192.168.0.50 )
10. To add a newly created pool to host pool, use one of the following:
host ( Eg host 192.168.0.1 )
client-name ( Eg client-name "kaveri" )
client-identifier ( Eg client-identifier "aabb:ccdd" )
hardware-address ( Eg hardware-address aa:bb:cc:dd:ee:ff )
NOTE To avoid multiple e DHCP Server requests, restart the DHCP Server only after
making all the required updates.