Got it

Why Can't a PC Access the Internet after Obtaining an IP Address Through DHCP

Latest reply: May 8, 2017 03:31:37 911 1 0 0
Why Can't a PC Access the Internet after Obtaining an IP Address Through DHCP
  • x
  • convention:

ms.america
Created May 8, 2017 03:31:37 Helpful(0) Helpful(0)

In normal situations, a PC can access the Internet after obtaining an IP address through DHCP. However, if the IP address is assigned by a bogus DHCP server, the PC cannot access the Internet with the bogus IP address. If this problem occurs, you are advised to configure DHCP snooping on the Layer 2 access device or first DHCP relay agent from the device, to ensure that PCs can obtain correct IP addresses.

  • When you configure DHCP snooping on a Layer 2 access device, steps 1, 2, and 3 are mandatory and must be performed in sequence.

  • When you configure DHCP snooping on a DHCP relay agent, only steps 1 and 2 are required.

  1. Enable DHCP snooping globally.

    <HUAWEI> system-view
    [HUAWEI] dhcp enable
    [HUAWEI] dhcp snooping enable
  2. Configure the interfaces connected to DHCP clients. Perform the configuration on all interfaces connected to DHCP clients. GE0/0/1 is used as an example.

    [HUAWEI] interface gigabitethernet 0/0/1
    [HUAWEI-GigabitEthernet0/0/1] dhcp snooping enable
    [HUAWEI-GigabitEthernet0/0/1] quit
  3. Perform the configuration on interfaces connected to the DHCP server. GE0/0/2 is used as an example.

    [HUAWEI] interface gigabitethernet 0/0/2
    [HUAWEI-GigabitEthernet0/0/2] dhcp snooping trusted
    [HUAWEI-GigabitEthernet0/0/2] quit
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.