Dynamic Ip Address Assignment Configuration Example - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

[SwitchA-dhcp-pool-0] gateway-list 10.1.1.126
[SwitchA-dhcp-pool-0] quit
Verifying the configuration
After the preceding configuration is complete, Switch B can obtain IP address 10.1.1.5 and other network
parameters, and Switch C can obtain IP address 10.1.1.6 and other network parameters from Switch A.
You can use the display dhcp server ip-in-use command on the DHCP server to view the IP addresses
assigned to the clients.

Dynamic IP address assignment configuration example

Network requirements
As shown in
10.1.1.0/24, which is subnetted into 10.1.1.0/25 and 10.1.1.128/25.
The IP addresses of VLAN-interfaces 10 and 20 on Switch A are 10.1.1.1/25 and 10.1.1.129/25.
In address pool 10.1.1.0/25, configure the address lease duration as ten days and twelve hours,
domain name suffix aabbcc.com, DNS server address 10.1.1.2/25, gateway 10.1.1.126/25, and
WINS server 10.1.1.4/25.
In address pool 10.1.1.128/25, configure the address lease duration as five days, domain name
suffix aabbcc.com, DNS server address 10.1.1.2/25, and gateway address 10.1.1.254/25, and
there is no WINS server address.
Figure 17 Network diagram
Configuration procedure
Configure the IP addresses of the VLAN interfaces. (Details not shown.)
1.
Configure the DHCP server:
2.
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
# Enable the DHCP server on VLAN-interface 10 and VLAN-interface 20.
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] dhcp select server
[SwitchA-Vlan-interface10] quit
[SwitchA] interface vlan-interface 20
[SwitchA-Vlan-interface20] dhcp select server
Figure
17, the DHCP server (Switch A) assigns IP addresses to clients in subnet
43

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents