Basic switch: DHCP Relay Configuration

Source: Internet
Author: User

DHCP RelayThe proxy can remove the need for a DHCP server in each physical network segment. It can transmit messages to DHCP servers not in the same physical subnet, you can also send messages from the server to DHCP clients not in the same physical subnet.

Requirement Analysis

Configure DHCP Relay on the vswitch so that the following users can dynamically obtain the IP address of the corresponding CIDR block.


 
DHCP Relay configuration steps

1. Global Enabling DHCP

[H3C] dhcp enable

2. Specify the IP address of the DHCP Server used by DHCP Server group 1

[H3C] dhcp-server 1 ip address 192.168.0.1

3. Configure the interface address from DHCP Relay to DHCP Server

 
 
  1. [H3C]vlan 2  
  2.  
  3. [H3C-vlan2]port e1/0/2  
  4.  
  5. [H3C]int vlan 2  
  6.  
  7. [H3C-Vlan-interface2]ip address 192.168.0.2 255.255.255.0 

4. Configure the DHCP Relay interface address to the PC

 
 
  1. [H3C]vlan 3  
  2.  
  3. [H3C-vlan3]port e1/0/3  
  4.  
  5. [H3C]int vlan 3  
  6.  
  7. [H3C-Vlan-interface3]ip address 192.168.1.1 255.255.255.0 

5. The specified VLAN Interface belongs to DHCP Server group 1.

[H3C-Vlan-interface3] dhcp-server 1

DHCP Relay configuration key points

1. Route accessibility must be ensured;

2. Ensure that the dynamically obtained IP addresses are in the address pool;

3. The specific models of these series switches include: Quidway S3500, Quidway S3900, Quidway S5600, H3C S3600, and H3C S5600.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.