Le mercredi 06 juin 2018 à 17:11 +0200, Bastien Durel a écrit :
> Le mercredi 06 juin 2018 à 13:55 +0200, Bastien Durel a écrit :
> > Hello,
> > 
> > I run rtadvd on a router, which also run ospfd (on 6.3).
> > 
[...]
> > if an ospf neighbour start advertising a new network (in my case
> > 2001:41d0:fe4b:ecf1::/64), a route is inserted in the kernel:
> > 
> > fremen# route -n show -inet6|grep ecf1
> > 2001:41d0:fe4b:ecf1::/64           fe80::225:22ff:fe1e:bb7%em1    U
> > G 
> >      0      594     -    32 em1
> > but rtadvd starts advertising it on the link with the said
> > neighbour.
> > 
[...]

I looked at the code, and see rtadvd monitors the routing table and add
new prefix when new route appears.
 
shouldn't it check the rtm_priority to be RTP_LOCAL or RTP_CONNECTED ??
it make no sense to start advertising prefix on an interface if the
prefix is over a gateway.

I can always put a -s in rtadvd_flags for my use case, I'd prefer a fix
;)

Thanks,

-- 
Bastien Durel

Reply via email to