Enable ndisc_notify sysctl setting to notify of MAC changes

On RHEL/CentOS systems, ndisc_notify is disabled by default. When
OVS restarts or an internal port flaps, the MAC address may change.
Without ndisc_notify, neighbor hosts on the same network will not
know about the MAC change, and will lose connectivity until the MAC
timer expires.

This change sets net.ipv6.conf.all.ndisc_notify to 1, which will
cause a gratuitous neighbor discovery packet which will update MAC
address tables on neighboring hosts.

Change-Id: I89062275541d7c6bb6fb725f5283ba59feb38a94
Closes-bug: 1827927
(cherry picked from commit 4b113a7a12)
This commit is contained in:
Dan Sneddon 2019-05-06 11:40:41 -07:00
parent c0e61797bd
commit 3ff4bdcd35
1 changed files with 2 additions and 0 deletions

View File

@ -168,6 +168,8 @@ outputs:
value: 0 value: 0
net.ipv6.conf.all.accept_redirects: net.ipv6.conf.all.accept_redirects:
value: 0 value: 0
net.ipv6.conf.all.ndisc_notify:
value: 1
net.core.netdev_max_backlog: net.core.netdev_max_backlog:
value: 10000 value: 10000
kernel.pid_max: kernel.pid_max: