Example For Configuring A Dhcp Relay Agent For Vpn - Huawei S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
ip pool 1
network 20.20.20.0 mask 255.255.255.0
#
interface Vlanif20
ip address 100.10.10.1 255.255.255.0
dhcp select global
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 20
#
return

3.7.4 Example for Configuring a DHCP Relay Agent for VPN

This section describes how to configure a DHCP relay agent for a VPN.
Networking Requirements
An enterprise establishes a VPN for employees to communicate with each other. The DHCP
server is not in the VPN. Users in the VPN need to obtain IP addresses from the DHCP server.
As shown in
20.20.20.0/24; the DHCP server is located in network segment 10.10.10.0/24. The DHCP
packets need to be relayed by the Switch enabled with the DHCP relay function. The DHCP
clients on the VPN then can apply for IP addresses from the DHCP server.
An address pool containing network segment 20.20.20.0/24 is configured on the DHCP server.
The DHCP server has a reachable route to 20.20.20.0/24.
Figure 3-9 Networking diagram for configuring the DHCP relay for a VPN
Loopback1
1.1.1.1/32
Issue 01 (2012-03-15)
Figure
3-9, the DHCP clients are located in VPNA, which is in network segment
Loopback1
2.2.2.2/32
Internet
Swtich
DHCP Relay:
GE1/0/0
VLANIF100
20.20.20.1/24
vpna
DHCP Client
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
PE:
DHCP Server:
GE1/0/0
VLANIF101
10.10.10.1/24
10.10.10.2/24
3 DHCP Configuration
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents