[dir_bcast] Replace injected BOOTP UDP packet with ordinary IP packet#767
Closed
wangxin wants to merge 1 commit intosonic-net:masterfrom
wangxin:dir-bcast
Closed
[dir_bcast] Replace injected BOOTP UDP packet with ordinary IP packet#767wangxin wants to merge 1 commit intosonic-net:masterfrom wangxin:dir-bcast
wangxin wants to merge 1 commit intosonic-net:masterfrom
wangxin:dir-bcast
Conversation
If DHCP relay server is configured, the injected packet would be forwarded to the DHCP servers. Replace the injected BOOTP UDP packet with ordinary IP packet to ensure that it is broadcasted to all interfaces of the VLAN. Signed-off-by: Xin Wang <xinw@mellanox.com>
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
…net#14412) Why I did it src/linkmgrd * 3403160 - (HEAD -> 202205, origin/202205) [ci] fix azure pipeline (sonic-net#190) (33 hours ago) [Jing Zhang] * 95abb4c - [active-standby] avoid unnecessary mux state probe after configuring to `auto` (sonic-net#183) (33 hours ago) [Jing Zhang] * 9277650 - [ci] Fix apt-get install unable locate package issue. (sonic-net#177) (33 hours ago) [Liu Shilong] src/sonic-linux-kernel * 836aedf - (HEAD -> 202205, origin/202205) [202205] Add Secure Boot Kernel configuration (sonic-net#310) (35 hours ago) [Sachin Naik] src/sonic-platform-common * 9b367e4 - (HEAD -> 202205, origin/202205) Modify get_host_lane_assignment_option to return value based on application id (sonic-net#352) (33 hours ago) [mihirpat1] src/sonic-platform-daemons * a6015f2 - (HEAD -> 202205, origin/202205) chassisd: Fix crash on exit on linecard (sonic-net#347) (33 hours ago) [Patrick MacArthur] * dcc0079 - [Supervisor][fabric] Modify the deinit function not to remove CHASSIS_FABRIC_ASIC_TABLE when supervisorctl stop chassisd (sonic-net#340) (33 hours ago) [prem-nokia] src/sonic-swss * a2f1428 - (HEAD -> 202205, origin/202205) Run individule pytests instead of running all pytests at once. (sonic-net#2350) (33 hours ago) [mint570] src/sonic-swss-common * 643132e - (HEAD -> 202205, origin/202205) Fix mod_config with empty config will delete table bug. (sonic-net#767) (34 hours ago) [Hua Liu] * 4c7ee30 - Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (sonic-net#720) (34 hours ago) [Saikrishna Arcot]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If DHCP relay server is configured, the injected packet would be
forwarded to the DHCP servers. Replace the injected BOOTP UDP packet
with ordinary IP packet to ensure that it is broadcasted to all
interfaces of the VLAN.
Signed-off-by: Xin Wang xinw@mellanox.com
Description of PR
Summary:
Fixes # (issue)
If DHCP relay server is configured, the injected BOOTP packet would be unicast to the configured DHCP servers and this test case would fail. Replace the injected BOOTP packet with an ordinary IP packet. Then it will be broadcast to all the VLAN interfaces.
Type of change
Approach
How did you do it?
Replace the injected BOOTP packet with an ordinary IP packet.
How did you verify/test it?
Tested on Mellanox platform running t0 topology. Used the latest image from master branch.
Any platform specific information?
NA
Supported testbed topology if it's a new test case?
Documentation