Static Ip Address Assignment Configuration Example; Dynamic Ip Address Assignment Configuration Example - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

Static IP Address Assignment Configuration Example

Network requirements
As shown in
Figure
gateway address from Switch A (DHCP server).
Figure 2-1 Network diagram for static IP address assignment
Configuration procedure
1)
Configure the IP address of VLAN-interface 2 on Switch A.
<SwitchA> system-view
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 10.1.1.1 25
[SwitchA-Vlan-interface2] quit
2)
Configure the DHCP server
# Enable DHCP.
[SwitchA] dhcp enable
# Create DHCP address pool 0, configure a static IP-MAC binding, DNS server and gateway in it.
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] static-bind ip-address 10.1.1.5
[SwitchA-dhcp-pool-0] static-bind mac-address 000f-e200-0002
[SwitchA-dhcp-pool-0] dns-list 10.1.1.2
[SwitchA-dhcp-pool-0] gateway-list 10.1.1.126
[SwitchA-dhcp-pool-0] quit

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, the address lease duration is 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, the address lease duration is 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.
2-1, Switch B (DHCP client) obtains a static IP address, DNS server address, and
Figure
2-2, DHCP server (Switch A) assigns IP address to clients in subnet
2-17

Advertisement

Chapters

Table of Contents
loading

Table of Contents