Got it

[Trouble shooting]PC cannot obtain a DHCP address

Latest reply: Nov 20, 2021 16:33:27 469 10 6 0 0

Hi, community!

Today, Let's discuss possible reasons why a PC cannot obtain a DHCP address.

If you have any good suggestions, please leave a message or tell me.


1

TOPO


2

 Fault Diagram

Gateway Fault:

1. Check whether the DHCP address pool is correctly configured. (The DHCP configuration and VLANIF invoking configuration are correct.)


3

DHCP Configuration


6

Vlanif Configuration


2. Check whether the gateway interface is correctly configured. (The interface permits packets from all VLANs, and the configuration is correct.)

4


3. Check whether DHCP snooping is configured on the device. (If DHCP snooping is not configured, the cause is excluded.)

5


4. Check whether the gateway interface is Up. (Both the interface and VLANIF interface are Up.)


7

Interface status


8
Vlanif status


5. Check whether the MAC address of the terminal is learned. (The MAC address of the terminal can be learned, indicating that the Layer 2 network is normal.)

1


6. Check whether the STP status of the gateway is correct. (The status is forwarding.)

2


7. Check whether there are idle addresses in the address pool. (Check whether there are remaining addresses in the address pool.)

1


8. Check whether ARP conflicts exist. (Sorry, because ensp cannot view logs. You can run the display logbuffer command to view logs.)


1

For example


9. Check whether a MAC loop alarm is generated. (Sorry, because ENSP cannot view logs. You can run the display logbuffer command to view logs.)


   

2

For example


10. Check whether the ACL and traffic policy is configured on the gateway. (It can be ruled out that the IP address cannot be obtained due to security restrictions.)

1


11. Check whether the CPU usage and memory usage are too high. DHCP packets are discarded. (The CPU and memory usage is low. Therefore, packet loss is not caused by the CPU and memory.)



1

CPU-usage


2

memory-usage


12. Check DHCP statistics to see whether the gateway receives DHCP discovery packets. (The DHCP server has received discover packets from the PC.)

1

Access Fault:

1. Check whether the interface permits the corresponding VLAN. (VLAN 10 is allowed to pass through the interface.)

1


2. Check whether port security is configured on the interface. (Check the interface configuration and find that port security is not configured.)

1


3. Check whether the interface is Up. (The interface is in the Up state.)

1


4. Check whether the device can communicate with the gateway. (The test is successful, and the network between the access and gateway is normal.)

1


5. Check whether the STP status of the gateway is correct.

1

6. Check whether ARP conflicts exist. (Sorry, because ENSP cannot view logs. You can run the display logbuffer command to view logs.)


1

For example

7. Check whether a MAC loop alarm is generated. (Sorry, because ensp cannot view logs. You can run the display logbuffer command to view logs.)


1

For example


8. Check whether the ACL and traffic policy is configured. (ACLs and traffic policies are not configured on access devices.)

1

PC Fault:

1. Check whether the PC has multiple network adapters. If the other network adapter has obtained an IP address that conflicts with the DHCP address, it will not obtain the IP address again.

2. Check the firewall of the PC. It is found that DHCP packets are permitted.

3. Replace the PC and try to obtain the IP address. Check whether the terminal is faulty.

4. Capture packets on the PC and check DHCP packets.


Good share thanks
View more
  • x
  • convention:

hpl_Panda
hpl_Panda Created Oct 23, 2021 14:12:01 (0) (0)
 
IndianKid
Moderator Author Created Oct 23, 2021 12:29:42

good sharing , thanks
View more
  • x
  • convention:

good case thanks.
View more
  • x
  • convention:

hpl_Panda
hpl_Panda Created Oct 23, 2021 14:12:08 (1) (0)
 
Good
View more
  • x
  • convention:

Excellent share! Keep up the good work!
View more
  • x
  • convention:

fuzi_yao
fuzi_yao Created Nov 9, 2021 06:01:48 (0) (0)
 
AL_93
Moderator Created Nov 16, 2021 05:10:33

Well explained. Thank you
View more
  • x
  • convention:

hemin88
Moderator Author Created Nov 20, 2021 16:33:27

Very well explained and troubleshooted, thanks for sharing
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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

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.