Re: [Keepalived-devel] Backup learning advertising interval?
Status: Beta
Brought to you by:
acassen
|
From: Quentin A. <qu...@ar...> - 2018-07-17 10:14:44
|
On Fri, 2018-07-13 at 14:56 +0100, Paul Gildea wrote: > I see on Cisco routers they have the ability to set backups to learn > the advertising interval of the master. They use their own > implementation of keepalived. Is this something also available via > keepalived or not? I don't see mention of it, so I'm guessing it's > not there. > vrrp group timers learn > > > Example:Router(config-if)# vrrp 10 timers learn Configures the > router, when it is acting as virtual router backup for a VRRP group, > to learn the advertisement interval used by the virtual router > master. > Regards, > Paul, So far as I can see from the Cisco documentation, vrrp group timers learn is something that Cisco have added to their VRRPv2 implementation. In the VRRPv2 RFC (RFC3768) it states: The Advertisement interval indicates the time interval (in seconds) between ADVERTISEMENTS. The default is 1 second. This field is used for troubleshooting misconfigured routers. In other words, the advertised advertisement interval is not used within the protocol. In the VRRPv3 RFC (RFC5798) it states: Advertisement interval contained in ADVERTISEMENTS received from the Master (centiseconds). This value is saved by virtual routers in the Backup state and used to compute Skew_Time and Master_Down_Interval. The initial value is the same as Advertisement_Interval. In other words, for VRRPv3 the advertised advert interval is used by backup routers to determine master down time etc. I assume that what Cisco have done is backport the VRRPv3 use of advert interval to VRRPv2 with vrrp group timers learn. Keepalived implements both VRRPv2 and VRRPv3, so if you want the backup routers to learn the advert interval, then using VRRPv3 will provide that functionality. At the moment I don't see any need to implement learning of timers with VRRPv2 when it is available when using VRRPv3. I wonder if Cisco implemented vrrp timers learn for VRRPv2 before they had implemented VRRPv3. If someone can demonstrate sufficient need for the equivalent of vrrp timers learn being added to the VRRPv2 implementation, then it should be possible to do. Quentin Armitage |