Dynamic Ip Address Assignment Configuration Example - HP 3600 v2 Series Configuration Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

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 1 and 2 on Switch A are 10.1.1.1/25 and 10.1.1.129/25
respectively.
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.
The domain name and DNS server address on subnets 10.1.1.0/25 and 10.1.1.128/25 are the same.
Therefore, the domain name suffix and DNS server address can be configured only for subnet
10.1.1.0/24. Subnet 10.1.1.128/25 can inherit the configuration of subnet 10.1.1.0/24.
Figure 30 Network diagram
10.1.1.126/25
Gateway A
Configuration procedure
Specify IP addresses for 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 1 and VLAN-interface 2.
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] dhcp select server global-pool
[SwitchA-Vlan-interface1] quit
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] dhcp select server global-pool
[SwitchA-Vlan-interface2] 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
Figure
30, the DHCP server (Switch A) assigns IP addresses to clients in subnet
Client
WINS server
10.1.1.4/25
Vlan-int1
10.1.1.1/25
10.1.1.2/25
Vlan-int1
Switch B
DNS server
Client
Client
Vlan-int2
10.1.1.129/25
Switch A
DHCP server
Client
55
Client
10.1.1.254/25
Gateway B
Client

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents