Community discussions

MikroTik App
 
Fl3tch
just joined
Topic Author
Posts: 22
Joined: Mon May 24, 2010 11:59 am

ROS7 OSPF Static route to PPPOE interface not Redistributing

Sat Feb 11, 2023 12:41 am

Hello everyone.

We are running ROS7.6 on a CCR2116 (first ROS7 router on our network all other routers are still 6.x) although we have our instance as bellow.
/routing ospf instance
add disabled=no in-filter-chain=ospfv2-in name=v2inst out-filter-chain=ospfv2-out redistribute=connected,static router-id=OSPFv2_ID

and filters as follow

/routing filter rule
add chain=ospfv2-in disabled=no rule=accept
add chain=ospfv2-out disabled=no rule=\
    "if (dst in 192.168.88.0/24 && dst-len in 24-32) { reject; }"
add chain=ospfv2-out disabled=no rule=\
    "if (dst in 192.168.99.0/24 && dst-len in 24-32) { reject; }"
add chain=ospfv2-out disabled=no rule=accept

for some reason when our radius server adds a static route on the tower to a clients IP (assigning a block of IP addresses to the client) and the clients authenticates to the tower with PPPOE.
That route is not being redistributed to any adjacent tower. Now we have test this by adding a static route to a IP not assigned by PPPOE and that route is redistributed instantly but when you create the same route and set gateway to the clients IP (assigned by PPPOE) its not redistributed.

Are we missing something, anyone experienced the same issues before or have any advice for us?

Thanks
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7044
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: ROS7 OSPF Static route to PPPOE interface not Redistributing

Mon Feb 13, 2023 9:47 am

ROSv7 static route is only when you manually add it by hand. Routes added by VPN protocols are vpn routes.
 
Fl3tch
just joined
Topic Author
Posts: 22
Joined: Mon May 24, 2010 11:59 am

Re: ROS7 OSPF Static route to PPPOE interface not Redistributing

Mon Feb 13, 2023 9:08 pm

ROSv7 static route is only when you manually add it by hand. Routes added by VPN protocols are vpn routes.
Hi mrz

The server log in with ssh and adds a static route in IP/Route so technically it is a static route entered by hand.

If you would like me to add some more info ill gladly add it as soos as i get to a desktop.

Regards
 
Fl3tch
just joined
Topic Author
Posts: 22
Joined: Mon May 24, 2010 11:59 am

Re: ROS7 OSPF Static route to PPPOE interface not Redistributing

Mon Feb 13, 2023 9:13 pm

Quick snip i had on the phone.
[*******@ NAS] > ip route/print where dst-address=1xx.2xx.xx.2xx/30
Flags: A - ACTIVE; s, y - COPY
Columns: DST-ADDRESS, GATEWAY, DISTANCE
#    DST-ADDRESS        GATEWAY         DISTANCE
;;; SpLR_50-1051-0
4 As 1xx.2xx.xx.2xx/30  1xx.1xx.xx.1xx         1
 
wacky786
just joined
Posts: 5
Joined: Thu May 14, 2015 1:53 pm

Re: ROS7 OSPF Static route to PPPOE interface not Redistributing

Thu Mar 14, 2024 4:09 pm

Hi
Has there been any solution to this? I'm having the same issue.

Who is online

Users browsing this forum: No registered users and 18 guests