[master]fix dhcpv6 relay dual tor source interface selection issue#42
Merged
jcaiMR merged 2 commits intosonic-net:masterfrom Jul 17, 2023
Merged
[master]fix dhcpv6 relay dual tor source interface selection issue#42jcaiMR merged 2 commits intosonic-net:masterfrom
jcaiMR merged 2 commits intosonic-net:masterfrom
Conversation
9dd9977 to
2f95a11
Compare
2f95a11 to
33d8436
Compare
vivekrnv
approved these changes
Jul 14, 2023
kellyyeh
approved these changes
Jul 14, 2023
6 tasks
6 tasks
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.
Description of PR
[master] Fix DHCPv6 relay dual-tor relay-reply handling issue.
Other related docker change PR:
https://github.com/sonic-net/sonic-buildimage/pull/15744/files
Type of change
Back port request
Approach
What is the motivation for this PR?
Fix DHCPv6 relay dual-tor relay-reply handling issue. In dual-tor scenario, we need responses from dhcpv6 server send to Active tor. Based on RFC8415 session [18.3.10], DHCPv6 server unicasts the Relay-reply message directly to the relay agent using the address in the source address field from the IP datagram in which the Relay-forward message was received. So in dual-tor we need use DUT unique loopback ipv6 address as relay-forward source (Vlan IPv6 is same on both active tor and standby tor).
Main changed in this PR:
How did you do it?
How did you verify/test it?
single-tor sanity testing no issue
dual-tor function test
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation