Example For Configuring The Dhcp Relay In A Super Vlan - Huawei Quidway S9300 Configuration Manual

Terabit routing switch v100r001c03
Table of Contents

Advertisement

2 DHCP Configuration
[Quidway] ip route-static 100.10.10.0 24
Step 5 Verify the configuration.
Run the display dhcp relay command on the S9300. You can view the configuration of DHCP
relay enabled on the interface.
[Quidway] display dhcp relay interface vlanif 100
**
DHCP server group name : dhcpgroup1
----End
Configuration Files
Configuration file of the S9300
#
sysname Quidway
#
vlan 100
#
dhcp server group dhcpgroup1
dhcp-server 100.10.10.1
dhcp-server 100.10.10.2
#
interface Vlanif100
ip address 20.20.20.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcpgroup1
#
interface GigabitEthernet1/0/0
port link-type access
port default vlan 100
#
return

2.6.2 Example for Configuring the DHCP Relay in a Super VLAN

Networking Requirements
As shown in
DHCP server is on the network segment 100.10.10.0/24. Therefore, the DHCP packet needs to
be relayed through the S9300 enabled with the DHCP relay function in the super VLAN. In this
manner, the DHCP client can apply for an IP address from the DHCP server.
An IP address pool containing the 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.
2-10
Vlanif100 DHCP Relay Configuration
DHCP server IP [0 ] : 100.10.10.1
DHCP server IP [1 ] : 100.10.10.2
Figure
2-2, the DHCP client is on the network segment 20.20.20.0/24 and the
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - IP Service
**
Issue 02 (2009-08-06)

Advertisement

Table of Contents
loading

Table of Contents