DHCP Server Instance
17-23
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
Содержание WS5100 Series
Страница 1: ...M WS5100 Series Switch CLI Reference Guide ...
Страница 14: ...WS5100 Series Switch CLI Reference Guide xviii ...
Страница 28: ...WS5100 Series Switch CLI Reference Guide TOC 14 ...
Страница 40: ...WS5100 Series Switch CLI Reference Guide 1 12 ...
Страница 132: ...WS5100 Series Switch CLI Reference Guide 3 10 ...
Страница 164: ...WS5100 Series Switch CLI Reference Guide 4 32 ...
Страница 240: ...WS5100 Series Switch CLI Reference Guide 6 10 ...
Страница 258: ...WS5100 Series Switch CLI Reference Guide 9 4 ...
Страница 270: ...WS5100 Series Switch CLI Reference Guide 10 12 ...
Страница 332: ...WS5100 Series Switch CLI Reference Guide 14 22 ...
Страница 344: ...WS5100 Series Switch CLI Reference Guide 15 12 ...
Страница 482: ...WS5100 Series Switch CLI Reference Guide 20 64 ...
Страница 491: ......
Страница 492: ...MOTOROLA INC 1303 E ALGONQUIN ROAD SCHAUMBURG IL 60196 http www motorola com 72E 103896 01 Revision A January 2008 ...