Anyone,
Router A --------- $ sudo bgpctl show rib flags: * = Valid, > = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin AI*> 10.0.0.1/32 0.0.0.0 100 0 i I*> 10.0.0.3/32 10.77.222.253 100 0 i AI*> 10.77.222.0/24 0.0.0.0 100 0 i I*> 10.222.111.0/24 10.77.222.253 100 0 i AI*> 10.254.254.0/24 0.0.0.0 100 0 i AI*> 172.16.111.0/24 0.0.0.0 100 0 i *> 192.168.111.0/24 172.16.111.254 100 0 65535 i $ Router B --------- $ sudo bgpctl show rib flags: * = Valid, > = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin I*> 10.0.0.1/32 10.77.222.254 100 0 i AI*> 10.0.0.3/32 0.0.0.0 100 0 i I*> 10.77.222.0/24 10.77.222.254 100 0 i AI* 10.77.222.0/24 0.0.0.0 100 0 i AI*> 10.222.111.0/24 0.0.0.0 100 0 i I*> 10.254.254.0/24 10.77.222.254 100 0 i AI* 10.254.254.0/24 0.0.0.0 100 0 i I*> 172.16.111.0/24 10.77.222.254 100 0 i I*> 192.168.111.0/24 10.77.222.254 100 0 65535 i $ In both routers A and B, I used OSPF as my IGP. I even put multihop as well as set nexthop self in the /etc/bgpd.conf, still I cannot ping the internet. The loopback addressess for both Router A and Router A can ping each other though. Tips? Regards, Demuel > 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 > > > 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?