H3C S9500 Series Operation Manual page 194

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – Network Protocol
H3C S9500 Series Routing Switches
4.4.4 DHCP Relay Configuration Example
I. Network requirements
As shown in Figure 4-4, two DHCP clients located at the same network segment
(10.110.0.0) are connected to a switch through a port in VLAN 2. The switch, acting as
a DHCP relay, is supposed to forward DHCP packets between the two DHCP clients
and the DHCP server with the IP address of 202.38.1.2.
II. Network diagram
DHCP client
DHCP client
Sw itch ( DHCP Relay )
Sw itch ( DHCP Relay )
Figure 4-4 Network diagram for DHCP Relay
III. Configuration procedure
# Enter system view.
<H3C>system-view
# Create VLAN 2.
[H3C]vlan 2
# Create Vlan-interface 2 and enter VLAN interface view.
[H3C]interface Vlan-interface 2
# Assign an IP address to Vlan-interface 2.
[H3C-Vlan-interface2]ip address 10.110.1.1 255.255.0.0
# Specify to forward DHCP packets to a remote DHCP server.
[H3C-Vlan-interface2]dhcp select relay
# Configure the IP address of the DHCP server to which VLAN 2 sends DHCP packets.
[H3C-Vlan-interface2]ip relay address 202.38.1.2
DHCP cli e nt
DHCP cli e nt
10.110.0.0
10.110.0.0
Ethernet
Ethernet
10.110.1.1
10.110.1.1
Internet
Internet
DHCP Server
DHCP Server
202.38.1.2
202.38.1.2
202.38.1.1
202.38.1.1
Ethernet
Ethernet
202.38.0.0
202.38.0.0
4-26
Chapter 4 DHCP Configuration

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9505S9508S9512

Table of Contents