DHCP packets are not forwarded by the S5700 switch at L2

Created: Apr 24, 2017 08:44:50Latest reply: Apr 24, 2017 09:12:57 997 1 0 0

As shown in the below figure, a DHCP server (SwitchB) is deployed on an enterprise network to dynamically allocate IP addresses to terminals from VLAN 200 and 300. The intermediate switch, SwitchA has two VLANIF in vlan 200,300 , where the vlanif 200 interface is configured as a DHCP client while the vlanif 300 is configured with a static IP.

 0ab3ef38897d472cbd8f2765da5a0c88

Problem:<?xml:namespace prefix = "o" />

The DHCP client belonging to VLAN 200 can obtain an IP address from the server but the DHCP client belonging to VLAN 300 is not able to even though the devices are correctly configured to allow communication in VLAN 300 between the client and server.

This post was last edited by jack_U at 2017-04-24 08:47.
  • x
  • convention:

ms.america  Visitor   Created Apr 24, 2017 09:12:57 Helpful(0) Helpful(0)

Verified that  the MAC-address of the client that cannot obtain an IP address is learnt on switch A<?xml:namespace prefix = "o" />

[R6_U24_S5710_Stack]display mac-address

-------------------------------------------------------------------------------

MAC Address    VLAN/VSI                          Learned-From        Type     

-------------------------------------------------------------------------------

643e-8c43-2a7f 200/-                             GE0/0/2           dynamic  

28d2-443c-0c2c 300/-                             GE0/0/2            dynamic  

 

-Collected a packet capture on the switch by using the port mirroring command to verify if the DHCP request sent by the client is received and sent by it.


ed46ce5a0e0749719615a2843fac07d1

According to the packet capture we can observe that the switch receives the DHCP request from the client but does not forward them further even though between the client and the server we have L2 connectivity. Given the packet capture, we can conclude that the packets are dropped by the switch.

 


transparent.gif Root Cause
transparent.gif Solution

To solve the problem we enabled the DHCP function on the switch by running the “dhcp enable “command in order to have the received DHCP packets processed and forwarded by the CPU of the switch.


After further investigation we noticed, that the problem in question appears in the vlans that do not have the  dhcp function enabled in the situation where the switch is configured as a DHCP client in an interface with the  ip address dhcp alloc-ip" command without having the DHCP function globally enabled globally.

 

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top