Issue #11 new

Problem with vpnv4 bgp updates

svlobanov
created an issue

I have quagga bgpd 0.99.18 with configuration:

{{{ ! hostname bgpd ! router bgp 1 bgp router-id 10.255.1.2 neighbor PE peer-group neighbor PE remote-as 1 neighbor PE update-source 10.255.1.2 neighbor 10.0.0.1 peer-group PE ! address-family vpnv4 unicast neighbor 10.0.0.1 activate neighbor 10.0.0.1 next-hop-self exit-address-family ! dump bgp updates /root/test.dmp line vty !

}}}

There are some prefixes in vpnv4: {{{ bgpd# sh ip bgp vpnv4 all BGP table version is 0, local router ID is 10.255.1.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:1 >i172.16.0.0/32 10.0.0.0 0 100 0 ? >i172.16.0.1/32 10.0.0.1 0 100 0 ? >i172.16.0.2/32 10.0.0.0 0 100 0 ? Route Distinguisher: 1:2 >i172.16.0.0/32 10.0.0.0 0 100 0 ? }}}

And some some prefixes in ipv4: {{{ bgpd# sh ip bgp
BGP table version is 0, local router ID is 10.255.1.2 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 >i10.0.0.0/32 10.255.0.1 11 100 0 ? >i10.0.0.1/32 10.0.0.1 0 100 0 ? *>i10.255.0.0/30 10.0.0.1 0 100 0 ?

Total number of prefixes 3 }}}

My problem is that only ipv4 announces are decoded by bgpdump 1.4.99.13. vpv4 announces are not decoded: {{{

bgpdump /root/test.dmp

... TIME: 06/02/11 08:50:02 TYPE: BGP4MP/MESSAGE/Update FROM: 10.0.0.1 AS1 TO: 10.255.1.2 AS1 ORIGIN: INCOMPLETE ASPATH: NEXT_HOP: 10.255.0.1 MULTI_EXIT_DISC: 11 LOCAL_PREF: 100 ANNOUNCE 10.0.0.0/32

TIME: 06/02/11 08:50:02 TYPE: BGP4MP/MESSAGE/Update FROM: 10.0.0.1 AS1 TO: 10.255.1.2 AS1 ORIGIN: INCOMPLETE ASPATH: MULTI_EXIT_DISC: 0 LOCAL_PREF: 100 ORIGINATOR_ID: 10.0.0.0 CLUSTER_LIST: 10.0.0.1 UNKNOWN_ATTR(192, 16, 8): 00 02 00 01 00 00 00 02 MP_REACH_NLRIANNOUNCE ... }}}