Notice on Network Management: DHCP Client configuration of Huawei 3COM Router

Source: Internet
Author: User

Based on the previous two sections, we have mastered the DHCP Server configuration of the Huawei 3COM router and the DHCP Relay configuration of the Huawei 3COM router. Here we will talk about the last part: the configuration steps and content of the DHCP Client on the Huawei 3COM router are as follows:

DHCP Client configuration for Huawei 3COM vrodhcp 1. Requirement

The vrodhcp acts as the DHCP Client to obtain the dynamic IP address of the interface.

It is mainly used to connect a vro's Ethernet interface to a public network through a LAN.

DHCP Client configuration for Huawei 3COM vrodhcp 2. Networking Diagram

DHCP Client configuration for Huawei 3COM vrodhcp 3. Configuration script

 
 
  1. Routeconfig script
  2. #
  3. Sysname roupid
  4. #
  5. Radius scheme system
  6. #
  7. Domain system
  8. #
  9. Interface Ethernet1/0/0
  10. Ip address dhcp-alloc/configure DHCP to obtain the address/
  11. #
  12. Interface Ethernet1/0/1
  13. Ip address 192.168.0.1 255.255.255.0
  14. #
  15. Interface NULL0
  16. #
  17. Ip route-static 0.0.0.0 0.0.0.0 202.101.68.1 preference 60
  18. /Specify the default egress route/
  19. #
  20. User-interface con 0
  21. User-interface vty 0 4
  22. #
  23. Return

DHCP Client configuration of Huawei 3COM router 4. Verify

You can use disp int to view the IP addresses obtained by the interface.

 
 
  1. [Quidway]disp int e 1/0/0  
  2. Ethernet1/0/0 current state :UP  
  3. Line protocol current state :UP  
  4. Description :   Ethernet1/0/0 Interface  
  5. The Maximum Transmit Unit is 1500, Hold timer is 10(sec)  
  6. Internet Address is 202.101.xx.4/24, acquired via DHCP  
  7. IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc45-2ca7  
  8. Media type is twisted pair, loopback not set, promiscuous mode not set  
  9. 100Mb/s, Full-duplex, link type is autonegotiation  
  10. Output flow-control is disabled, input flow-control is disabled  
  11. Output queue : (Urgent queue : Size/Length/Discards)   0/50/0  
  12. Output queue : (Protocol queue : Size/Length/Discards) 0/500/0  
  13. Output queue : (FIFO queuing : Size/Length/Discards)   0/75/0  
  14. Last 300 seconds input rate 0.00 bytes/sec, 0.00 packets/sec  
  15. Last 300 seconds output rate 0.00 bytes/sec, 0.00 packets/sec  
  16. Input: 406 packets, 57174 bytes, 406 buffers  
  17. 218 broadcasts, 0 multicasts, 0 pauses  
  18. 0 errors, 0 runts, 0 giants  
  19. 0 crc, 0 align errors, 0 overruns  
  20. 0 dribbles, 0 drops, 0 no buffers  
  21. Output:268 packets, 37113 bytes, 269 buffers  
  22. 86 broadcasts, 19 multicasts, 0 pauses  
  23. 0 errors, 0 underruns, 0 collisions  
  24. 0 deferred, 0 lost carriers 

DHCP Client configuration of Huawei 3COM router 5. Prompt

1. The default router must be specified to implement the Internet access function. The gateway address can be obtained through debugDHCPclient packet. Point the default route of the device to the gateway. The default gateway is usually fixed and will not change with the address acquisition and release.

2. This configuration often needs to be combined with the NAT configuration to enable Intranet users to access the Internet.

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.