Trouble with IPv6 setup on Quagga

James Jun james at
Thu Aug 9 19:46:22 UTC 2012

Most likely the trouble you're having is bgpd being unable to reference
zebra RIB via socket.

Make sure zebra is running and that your next-hop is visible as directly
connected when doing 'sh ipv6 route' under zebra vty.


-----Original Message-----
From: Anurag Bhatia [mailto:me at] 
Sent: Tuesday, August 07, 2012 1:08 AM
To: NANOG Mailing List
Subject: Trouble with IPv6 setup on Quagga

Hello everyone

I am having trouble with Quagga in setting up IPv6 BGP. So far it was
failing with external providers. Just now I gave it a try to setup BGP
session (IPv6 only) within our ASN between two routers.

>From our other end router I see there is no acconcement, while I see 
being announced via Quagga. Also strange enough is that the number of blocks
I account - they all come as "withdrawl routes" on other router as soon as
Quagga is turned on.

E.g this is what I see on Quagga:

node4# show bgp ipv6 summary
BGP router identifier, local AS number 54456 RIB entries
18741, using 1757 KiB of memory Peers 1, using 4560 bytes of memory

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down
                4 54456    6865       5        0    0    0 00:00:05     9798

Total number of neighbors 1

So BGP session is up. Next if I check advertised routes, it goes like:

node4# show bgp ipv6 neighbors  2607:1b00:10:a::1 advertised-routes BGP
table version is 0, local router ID is Status codes: s
suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale, R Removed Origin codes: i - IGP, e -
EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 2607:1b00:d1::/48
                    ::                       0    100  32768 i
*> 2607:1b00:d2::/48
                    ::                       0    100  32768 i

Total number of prefixes 2

I don't see these routes in other router at all.

Here's what my Quagga bgpd.conf looks like:

 hostname node4
 timers bgp 4 16

router bgp 54456
 bgp router-id
 redistribute connected metric 1
 redistribute static metric 1
 neighbor 2607:1b00:10:a::1 remote-as 54456  neighbor 2607:1b00:10:a::1

 address-family ipv6
 network 2607:1b00:d1::/48
 network 2607:1b00:d2::/48
 neighbor 2607:1b00:10:a::1 activate

Was wondering if someone can point in me right direction since both of these
prefixes are (annnounced and ?) withdrawn as soon as I restart Quagga.



Anurag Bhatia

Linkedin <> |
Google+ <>

More information about the NANOG mailing list