OSPF prevent routes between areas. Is it possible on VyOS?

Is it possible to prevent specific routes between Areas on OSPF on VyOS like showed in this example?: vyos example will be helpful.


Maybe the “not-advertise” option will work for you:

set protocols ospf area <number> range <A.B.C.D/M> not-advertise

This command instead of summarizing intra area paths filter them - i.e. intra area paths from this range are not advertised into other areas. This command makes sense in ABR only

1 Like

This worked :slight_smile:
Thank you!

Do you know if there is a way to block all subnets and only open for the ones I want to allow between the areas?

If that is possible it will be easier when I want to expand my network.