Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[smart-switch][dpu] Do not run dhclient on the eth0 interface. #21062

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

oleksandrivantsiv
Copy link
Collaborator

Why I did it

The Smart Switch DPU uses midplane-eth0 interface instead of eth0 for the control plane access. The tails are described in IP address asignment HLD.
When the dhclient is running on top of eth0 interface that is down on the Smart Switch DPU it generates errors in the logs:

ERR dhclient[2083]: send_packet: Network is down
2024 Nov 19 15:27:42.157924 sonic ERR dhclient[2083]: send_packet: Network is down
2024 Nov 19 15:27:42.158000 sonic ERR dhclient[2083]: dhclient.c:2600: Failed to send 300 byte long packet over eth0 interface.
Work item tracking
  • Microsoft ADO (number only):

How I did it

Do not run dhclient on the eth0 interface.

How to verify it

Run the image on the Smart Switch DPU. Generated /etc/network/interfaces should not contain dhcp configuration for the eth0 interface.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@oleksandrivantsiv
Copy link
Collaborator Author

/azpw ms_conflict

@oleksandrivantsiv
Copy link
Collaborator Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Contributor

prsunny commented Dec 10, 2024

@kperumalbfn , please merge

Copy link
Contributor

@kperumalbfn kperumalbfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kperumalbfn kperumalbfn merged commit c6df4b0 into sonic-net:master Dec 10, 2024
22 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Dec 10, 2024
…-net#21062)

[smart-switch][dpu] Do not run dhclient on the eth0 interface.
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202411: #21125

mssonicbld pushed a commit that referenced this pull request Dec 11, 2024
[smart-switch][dpu] Do not run dhclient on the eth0 interface.
VladimirKuk pushed a commit to Marvell-switching/sonic-buildimage that referenced this pull request Jan 21, 2025
…-net#21062)

[smart-switch][dpu] Do not run dhclient on the eth0 interface.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants