No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S1720GFR, S2700, S5700, and S6720 V200R010C00 Web-based Configuration Guide

This document describes the configuration and maintenance of device through the web network management system. The web network management system provides the functions of viewing device information and managing the entire system, interfaces, services, ACL, QoS, routes, security, and tools.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example of Configuring the Device as a DHCP Relay

Example of Configuring the Device as a DHCP Relay

Networking Requirements

As shown in Figure 2-304, a DHCP server (SwitchB) is deployed in an enterprise and required to dynamically assign IP addresses to the terminals in the enterprise. The terminals and DHCP server are located in different network segments. The DHCP relay function is configured on SwitchA. SwitchA then functions as the DHCP relay to forward the DHCP packets between the terminals and DHCP server so that the DHCP server can assign IP addresses to the terminals.

Figure 2-304  Networking diagram for configuring the device as a DHCP relay

Configuration Description

Before configuring SwitchA as the DHCP relay, you must perform the following operations in sequence:
  1. Add GE0/0/1 to VLAN 200 and GE0/0/2 to VLAN 100.
  2. Configure IP addresses for VLANIF 100 and VLANIF 200.
Before configuring SwitchB as the DHCP server, you must perform the following operations in sequence:
  1. Add GE0/0/1 to VLAN 200.
  2. Configure an IP address for VLANIF 200.
  3. Configure a route to the network segment of the clients.

For detailed VLAN configuration operations, see VLAN; for detailed routing operations, see IP Routing.

Procedure

  1. Configure the DHCP relay function on SwitchA.
    1. Choose Service Management > DHCP > DHCP in the navigation tree to display the DHCP page.
    2. Select Enabled for DHCP, as shown in Figure 2-305.

      Figure 2-305  Enabling DHCP

    3. Click Apply.
    4. Choose Service Management > DHCP > Configure DHCP Relay in the navigation tree to display the Configure DHCP Relay page.
    5. Click Create to display the Create a DHCP Server Group page.
    6. Set DHCP server group name to group1 and add 10.10.20.2 as DHCP server IP, as shown in Figure 2-306.

      Figure 2-306  Creating a DHCP server group

    7. Click OK and return to the Configure DHCP Relay page.
    8. Select Vlanif100 for VLANIF Name, as shown in Figure 2-307.

      Figure 2-307  Selecting a VLANIF interface

    9. Click Configure to display the Configure DHCP Relay page, and select group1 from the DHCP server group name drop-down list box, as shown in Figure 2-308.

      Figure 2-308  Configuring the DHCP relay

    10. Click OK.
    11. Click in the navigation tree.
  2. Configure the DHCP server function on SwitchB.
    1. Choose Service Management > DHCP > DHCP in the navigation tree to display the DHCP page.
    2. Select Enable for DHCP, as shown in Figure 2-309.

      Figure 2-309  Enabling DHCP

    3. Click Apply.
    4. Choose Service Management > DHCP > Configure Global Address Pool in the navigation tree to display the Configure Global Address Pool page.
    5. Click Create to display the Create a Global Address Pool page.
    6. Set the following parameters, as shown in Figure 2-310.

      • Set Address pool name to pool1.
      • Add 10.20.20.0 as Subnet address.
      • Select 24 (255.255.255.0) from the Subnet mask drop-down list box.
      • Add 10.20.20.1 as Gateway IP.
      Figure 2-310  Creating a global DHCP address pool

    7. Click OK.
    8. Choose Service Management > DHCP > Configure VLANIF Interface Address Pool in the navigation tree to display the Configure VLANIF Interface Address Pool page.
    9. Click Create to display the Create a VLANIF Address Pool page.
    10. Select Vlanif200 from the VLANIF name drop-down list box. Select global for Address pool type, as shown in Figure 2-311.

      Figure 2-311  Configuring VLANIF 200 to use the global address pool

    11. Click OK.
    12. Click in the navigation tree.

Result

  • The configurations are displayed in Configure DHCP Relay on SwitchA, as shown in Figure 2-312.
    Figure 2-312  DHCP relay configuration
  • The global address pool configuration is displayed on the Configure Global Address Pool page on SwitchB, as shown in Figure 2-313.
    Figure 2-313  Global address pool configuration
  • The VLANIF interface configuration is displayed on the Configure VLANIF Interface Address Pool page on SwitchB, as shown in Figure 2-314.
    Figure 2-314  VLANIF interface configuration
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000114003

Views: 51714

Downloads: 1063

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next