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

[dhcp6relay] Support relaying Relay-Forward message #9887

Merged
merged 3 commits into from
Feb 1, 2022

Conversation

kellyyeh
Copy link
Contributor

Why I did it

Allow dhcp6relay to relay DHCPv6 Relay messages.

How I did it

Encapsulate Relay-Forward message in a new Relay-Forward message. No changes needed on the Relay-Reply from server.

How to verify it

Send a Relay Forward message, check if a new Relay Forward message was constructed and sent to the servers.
Tested with sonic-net/sonic-mgmt#5051

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

@kellyyeh kellyyeh marked this pull request as ready for review January 31, 2022 17:24
@kellyyeh kellyyeh requested a review from yxieca January 31, 2022 17:24
src/dhcp6relay/src/relay.cpp Outdated Show resolved Hide resolved
@@ -15,7 +15,7 @@

#define RELAY_PORT 547
#define CLIENT_PORT 546
#define HOP_LIMIT 32
#define HOP_LIMIT 8
Copy link
Contributor

Choose a reason for hiding this comment

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

Why changing hop limit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a comment accordingly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

src/dhcp6relay/src/relay.cpp Outdated Show resolved Hide resolved
@kellyyeh kellyyeh requested a review from yxieca February 1, 2022 05:34
@ppikh
Copy link
Contributor

ppikh commented Feb 16, 2022

@kellyyeh - Can we have this fix in 202111 branch?

@kellyyeh kellyyeh added the Request for 202111 Branch For PRs being requested for 202111 branch label Feb 16, 2022
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