Matthieu Herrb(matth...@openbsd.org) on 2019.09.04 18:07:35 +0200:
> Hi,
> 
> I've a pair of redundant routers, which need to run rad(8) on the
> internal interfaces.
> 
> But using carp, on the inactive router, rad complains every
> time it tries to send a RA:
> 
>  rad[65590]: sendmsg on carp2: Can't assign requested address
> 
> Which I can understand since it currently doesnt "own" the shared IPv6
> address of the carp interface.

correct. rad(8) needs to look at the interface state to not try sending on
a (carp) interface that is in backup state, or just not print this warning
at all. It is possible to monitor the link state since the frontend process
already has a route socket and could certainly track the link state, buts
its a little bit of work.
 
> Is there a way to configure rad to avoid these errors?

At the moment none other than patching out the log_warn().

> How do other people handle the situation?
> 
> Thanks in advance,
> -- 
> Matthieu Herrb
> 

Unrelated, but noticed by florian, this bit in the manpage is no longer
needed since he removed soii for link-local adresses in
sys/netinet6/in6_ifattach.c rev 1.114

ok?

diff b31eb29f59f3580445ea0341b271e321d53958a6 /opt/git/benoit/src
blob - d93e64d4648dfe25a5c76faac3994780d1ce02f8
file + usr.sbin/rad/rad.8
--- usr.sbin/rad/rad.8
+++ usr.sbin/rad/rad.8
@@ -146,15 +146,3 @@ The
 .Nm
 program was written by
 .An Florian Obser Aq Mt flor...@openbsd.org .
-.Sh CAVEATS
-When running
-.Nm
-on a
-.Xr carp 4
-interface, it is recommended to either disable SOIIs (persistent Semantically
-Opaque Interface Identifiers) on the interface with
-.Xr ifconfig 8 ,
-or ensure that all CARP peers have the same SOII key stored in
-.Pa /etc/soii.key .
-Otherwise the default IPv6 router's link-local address will change during CARP
-failover, which temporarily disrupts connectivity of IPv6 autoconf clients.

Reply via email to