On Tue, Jan 05, 2010 at 04:39:28PM +0100, Laurent CARON wrote:
> Hi,
> 
> Background:
> 
> Two OpenBSD routers hooked each to two ISPs.
> 
> Announced networks:
> 2001:7a8:820::/44
> 213.215.28.0/23
> 
> Relevant config snippets on bgpgw-001:
> http://pastebin.com/m77017bcd
> 
> Relevant config snippets on bgpgw-002:
> http://pastebin.com/d74d05557

This link is dead.

> Strangeness:
> 
> On peer bgpgw-001: v4 and v6 networks are announced. On bgpgw-002 v6
> networks are received from bgpgw-001 but not announced.
> 
> bgpgw-001:/var/log# bgpctl sho rib neigh nerim-ipv6-bgp-peer out
> flags: * = Valid, > = Selected, I = via IBGP, A = Announced
> origin: i = IGP, e = EGP, ? = Incomplete
> 
> flags destination         gateway          lpref   med aspath origin
> AI*>  2001:7a8:820::/44   ::                 100     0 i
> bgpgw-001:/var/log# bgpctl sho rib neigh nerim-ipv4-bgp-peer out
> flags: * = Valid, > = Selected, I = via IBGP, A = Announced
> origin: i = IGP, e = EGP, ? = Incomplete
> 
> flags destination         gateway          lpref   med aspath origin
> AI*>  213.215.28.0/23     0.0.0.0            100     0 i
> 
> 
> bgpgw-002:~# bgpctl sho rib neigh nerim-ipv6-bgp-peer out
> flags: * = Valid, > = Selected, I = via IBGP, A = Announced
> origin: i = IGP, e = EGP, ? = Incomplete
> 
> flags destination         gateway          lpref   med aspath origin
> I*>   2001:7a8:820::/44   2001:7a8:820::1    100     0 i

The missing "A" is correct in this case. Because 'A' is only set when the
network is announced on this router (config has a network XY statement).
Since the prefix is in the Adj-Rib-Out it will be sent to the other side.

> bgpgw-002:~# bgpctl sho rib neigh nerim-ipv4-bgp-peer out
> flags: * = Valid, > = Selected, I = via IBGP, A = Announced
> origin: i = IGP, e = EGP, ? = Incomplete
> 
> flags destination         gateway          lpref   med aspath origin
> AI*>  213.215.28.0/23     0.0.0.0            100     0 i
> 

IPv6 announcement works for me on my test setup, even accross iBGP
sessions.

-- 
:wq Claudio

Reply via email to