Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 17957

Forwarding Protocols • RouterOs7 Dynamic Routes

$
0
0
Hi All

We just recently migrated to v7, because of the increased stability I have seen in default route propagation.

I am struggling with a problem

I have a few routers acting as PPPOE servers.

On these I have a few customers with static public ip addresses which are not defined in the pppoe server pool and are being pushed from Radius

Lets say for this example my customer's ip address is 8.8.8.8

/routing ospf instance
add disabled=no in-filter-chain=ospf-in name=default-v2 out-filter-chain=\
ospf-out redistribute=connected,static,ospf,vpn,dhcp router-id=X.X.X.X

I have defined a route filter to allow it, as a /24 and as /32
/routing filter rule
add chain=ospf_out disabled=no rule="if (dst in 8.8.8.8/32) {accept}"
add chain=ospf_in disabled=no rule="if (dst in 8.8.8.8/32) {accept}"
add chain=ospf_out disabled=no rule="if (dst in 8.8.8.0/24) {accept}"
add chain=ospf_in disabled=no rule="if (dst in 8.8.8.0/24) {accept}"

/ip/route/pr where dst-address=8.8.8.8
Flags: D - DYNAMIC; A - ACTIVE; c, y - COPY
Columns: DST-ADDRESS, GATEWAY, DISTANCE
DST-ADDRESS GATEWAY DISTANCE
DAc 8.8.8.8/32 <pppoe-customer@isp.com> 0

This /32 is not being added to the LSA and not being advertised

I have also added it as an interface template in different ways, I am a bit stuck as this method is used across all my NASs.

Its as though routes with flag Dynamic are not redistributed

I should add that none of my pppoe routes are being added to the table, but I am able to get around the pool not being advertised by adding an ip in the subnet to an interface 100.64.1.1/22 for example. All routes from actual interfaces are working

Statistics: Posted by jacquestrdx123 — Wed Dec 13, 2023 9:04 am



Viewing all articles
Browse latest Browse all 17957

Trending Articles