Hey folks,
I have an ospf and bgp configuration issue, below I will describe a bit the topology to give more context:
my topology:
ISP <-> BB - |<-> DR01
|<-> DRnn
ISP is sending default route to BB then BB is sending is passing out default route + connected + direct to DR routers over BGP
DR routers are sending back to BB the local routes
BB is announcing to ISP a specific prefix-list
so far so good, all traffic is flowing without issue between ISP and BB and between BB and DRs, I can reach all public IPs originating from DR behind BB, but doesn't work from internet.
there is OSPF between BB and each DR using private /30 ips, each DR is announcing its private /32 Loopback and then there is a BGP session between BB loopback and each DR loopback.
BB is also route reflector to avoid full mesh
the issue is that I can not reach from the internet public IPs originating from DR which technically should not happen
acronyms: ISP - internet service provider
BB - backbone router
DR - distribution routers
BB output:
bb> show route 0.0.0.0
inet.0: 78 destinations, 82 routes (78 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
0.0.0.0/0 *[BGP/170] 13w5d 20:30:38, localpref 100
AS path: xxx I, validation-state: unverified
> to xx.xx.140.209 via xe-0/0/0.0
[BGP/170] 44w6d 09:53:12, localpref 90
AS path: yyy I, validation-state: unverified
> to yy.yy.178.97 via ge-1/2/5.0
bb> show ospf neighbor
Address Interface State ID Pri Dead
172.16.0.2 ge-1/3/0.0 Full 172.16.0.2 1 38
172.16.0.6 xe-0/0/1.10 Full 172.16.1.3 1 37
bb> show ospf route
Topology default Route Table:
Prefix Path Route NH Metric NextHop Nexthop
Type Type Type Interface Address/LSP
172.16.0.2 Intra Router IP 1 ge-1/3/0.0 172.16.0.2
172.16.1.3 Intra Router IP 1 xe-0/0/1.10 172.16.0.6
172.16.0.0/30 Intra Network IP 1 ge-1/3/0.0
172.16.0.4/30 Intra Network IP 1 xe-0/0/1.10
172.16.1.2/32 Intra Network IP 11 ge-1/3/0.0 172.16.0.2
172.16.1.3/32 Intra Network IP 11 xe-0/0/1.10 172.16.0.6
bb> show bgp summary
Groups: 4 Peers: 4 Down peers: 0
Table Tot Paths Act Paths Suppressed History Damp State Pending
inet.0
31 30 0 0 0 0
Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
xx.xx.140.209 xxx 279012 308649 0 3 13w5d 20:36:49 1/1/1/0 0/0/0/0
yy.yy.178.97 yyy 905572 1002155 0 2 44w6d 9:59:23 0/1/1/0 0/0/0/0
172.16.1.2 zzz 12448 13699 0 1 4d 7:39:13 27/27/27/0 0/0/0/0
172.16.1.3 zzz 285 315 0 6 2:21:39 2/2/2/0 0/0/0/0
the example prefix that is not reachable from the internet:
bb> show route aa.bb.25.0
inet.0: 78 destinations, 82 routes (78 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
aa.bb.25.0/24 *[BGP/170] 02:26:05, localpref 100, from 172.16.1.3
AS path: I, validation-state: unverified
> to 172.16.0.6 via xe-0/0/1.10
DR route output:
dr01>show ip route 0.0.0.0
Routing entry for 0.0.0.0/0
Known via "bgp", distance 200, metric 0, External Route Tag: xxx, best
Last update 02:38:22 ago
* xx.xx.140.209, via eth1
I don't understand why is not working so if anyone has any idea I will be forever grateful 🙂
Thanks
Dan