Skip to content

[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#767
wangxin wants to merge 1 commit intosonic-net:masterfrom
wangxin:dir-bcast

Conversation

@wangxin
Copy link
Collaborator

@wangxin wangxin commented Jan 7, 2019

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

  • [*] Bug fix
  • [] Testbed and Framework(new/improvement)
  • [] Test case(new/improvement)

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

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>
@wangxin wangxin closed this Jan 7, 2019
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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant