Skip to content

[arp_responder]: Add IPv6 support#2723

Merged
theasianpianist merged 4 commits intosonic-net:masterfrom
theasianpianist:ipv6-arp-responder
Jan 5, 2021
Merged

[arp_responder]: Add IPv6 support#2723
theasianpianist merged 4 commits intosonic-net:masterfrom
theasianpianist:ipv6-arp-responder

Conversation

@theasianpianist
Copy link
Copy Markdown
Contributor

  • Filter for both ARP and Neighbor Solicitation messages
  • Create Neighbor Advertisement messages as configured to reply to NS
    messages

Signed-off-by: Lawrence Lee [email protected]

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Approach

What is the motivation for this PR?

ARP responder only supports IPv4 ARP requests/replies

How did you do it?

Add Neighbor Solicitation messages to the BPF query used to filter incoming packets
Distinguish ARP vs NDP messages based on length
Construct appropriate NA messages to reply to NS messages

How did you verify/test it?

Send NA messages from a machine to arp_responder running on a PTF, and verify that NS messages were sent back.
Run a set of nightly test cases to verify that existing ARP functionality was not impacted.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

* Filter for both ARP and Neighbor Solicitation messages
* Create Neighbor Adviretisement messages as configured to reply to NS
messages

Signed-off-by: Lawrence Lee <[email protected]>
@theasianpianist theasianpianist requested a review from a team December 31, 2020 17:05
@theasianpianist
Copy link
Copy Markdown
Contributor Author

retest this please

1 similar comment
@theasianpianist
Copy link
Copy Markdown
Contributor Author

retest this please

@theasianpianist theasianpianist merged commit 4f5c805 into sonic-net:master Jan 5, 2021
@theasianpianist theasianpianist deleted the ipv6-arp-responder branch January 5, 2021 23:33
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…lly (sonic-net#14750)

src/sonic-swss

* 96407be - (HEAD -> 202205, origin/202205) sonic-swss: Sync and program remote lag member status. (sonic-net#2730) (11 hours ago) [Sambath Kumar Balasubramanian]
* 6051d33 - Fix race condition in sub-interface handling (sonic-net#2723) (11 hours ago) [Stephen Sun]
* 7b95ec5 - [muxorch] handling multiple mux nexthops for route (sonic-net#2656) (11 hours ago) [Nikola Dancejic]
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.

3 participants