sonic-net / SONiC

Landing page for Software for Open Networking in the Cloud (SONiC) - https://sonic-net.github.io/SONiC/
2.29k stars 1.14k forks source link

Quagga failed to sync IPv6 routes to kernel #53

Open stcheng opened 7 years ago

stcheng commented 7 years ago

BGP router identifier 10.1.0.32, local AS number 65100 RIB entries 13010, using 1423 KiB of memory Peers 48, using 214 KiB of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd fc00::2 4 65200 3270 3309 0 0 0 01:04:01 6402 fc00::a 4 65200 3270 3309 0 0 0 01:04:01 6402 fc00::12 4 65200 3270 3309 0 0 0 01:04:02 6402 fc00::1a 4 65200 3270 4593 0 0 0 01:04:04 6402 fc00::22 4 65200 3270 108 0 0 0 01:04:05 6402 fc00::2a 4 65200 3270 4215 0 0 0 01:04:04 6402 fc00::32 4 65200 3270 3309 0 0 0 01:04:01 6402 fc00::3a 4 65200 3270 3309 0 0 0 01:04:01 6402 fc00::42 4 64001 70 3308 0 0 0 01:04:01 6 fc00::46 4 64002 69 3307 0 0 0 01:04:00 6 fc00::4a 4 64003 70 3308 0 0 0 01:04:02 6 fc00::4e 4 64004 70 3308 0 0 0 01:04:02 6 fc00::52 4 64005 70 3308 0 0 0 01:04:02 6 fc00::56 4 64006 70 3308 0 0 0 01:04:01 6 fc00::5a 4 64007 70 4395 0 0 0 01:04:05 6 fc00::5e 4 64008 70 3308 0 0 0 01:04:01 6 fc00::62 4 64009 70 3308 0 0 0 01:04:01 6 fc00::66 4 64010 70 3308 0 0 0 01:04:01 6 fc00::6a 4 64011 70 3308 0 0 0 01:04:01 6 fc00::6e 4 64012 70 3308 0 0 0 01:04:01 6 fc00::72 4 64013 70 3308 0 0 0 01:04:01 6 fc00::76 4 64014 70 3447 0 0 0 01:04:03 6 fc00::7a 4 64015 70 3308 0 0 0 01:04:01 6 fc00::7e 4 64016 70 4375 0 0 0 01:04:05 6

But only part of the routes are synced to the kernel: root@str-s6000-acs-11:/home/acsadmin# ip -6 route show | grep PortChannel0 | wc -l 5565 root@str-s6000-acs-11:/home/acsadmin# ip -6 route show | grep PortChannel8 | wc -l 5565 root@str-s6000-acs-11:/home/acsadmin# ip -6 route show | grep PortChannel16 | wc -l 3 root@str-s6000-acs-11:/home/acsadmin# ip -6 route show | grep PortChannel24 | wc -l 3372 root@str-s6000-acs-11:/home/acsadmin# ip -6 route show | grep PortChannel32 | wc -l 5564 root@str-s6000-acs-11:/home/acsadmin# ip -6 route show | grep PortChannel40 | wc -l 5565 root@str-s6000-acs-11:/home/acsadmin# ip -6 route show | grep PortChannel48 | wc -l 3

svc-acs commented 7 years ago

what's about database?

stcheng commented 7 years ago

127.0.0.1:6379> hgetall "ROUTE_TABLE:20c0:a81a:0:61::/64" 1) "nexthop" 2) "fc00::2,fc00::32" 3) "ifname" 4) "PortChannel0,PortChannel48"

partial information.

the db's information comes from the kernel