1. VPP send wrong IPv6 router advertisement with bad preferred lifetime, and 
valid lifetime. In RA, these two lifetime in every packet router sent should be 
the same as settings, but the lifetime in RA sent by vpp keeps declining as 
time pass. It is as if there is a counter like client count down to zero from 
given lifetime.
this occurs when
ip6 nd <INTERFACE> ra-managed-config-flag
ip6 nd <INTERFACE> ra-other-config-flag
ip6 nd <INTERFACE> prefix <SOME PREFIX>/64 default

a successful workaround by set lifetime to infinite and then set to desired 
value.
ip6 nd <INTERFACE> ra-managed-config-flag
ip6 nd <INTERFACE> ra-other-config-flag
ip6 nd <INTERFACE> prefix <SOME PREFIX>/64 default
ip6 nd <INTERFACE> prefix <SOME PREFIX>/64 infinite
ip6 nd <INTERFACE> prefix <SOME PREFIX>/64 2592000 604800

2. VPP send out neighbor advertisement is bad when receive solicitation, ie 
they don't have router bit set, and there is no command to change this 
behavior. This would cause windows client loss ipv6 gateway when received 
neighbor advertisement.

Seems problems with
src/vnet/ip6-nd/ip6_nd.c ( 
https://github.com/FDio/vpp/blob/cbe25aab3be72154f2c706c39eeba6a77f34450f/src/vnet/ip6-nd/ip6_nd.c
 )
src/vnet/l2/l2_arp_term.c ( 
https://github.com/FDio/vpp/blob/cbe25aab3be72154f2c706c39eeba6a77f34450f/src/vnet/l2/l2_arp_term.c
 )
src/vnet/lisp-cp/control.c ( 
https://github.com/FDio/vpp/blob/3ec09e9243dceb78e7548725281b0da8eddf72b1/src/vnet/lisp-cp/control.c
 )
I think there might should be
(ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_ROUTER | 
ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_SOLICITED |
ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_OVERRIDE);
instead of
(ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_SOLICITED |
ICMP6_NEIGHBOR_ADVERTISEMENT_FLAG_OVERRIDE);
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15984): https://lists.fd.io/g/vpp-dev/message/15984
Mute This Topic: https://lists.fd.io/mt/72765661/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #vnet: https://lists.fd.io/mk?hashtag=vnet&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to