How to filter OSPF advertised routes
- February 24, 2017
- 10 replies
- 87133 views
Hi Guys,
I'm trying to switch my national ipsec vpn site-to-site network from static routing to ospf. Each branch's got around 6 subnets from which only 4 should be routed via the ipsec tunnel. Using static routing it's easy since I add only what exactly I need.
My VPN network it's using a star topology and it might change to an extended star.
I've started with 2 branches, the HQ and a branch.
Everything works fine except that I'm not able to filter what routes are been advertised via OSPF since I'm using "config redistribute "connected""
Attached is a lab I did to test it, but still no luck. The routers in the diagram I've attached are FG-70D's.
I've tried:
- prefix-list with in and out on both sides - no luck
- access list with in and out on both sides - no luck
I'm missing something here, right ?!?!
Hope the diagram will give you a clear idea of what I wan to achieve.
Cheers,
Tony
