OSPF and PPPOE nightmare!

I have 10 towers running OSPF on RB532! I also run PPPOE on all the towers! The address range 10.22.x.y is running as backbone and all the 192.168.x.y is the pool addresses for PPPOE clients. Under OSPF is only the 10.22.x.y specified as backbone (example=10.22.1.y/24 for tower 1, 10.22.1.y/24 and 10.22.2.y/24 for tower 2 and 10.22.2.y/24 and 10.22.3.y for tower 3 etc.)

The PPPOE address range does not form part of Backbone! Why under routes do you see all the PPPOE client routes?

That is how OSPF works. If you specify the “Distribute Connected Routes” setting it will do that. It is designed to work like that. Are your backbone routes built dynamically? You could try specifying Redistribute Static Routes if not.

Hi Dave! :smiley:

Nice to hear from you! How will I be able then to do the PPPOE thing with OSPF?

If you don’t want 192.168.x.y routers to be distributed - try to create and apply a filter.

:confused: How does a filter work in ospf?

maybe this helps?
http://wiki.mikrotik.com/wiki/OSPF_and_Point-to-Point_interfaces

I have this problem too, any more infor would be good as currently I’m distributing conected route which are obviously including my PPPoE connections. Quite a bit of flapping is going on!

I do not want to create a OSPF on or inside a PPPOE link!

Sorry Normis! I realy do not understand what you trying to say! :unamused:

Is their any body that have implemented OSPF on a large scale on Mikrotik and also run PPPOE links to the clients?

Out of a admin point of view and a expandability on towers and rudundancy ( feed network from as many telco switches as possible) integration with dude, this is the way to run a large WISP. Their is so many things on OSPF that can be set, but no proper manuals or examples. It seems to me that their is very little people that actualy know how to set up OSPF properly. (areas, virtual AP’s, etc)

Any body disagree? Please let me know!

Regards

Mr G
PS! do not give links that is not related!

gpienaar,

are you running routing-test or the legacy routing package?

Ok, so what do you want, then? Is your problem that a route to each PPPoE client is propagated through your entire network as soon as the new client connects? What do you expect to happen instead? Do you not want these client routes to be propagated at all (then how would you reach the client?) Or do you not want the routes to be propagated individually as host routes (one for each logged-in PPPoE client) but instead want to only propagate a summary route for each PPPoE client address pool from every PPPoE-enabled AP?

–Tom

Yes if client connect via PPPOE, his route is being propagated through network, I do not want this!

Yes - this is what I want - The routes to be propagate a summary route for each PPPoE client address pool from every PPPoE-enabled AP?

Regards

Mr G

First of all you must use routing-test package!

each PPPoE server must be ABR (in separate Area)

Then go to the “/routing ospf area range” and specify summary network with option “advertise=yes” then this area will distribute only summary route and get rid of all specific routes that applies under that summary route

If you would like not to advertise some specific routes you should use option “advertise=no”

Thanks McGaiver!!

You are the first person that actualy contribute to OSPF! I have tried a few things that you have sugested!

It works fine with ABR’s that border to the backbone area! BUT, I have a long chain of different areas in series, this is a problem for me, currently I run the long series chain all on backbone area. I know this is wrong, that is why i seek help from the more experience OSPF Guru’s like your self!

Do you think I should run virtual links to backbone area from the areas that is a few hops away?

Any more ideas will be apreciated!

Regards

Mr G

gpienaar,

can you describe your network topology in more detail?

You can not have a chain of non-backbone areas in OSPF. Every non-backbone area must be connected to the backbone. You can not have a non-backbone area behind another non-backbone area. You should not try to use virtual links to try to get around this restriction. Virtual links are more of a last resort emergency fix to temporarily repair a multi-area OSPF network during outages that would otherwise make areas discontinous etc., but virtual links should never be part of your OSPF design as such.

You say that you’re currently running “a long series chain on backbone area”. Well, I don’t see what’s wrong with this, as long as it looks something like this

|RouterA|----(backbone)---|RouterB|---(backbone)---|RouterC|---(backbone)--->
      |                         |                        |
      v                         v                        v
(area 10:PPPoE)           (area 20:PPPoE)          (area 30:PPPoE)

A chain of routers where the backhaul links form the OSPF backbone and each router has another area that includes the PPPoE address pool so that it can be easily summarized as a range.


–Tom

Walla! It is working! :smiley:

Thank’s Tom! This is exactly how my network is working! Please update the wiki site as an example. I am sure their is a lot of people out their that would like to run their network like this!

Mikrotik, please update your manuals with examples like this!

Regards

Mr G

P.S Many thanks to McGaiver! :sunglasses:

i think this is not a matter of the manual but of basic ospf understandings
you can find some info here: http://www.inetdaemon.com/tutorials/internet/ip/routing/ospf/index.shtml
or even more info under:
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/ospf.htm
and
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfospf.htm
as longs as you dont know the way it works you will not be able to set up ospf properly

Dear savagedavid!

Please make more time on Mikrotik training sesions for OSPF!!

Regards

Mr G

hello gpienaar

how you solve the problem with the ip pool for pppoe.
I have the same net structure.
unfortunately, I have a problem with the ip addresses.
how I can solve it, that 12 AP with a pppoe server grasping on one ip pool.
we forgive the customers dynamic ip addresses.
The logon is carried out via a radius server

Hi qpienaar!

Would you be so kind and send here your settings which works for you? I tried it, but couldn’t start.
If it’s possible send here what you saw when use the /routing ospf export command.

Thanks
Krisz

magic if you read

and

and
http://www.mikrotik.com/testdocs/ros/2.9/routing/ospf.php

you should be able to come up with solution without gpienars ospf export

Janisk I read it and a lot of other documentation too. And tried it and didn’t work.

I use the routing-test package (which still have bugs, sent to support). I checked the documentation but it is for the normal package not for the routing test (for example no area range in the documentation :slight_smile: )

And sometimes it is lot easier to see a working config then find info about undocumented features ( I know there is lot of non mikrotik related doc about ospf). I this moment we use 333 equipment in our backbone (nearly 100 mikrotik) so I need working solutions.

And last: it would be nice if there will be more examples in the documentation. Not only for OSPF.