WS5100 Series Switch CLI Reference Guide
17-24
17.2.2 Creating a Host Pool
To create a host pool:
1. Create a DHCP server host address pool.
WS5100(config)#ip dhcp pool hostpool
2. Assign the client name of the host for which static allocation is required.
WS5100(config-dhcp)#client-name linuxbox
3. Assign an IP address for the host.
WS5100(config-dhcp)#host 192.168.0.50
4. Configure the hardware address of the host.
WS5100(config-dhcp)#hardware 00:a0:f8:6f:6b:88
5. Exit from the DHCP instance upon creation of the network pool.
WS5100(config-dhcp)#exit
6. Start the DHCP Server to instantiate the network pool.
WS5100(config)#service dhcp
17.2.3 Troubleshooting DHCP Configuration
1. The DHCP Server is disabled by default. Use the following command to enable the
DHCP Server.
WS5100(config)#service dhcp
This command administratively enables the DHCP server. If the DHCP configuration is
incomplete, it is possible the DHCP server will be disabled even after the execution of
this command.
2. Use the
network
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 you execute
this command, no check is performed to endorse whether an 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.
When you add a L3 interface and assign an IP address to it, the DHCP server gets
enabled/started on this interface. If you have a pool for network 192.168.0.0/24, but
Summary of Contents for WS5100 Series
Page 1: ...M WS5100 Series Switch CLI Reference Guide ...
Page 14: ...WS5100 Series Switch CLI Reference Guide xviii ...
Page 28: ...WS5100 Series Switch CLI Reference Guide TOC 14 ...
Page 40: ...WS5100 Series Switch CLI Reference Guide 1 12 ...
Page 132: ...WS5100 Series Switch CLI Reference Guide 3 10 ...
Page 164: ...WS5100 Series Switch CLI Reference Guide 4 32 ...
Page 240: ...WS5100 Series Switch CLI Reference Guide 6 10 ...
Page 258: ...WS5100 Series Switch CLI Reference Guide 9 4 ...
Page 270: ...WS5100 Series Switch CLI Reference Guide 10 12 ...
Page 332: ...WS5100 Series Switch CLI Reference Guide 14 22 ...
Page 344: ...WS5100 Series Switch CLI Reference Guide 15 12 ...
Page 482: ...WS5100 Series Switch CLI Reference Guide 20 64 ...
Page 491: ......