Troubleshooting Dhcp Server Configuration; Symptom; Analysis - HPE FlexNetwork HSR6800 Configuration Manual

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

# Enable DHCP.
<RouterA> system-view
[RouterA] dhcp enable
# Create DHCP user class ss and configure a match rule to match DHCP requests in which the
hardware address is six bytes long and begins with aabb-aabb.
[RouterA] dhcp class ss
[RouterA-dhcp-class-ss] if-match rule 1 hardware-address aabb-aabb-0000 mask
ffff-ffff-0000
[RouterA-dhcp-class-ss] quit
# Create DHCP option group 1 and customize Option 43.
[RouterA] dhcp option-group 1
[RouterA-dhcp-option-group-1] option 43 hex 800B0000020203040503030303
# Enable the DHCP server on GigabitEthernet 2/1/1.
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] dhcp select server
[RouterA-GigabitEthernet2/1/1] quit
# Create DHCP address pool 0.
[RouterA] dhcp server ip-pool 0
# Specify the subnet for dynamic address allocation.
[RouterA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
# Customize Option 43.
[RouterA-dhcp-pool-0] option 43 hex 800B0000020102030402020202
# Associate DHCP user class ss with option group 1.
[RouterA-dhcp-pool-0] class ss option-group 1
[RouterA-dhcp-pool-0] quit
Verifying the configuration
# Verify that Router B can obtain an IP address on subnet 10.1.1.0/24 and the corresponding PXE
server addresses from Router A. (Details not shown.)
# On the DHCP server, display the IP addresses assigned to the clients.
[RouterA] display dhcp server ip-in-use
IP address
10.1.1.2

Troubleshooting DHCP server configuration

Symptom

A client's IP address obtained from the DHCP server conflicts with another IP address.

Analysis

Another host on the subnet might have the same IP address.
Client identifier/
Hardware address
aabb-aabb-ab01
Lease expiration
Jan 14 22:25:03 2015
61
Type
Auto(C)

Advertisement

Table of Contents
loading

Table of Contents