Dhcp Client Configuration Example; Network Requirements; Configuration Procedure - HP FlexNetwork MSR2003 Configuration Manual

Flexnetwork msr router series
Hide thumbs Also See for FlexNetwork MSR2003:
Table of Contents

Advertisement

Task
Display DHCP client information.

DHCP client configuration example

Network requirements

As shown in
an IP address, a DNS server address, and static route information. The DHCP client's IP address
resides on subnet 10.1.1.0/24. The DNS server address is 20.1.1.1. The next hop of the static route
to subnet 20.1.1.0/24 is 10.1.1.2.
The DHCP server uses Option 121 to assign static route information to DHCP clients.
shows the Option 121 format. The destination descriptor field contains the following parts: subnet
mask length and destination network address, both in hexadecimal notation. In this example, the
destination descriptor is 18 14 01 01 (the subnet mask length is 24 and the network address is
20.1.1.0 in dotted decimal notation). The next hop address is 0A 01 01 02 (10.1.1.2 in dotted decimal
notation).
Figure 33 Option 121 format
Figure 34 Network diagram
GE2/0/1
10.1.1.1/24
Router A
DHCP server
GE2/0/1
Router B
DHCP Client

Configuration procedure

1.
Configure Router A:
# Specify the IP address of GigabitEthernet 2/0/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ip address 10.1.1.1 24
[RouterA-GigabitEthernet2/0/1] quit
# Enable DHCP.
[RouterA] dhcp enable
# Exclude an IP address from dynamic allocation.
Figure
34, Router B contacts the DHCP server through GigabitEthernet 2/0/1 to obtain
10.1.1.2/24
Router C
Command
display dhcp client [ verbose ] [ interface interface-type
interface-number ]
20.1.1.2/24
20.1.1.1/24
DNS server
80
Figure 33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents