On Fri, Feb 09, 2007 at 09:45:35AM -0000, [EMAIL PROTECTED] wrote:
> Anybody,
> 
> 
> If I have two internal routers, say RouterB(ext: 172.16.111.253/32 and int: 
> 10.77.222.254/32) and
> RouterC(ext: 10.77.222.253/32 and int: 10.222.77.254/32), and these two 
> routers had already
> established a BGP session. Now, let us say I will have Router B in BGP with 
> RouterA(ext: Internet
> and 172.16.111.254/32). In all of the routers involved, I enable 
> net.ip.forwarding=1 in
> /etc/sysctl.conf. Also in routerA, I enabled pf with NAT support. From Router 
> A, I could ping the
> Internet. But from routerB having a BGP session with RouterA, I cannot ping 
> the internet. And so
> does in RouterC.
> 
> Any tips to sort this out?
> 

Have a look at bgpctl show rib. I guess all your routes on B and C are
invalid because your using iBGP (same AS on all routers) and in that case
the nexthops need to be redistributed via an IGP (or covered by static
routes) or you could use "set nexthop self" to force your routers to
announce their own address as nexthop.

-- 
:wq Claudio

Reply via email to