[FROG] VRRP Object Tracking / Routes dependent on VRRP state

Quentin Young qlyoung at qlyoung.net
Thu Jul 4 13:13:13 UTC 2024


That's great! If you  share that solution, perhaps we can document it as a workaround.

> I would _far_ rather FRR had <capability> like mainstream appliance routers do
 
Many such cases! 😊

Quentin

> On Jul 4, 2024, at 2:49 AM, Alasdair Muckart <alasdairmuckart at catalyst.net.nz> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Thanks Quentin,
> 
> As of about five minutes ago I've solved this with a bash script called by
> networkd-dispatcher that adds and removes the routes associated with a given
> next-hop.
> 
> Getting it to behave safely was a bit of work but it does the job I need it to
> do and it's more than fast enough.

> I would _far_ rather FRR had proper object tracking capability like mainstream
> appliance routers do so it could all be captured in the config file, but this
> works.
> 
> "Quentin Young" <qlyoung at qlyoung.net> writes:
> 
>> 1.  ( ) text/plain          (*) text/html           
>> 
>> Hi,
>> 
>> Unfortunately, there is no way I know of to do this at present. FRR supports calling arbitrary Lua scripts at predetermined points in protocol logic, and
>> introducing such a point into vrrpd at an appropriate spot would allow a user script to implement object tracking. Indeed that was one of the
>> motivating use cases for the Lua feature. However, the right combination of interested parties and programmers to make it happen ultimately never
>> occurred.
>> 
>> In short, the necessary components are in place, but the wiring and 20% needs to be done. It would be a fantastic summer project for someone
>> interested in contributing to vrrpd.
>> 
>> Quentin
>> 
>> On Fri, Jun 28, 2024, at 5:02 AM, Alasdair Muckart via frog wrote:
>> 
>> _______________________________________________
>> frog mailing list
>> frog at lists.frrouting.org
>> https://lists.frrouting.org/listinfo/frog
>> 
>> Attachments:
>> 
>> * Email.eml
>> 
>> [4. text/plain]
>> _______________________________________________
>> frog mailing list
>> frog at lists.frrouting.org
>> https://lists.frrouting.org/listinfo/frog
> 
> 
> - --
> Alasdair Muckart (he/him)
> Network Infrastructure Architect
> Catalyst.Net Limited - Expert Open Source Solutions
> 
> Catalyst.Net Ltd - a Catalyst IT group company
> DDI: +64 4 897 7794 | Mobile: +64 22 638 5141 | Tel: +64 4 499 2267 | www.catalyst.net.nz
> 
> CONFIDENTIALITY NOTICE: This email is intended for the named
> recipients only. It may contain privileged, confidential or copyright
> information. If you are not the named recipient, any use, reliance
> upon, disclosure or copying of this email or its attachments is
> unauthorised. If you have received this email in error, please reply
> via email or call +64 4 499 2267.
> -----BEGIN PGP SIGNATURE-----
> 
> iQJUBAEBCgA+FiEEu4g3jwJ68cPCdgH9iBAgH4ERwwMFAmaGRdsgHGFsYXNkYWly
> bXVja2FydEBjYXRhbHlzdC5uZXQubnoACgkQiBAgH4ERwwMrORAAgareqkmDinps
> 0/4Bdubqev7oWTThk6ZYw4ez2VDWuSWAb/68gpoCraUfW2VkclXmyaegaawK0Chq
> Qdx7Qrfkkuqk0Pc5XYHg6gV1aC+9baTDySwQC1A9AttMrd8YCseWym5rDrKvmvLV
> oM4khlXkFRC08s67HNoQtkCX1KkG30Ynldx2f4+0aVE+0JqNNfQzRvmjieXCoJrb
> IEubKGn77bCdyyexusNShwhifxI11xQDPbreXit6sE4/hUK6YY191vf5BSMsQ2pu
> 9vTBhTJ0VZFVD9CubS2yl/y2k+2RGZQjDHaw4RAnC20Xc1OF79pz9FBwIvpDihXZ
> Ku3RKg8dUvKKFuMXZt3r9oWUiblSsk/XY9wWvatMKS0FkmCxinSKvy0ysmwok5j4
> /VBXmXQ8L3WqqbaUQI1huzDNQ31lvMS7oYf7Ti5UzVZm3GZWnTtVTZ1+JIkdAG7r
> VPn/TRfrk6elnOpFz7AY7+bdosKNTjcXlt3OLMGk3mkU5HC6liGeTxytbkvUHQdH
> btc3LDkBTMr2Isd2RTSbdpOcchIXZz5HCr0uCHJxi4CQ8YVIYrWF9h+9WjYiHMhO
> tKVrN2C6mq8MiYhBqJ7XySXT7Kn13E7wOXYiPRfNjv4AN5BMp8dxm7M9K7sn+SYN
> Rz0aW0UorB8KNlZUSbrzhfo/V5zG9A4=
> =Ieuq
> -----END PGP SIGNATURE-----




More information about the frog mailing list