Configuring The Dhcp Server Using Switch Cli; Creating Network Pool - Motorola WS5100 Series Cli Reference Manual

Hide thumbs Also See for WS5100 Series:
Table of Contents

Advertisement

17.2 Configuring the DHCP Server using Switch CLI

The switch DHCP configuration is conducted by creating pools and mapping them to L3
interfaces (SVI).
• A Network pool is the pool with "include" ranges. When the network pool is mapped
to a L3 interface, DHCP clients requesting IPs from the L3 interface get an IP from the
configured range
• A host pool is the pool used to assign static/fixed IP address to DHCP clients

17.2.1 Creating network pool

To create a network pool using the switch CLI:
1. Create a DHCP server dynamic address pool.
WS5100(config)#ip dhcp pool test
2. Map the DHCP pool to the network pool.
WS5100(config-dhcp)#network 192.168.0.0/24
3. Add the address range for the dynamic pool.
WS5100(config-dhcp)#address range 192.168.0.30 192.168.0.60
4. Assign a domain name (as appropriate) to this dynamic pool.
WS5100(config-dhcp)#domain-name test.com
5. Configure the DNS server's IP address.
WS5100(config-dhcp)#dns-server 192.168.0.10 192.168.0.11
6. Configure the DHCP client's IP address lease period.
WS5100(config-dhcp)#lease 10
7. Exit from the DHCP instance upon creation of the network pool.
WS5100(config-dhcp)#exit
8. Start the DHCP Server to instantiate the network pool.
WS5100(config)#service dhcp
DHCP Server Instance
17-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents