On 18/08/15(Tue) 14:00, Stuart Henderson wrote:
> On 2015/08/18 14:27, Martin Pieuchot wrote:
> > On 18/08/15(Tue) 13:05, Stuart Henderson wrote:
> > > I'm trying to add v6 to my second ISP connection on pppoe1, unlike my
> > > first ISP, this one requires autoconf and dhcpv6-pd to pick up addresses
> > > and have them routed. (They are referring to TR-187,
> > > https://www.broadband-forum.org/technical/download/TR-187.pdf -
> > > the "residential gateway" requirements are in section 6.1)
> > > 
> > > I haven't got as far as looking at dhcpv6-pd because when I enable
> > > autoconf, as soon as it picks up the address I lose connected routes
> > > to my local /64 subnets:
> > 
> > Which prefixes (ndp -p) and default routers (ndp -r) do you have before
> > and after the interface picks up the address?
> 
> Before: no default routers showing with ndp -r.
> 
> $ ndp -p | paste - - - | sed 's/vltime=infinity, pltime=infinity, 
> expire=Never, //'
> fe80::%pppoe1/64 if=pppoe1            flags=LAO ref=0   No advertising router
> fe80::%pppoe0/64 if=pppoe0            flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc01::/64 if=carp2       flags=L ref=1     No advertising 
> router
> fe80::%carp2/64 if=carp2              flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc05::/64 if=vlan5       flags=LO ref=1    No advertising 
> router
> fe80::%vlan5/64 if=vlan5              flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc07::/64 if=vlan3666    flags=LO ref=1    No advertising 
> router
> fe80::%vlan3666/64 if=vlan3666        flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc03::/64 if=vlan3       flags=LO ref=1    No advertising 
> router
> fe80::%vlan3/64 if=vlan3              flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc01::/64 if=vlan2       flags=LO ref=1    No advertising 
> router
> fe80::%vlan2/64 if=vlan2              flags=LAO ref=0   No advertising router
> fe80::%lo0/64 if=lo0                  flags=LAO ref=0   No advertising router
> 
> ... After:
> 
> $ ndp -r
> fe80::230:88ff:fe16:5eff%pppoe1 if=pppoe1, flags=O, pref=medium, expire=19m55s
> 
> 2a02:8011:d00e:3::/64 if=pppoe1 flags=LAD vltime=18000, pltime=1800, 
> expire=4h59m19s, ref=2       advertised by fe80::230:88ff:fe16:5eff%pppoe1 
> (no neighbor state)
> fe80::%pppoe1/64 if=pppoe1            flags=LAO ref=0   No advertising router
> fe80::%pppoe0/64 if=pppoe0            flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc01::/64 if=carp2       flags=LD ref=1    No advertising 
> router
> fe80::%carp2/64 if=carp2              flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc05::/64 if=vlan5       flags=LD ref=1    No advertising 
> router
> fe80::%vlan5/64 if=vlan5              flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc07::/64 if=vlan3666    flags=LD ref=1    No advertising 
> router
> fe80::%vlan3666/64 if=vlan3666        flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc03::/64 if=vlan3       flags=LD ref=1    No advertising 
> router
> fe80::%vlan3/64 if=vlan3              flags=LAO ref=0   No advertising router
> 2001:4b10:1002:cc01::/64 if=vlan2       flags=LD ref=1    No advertising 
> router
> fe80::%vlan2/64 if=vlan2              flags=LAO ref=0   No advertising router
> fe80::%lo0/64 if=lo0                  flags=LAO ref=0   No advertising router

See how all your prefix suddenly became detached "D"?  That's a
limitation of pfxlist_onlink_check() which does not make a difference
between prefixes added to the global prefix list via an advertisement
or via manual configuration.

I'll see if it's possible to split the prefix lists in such way that
the RS/RA code only mess with its own states.

Reply via email to