EasyManua.ls Logo

HP 6125XLG - Dynamic IP Address Assignment Configuration Example

HP 6125XLG
284 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
49
Dynamic IP address assignment configuration example
Network requirements
As shown in Figure 18, the DHCP server (Switch A) assigns IP addresses to clients on subnet 10.1.1.0/24,
w h i c h i s s u b n e t t e d i n t o 10 .1.1. 0 / 2 5 a n d 10 .1.1.12 8 / 2 5 .
Configure address range 10.1.1.0/25 and configuration parameters in DHCP address pool 1 so the
DHCP server assigns IP addresses in subnet 10.1.1.0/25 with the lease duration of 10 days and 12 hours
and configuration parameters to clients that connect to VLAN-interface 10 of the server.
Configure address range 10.1.1.128/25 and configuration parameters in DHCP address pool 2 so the
DHCP server assigns IP addresses in subnet 10.1.1.128/25 with the lease duration of five days and
configuration parameters to clients that connect to VLAN-interface 20 of the server.
Figure 18 Network diagram
Configuration procedure
1. Specify IP addresses for the VLAN interfaces. (Details not shown.)
2. Configure the DHCP server:
# 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
[SwitchA-Vlan-interface20] quit
# Exclude IP addresses (addresses of the DNS server, WINS server and gateways).
[SwitchA] dhcp server forbidden-ip 10.1.1.2
[SwitchA] dhcp server forbidden-ip 10.1.1.4
[SwitchA] dhcp server forbidden-ip 10.1.1.126
[SwitchA] dhcp server forbidden-ip 10.1.1.254
# Configure DHCP address pool 1 to assign IP addresses and other configuration parameters to
clients in subnet 10.1.1.0/25.

Table of Contents

Other manuals for HP 6125XLG

Related product manuals