[dhcp-pkt-fwd] The src port and dst port of Relayed Packet are both 67#2432
[dhcp-pkt-fwd] The src port and dst port of Relayed Packet are both 67#2432wangxin merged 1 commit intosonic-net:masterfrom
Conversation
Signed-off-by: Irene Pan <[email protected]>
|
@irene-pan1202 can you fill the PR template with the request information? Particularly, explain why you made this change? |
|
Thanks @irene-pan1202 , can you please reference this excerpt from rfc:2131 if I recall correctly, the behavior here matched the captured packets from relay agent. I am reluctant to whether stick with the standard or stick with the dhcrelay behavior. |
|
@tahmed-dev May I ask what scenario of this test case be ? Relay agent <--> device <--> DHCP server, or DHCP client <--> device <--> DHCP server |
Thanks @irene-pan1202 it is the first scenario and so, I agree it should be port 67 (server port) only. |
tahmed-dev
left a comment
There was a problem hiding this comment.
Thanks @irene-pan1202 . lgtm
Update sonic-swss submodule pointer to include the following: * 8eea92e [202205][counters] Revert PR sonic-net#2432 for the buffer queue/pg counters improvement ([sonic-net#2462](sonic-net/sonic-swss#2462)) * 5d8636a [202205] Enhance orchagent and buffer manager in error handling (sonic-net#2414) ([sonic-net#2449](sonic-net/sonic-swss#2449)) * aa22237 [Everflow/ERSPAN] Set correct destination port and mac address when the nexthop is updated for ERSPAN mirror destination (sonic-net#2392) ([sonic-net#2455](sonic-net/sonic-swss#2455)) * 04ce7be check state_db for po before sending ARP/ND pkts (sonic-net#2444) ([sonic-net#2450](sonic-net/sonic-swss#2450)) * f0138a2 [portmgr] Fixed the orchagent crash due to late arrival of notif (sonic-net#2431) ([sonic-net#2451](sonic-net/sonic-swss#2451)) * 7cfde48 Change the log messages in addKernelNeigh/Route from ERROR to INFO ([sonic-net#2437](sonic-net/sonic-swss#2437)) * 2c5116e [202205][counters] Improve performance by polling only configured ports buffer queue/pg counters ([sonic-net#2432](sonic-net/sonic-swss#2432))
Description of PR
Summary: The src port and dst port of Relayed Packet are both 67
Fixes # (issue)
Type of change
Approach
What is the motivation for this PR?
The failure I encounter is in the broadcom AS7726-32X platform, and the root cause is the dhcp packet which contains src port 68 and dst port 67 will be trap to CPU and not forward.
How did you do it?
How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation