forked from antrea-io/antrea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ARP/NDP responders to external IP assigner (antrea-io#3318)
Apart from assigning IPs to the dummy interface, this commit will also create raw sockets and listen for ARP requests packets (IPv4) and Neighbor Solicitation packets (IPv6). This fixes the issue that Egress cannot work in IPv6 mode as the system would not reply to Neighbor Advertisement from external interfaces if the IP is assigned to the dummy interface. The IP assigner will skip managing the dummy device if dummyDeviceName is empty. This avoids the kernel creating a local route, which has a higher priority than the routes installed by antrea-proxy in proxyAll mode. Signed-off-by: Tianyi Huang <hty690@126.com>
- Loading branch information
Showing
18 changed files
with
1,540 additions
and
244 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.