-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove ARP entries left from previous Cilium run
In certain configurations, when node neighbor discovery is enabled [1], the neighbor table is populated with PERMANENT entries. If the agent is then configured to not use neighbor discovery, those entries are left behind, without being garbage collected. This can cause connectivity issues across nodes, where it's more likely to happen in the same L2 network, if a new node reuses an IP address from a previous node and its MAC address changes. In a L3 network it is unlikely to happen since the ARP entry will be associated with a L3 router and it is less likely to change its MAC address. [1] ``` n.enableNeighDiscovery = n.nodeConfig.EnableIPv4 && (option.Config.EnableNodePort || (n.nodeConfig.EnableIPSec && option.Config.Tunnel == option.TunnelDisabled)) ``` Signed-off-by: André Martins <andre@cilium.io>
- Loading branch information
1 parent
516a20b
commit e80cc75
Showing
9 changed files
with
216 additions
and
5 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
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