Hello,

I have three routers connected in a  chain.
A<->B<->C

All routers have a host address as loopback 100 (192.168.5.x/32, A=1, B=2,
C=3).
The segments between the routers are 192.168.1.0/30 (AB) and 192.168.2.0/30
(BC).

A to B runs OSPF
B to C runs IBGP

I redistribute the BGP routes into OSPF using the label I append on router
B.
router B : match from <peer> set rtlabel zyx
And this works just fine. I see the tag being applied (but only on the
advertised lo100 host address).
Reverse redistribution is based on route priority (32) for OSPF into bgp.
All good.

The link network however between B and C is not being advertised, as it is
locally connected for both router B and C. They are added in the network
statement on both sides.
So, on B, I can see the route label on the C loopback interface marked zyx.
192.168.2.0/30 however does not have any route label, and hence will not be
redistributed into OSPF.

So, I can ping router C from router B.
When I ping loopback on router C from router A using the loopback interface
as source, all is good.
When I ping with no source interface, the source address is the link
network not being advertised, and hence the far router does not know where
to send the traffic.

I will continue to play around with this, just wondering if anybody has a
"good practice" way of dynamically advertising the network.

Cheers,
Simon.

Reply via email to