[acassen/keepalived] edf0aa: vrrp: set router flag in neighbour advertisements

Alexandre Cassen <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <565857738f160_5cea3f9c20f752a064269@hookshot-fe4-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/acassen/keepalived
  Commit: edf0aa825a5e419acfa6c22532748be0a38e2400
      https://github.com/acassen/keepalived/commit/edf0aa825a5e419acfa6c22532748be0a38e2400
  Author: Tore Anderson <[email protected]>
  Date:   2015-11-27 (Fri, 27 Nov 2015)

  Changed paths:
    M keepalived/vrrp/vrrp_ndisc.c

  Log Message:
  -----------
  vrrp: set router flag in neighbour advertisements

This is necessary in order to prevent the IPv6 stack on a node that
receives the unsolicited and overriding neighbour advertisement for the
VIP (that gets sent automatically when Keepalived transitions to MASTER
state) from immediately removing the VIP from its list of default
routers. See https://bugs.launchpad.net/bugs/1520517 for an example of
the problems this can cause.

Note that the approach in this patch simply unconditionally sets the
router flag. That is better than having it unconditionally unset (VRRP
stands for Virtual *Router* Redundancy Protocol, after all), but it
might not be appropriate whenever VRRP is used to fail over addresses
that are used for other tasks than being routers. Thus it might be
better to read in the interface's "forwarding" sysctl and set the router
flag accordingly, or making the value of the router flag configurable in
keepalived.conf.


  Commit: be69d87151325b7d906ade988b519ca35fbb25cf
      https://github.com/acassen/keepalived/commit/be69d87151325b7d906ade988b519ca35fbb25cf
  Author: Alexandre Cassen <[email protected]>
  Date:   2015-11-27 (Fri, 27 Nov 2015)

  Changed paths:
    M keepalived/vrrp/vrrp_ndisc.c

  Log Message:
  -----------
  Merge pull request #200 from toreanderson/vrrp-ndisc-set-rtr-flag

vrrp: set router flag in neighbour advertisements


Compare: https://github.com/acassen/keepalived/compare/951e72059b77...be69d8715132

------------------------------------------------------------------------------

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.