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?I do not want to create a OSPF on or inside a PPPOE link!
Yes if client connect via PPPOE, his route is being propagated through network, I do not want this!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?I do not want to create a OSPF on or inside a PPPOE link!
--Tom
Thanks McGaiver!!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"
|RouterA|----(backbone)---|RouterB|---(backbone)---|RouterC|---(backbone)--->
| | |
v v v
(area 10:PPPoE) (area 20:PPPoE) (area 30:PPPoE)
Hi qpienaar!Walla! It is working!
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!
andFirst 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"
andgpienaar,
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
Code:
|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
Janisk,please tell us where you have difficulties. You have to understand that people are not willing to report their current configurations due to security reasons, but you can post here your net config and configurations you have done and what you want to achieve. most probably we will be able to help you then.
Hi,in your configuration set redistribute-default as it will redistribute default route and not static
just set that ospf area range
and you do not need to set up other area if you do not want to these PPPoE can still be in your backbone area. actually there is no big difference.
and as your network is not working you do not risk very much by posting its current state as it is not working. and as you need alter your config for it to work your configuration will be changed
anyway good luck.
Tom,magic,
from your configuration I see that you did not define an OSPF area for the PPPoE range - all you have is the backbone area.
You need to define an additional (non-backbone) area to be summarized and put your PPPoE addresses into that area.
--Tom
Excuseme could you please tellme in which situatuin we use OSPF i confiuse about OSPF i read the duc but didnt get the target,I've started a wiki page on this, if anyone cares to update / correct I'm sure us OSPF newbies would be greatful
http://wiki.mikrotik.com/wiki/OSPF_and_Area_summaries
===============================
-----> DSL 1 x.x.x.32/27 --> | Router IP x.x.x.34 | IP range .35-62 is used for PPPoE clients
| GW1: x.x.x.x33 | .160/28 and .176/28 and .192/28 are used for PPPoE clients
-----> DSL 2 x.x.x.160/28 --> | | --> WLAN Interface
x.x.x.176/28 --> | GW2:interface routing |
| GW3:interface routing |
-----> DSL 3 x.x.x.192/28 --> | | ----> Future Router, want to use above subnets on this router too
| |
| |
| WLAN1 10.2.23.0/27 | (backbone?)
===============================
I haven't used mikrotik's OSPF yet but I can post you quagga config/mikrotik uses quagga/ so you can addopt it to your mt config.OSPF on a PPPoE network is pretty simple to set up.
Primary principles employed will be:
All the backbone IP's will be in one 'area' - the backbone area and network.
Every PPPoE server IP range will be in their own area, subnet and network and also connected to the backbone area.
The ideal way to accomplish this would be to use a separate device for the backbone and PPPoE server, but it isn't required - as long as the PPPoE IP range is defined as its own area and network and does not overlap any others.
You can have the PPPoE clients and backbone on the same subnet, but don't expect this to be as stable as you'd like.
By separating the PPPoE areas and networks from the backbone, you can then use the summary route function and only distribute that into your backbone. If you don't use the summary route option, then there is a constant flapping on the routing table as PPPoE clients connect & disconnect.
Check this doc out for a different perspective on OSPF:
http://www.cisco.com/warp/public/104/1.html
Is it possible to use the same area-id and area-name on each ABR for PPPoE summarization purposes?I've started a wiki page on this, if anyone cares to update / correct I'm sure us OSPF newbies would be greatful
http://wiki.mikrotik.com/wiki/OSPF_and_Area_summaries
add in ospf interfaces all interfaces to be passive, for example I need to run OSPF on ether1 other pppoe should be passive (no hellos).I'm chasing an issue similar to this. I've implemented summaries on our Cisco PPPoE servers, and now they simply put out one supernet address for the complete PPPoE Pool. However when I try to do it on the Mikrotik server, I get the summaries propagated back into the routing tables, BUT every PPPoE Customer starts receiving OPSF Hello packets on their PPPoE sessions. On the Cisco, all I had to do was define an area and define a summary-address. On the Mikrotik implementation, I didn't see any way to have the area go active without putting the subnet in the network tab.
Any ideas what I'm missing?
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
above are my question too ?Im still trying to understand this OSPF too.. I have one MT router with many public subnets/DSL interfaces.
so--I get confused because Im adding another tower with mikrotik and I want to use the subnets I have to serve additional PPPoE clients (basically share the subnet for PPPoE users)Code: Select all=============================== -----> DSL 1 x.x.x.32/27 --> | Router IP x.x.x.34 | IP range .35-62 is used for PPPoE clients | GW1: x.x.x.x33 | .160/28 and .176/28 and .192/28 are used for PPPoE clients -----> DSL 2 x.x.x.160/28 --> | | --> WLAN Interface x.x.x.176/28 --> | GW2:interface routing | | GW3:interface routing | -----> DSL 3 x.x.x.192/28 --> | | ----> Future Router, want to use above subnets on this router too | | | | | WLAN1 10.2.23.0/27 | (backbone?) ===============================
Im not sure how to set up the OSPF to accomplish this.
the first range x.x.x.32/27 one of the IPs is used for the router, and the other is used for the ISP gateway.. do I still put x.x.x.32/27 as an area range even though my router has an IP in the range?
The others ranges are entirely used for PPPoE Clients.
in a nutshell, I want PPPoE clients on router1 and router2 to be in the same subnets and have it find a route back to my first router to get onto the net! I have backbone as 10.2.23.0/27 just to have access to the AP's and such)
What is the number of the big number ? i know it is related to hardware resources but is there a simple formula ?Also remember that running OSPF on a big number of (flapping) PPP interfaces is not recommended.
Would this work in NSSA areas?add in ospf interfaces all interfaces to be passive, for example I need to run OSPF on ether1 other pppoe should be passive (no hellos).
/routing ospf interface
add interface=ether1 network-type=broadcast
add interface=all passive=yes
then add area range to summarize all pppoe, for example pppoe addresses are in network 192.168.0.0/24
/routing ospf network
add network=192.168.0.0/24 area=pppoe-area
/routing ospf area range
add area=pppoe-area range=192.168.0.0/24 advertise=yes
Now backbone will receive only /24 route.
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 redistribute-static=as-type-1 router-id=10.1.200.3
/routing ospf area
add area-id=200.200.200.200 default-cost=1 inject-summary-lsas=yes name=pppoe translator-role=translate-never type=nssa
/routing ospf network
add area=pppoe network=10.0.0.0/24
/routing ospf area range
add area=pppoe range=10.0.0.0/24
/routing ospf interface
add network-type=point-to-point passive=yes
add in ospf interfaces all interfaces to be passive, for example I need to run OSPF on ether1 other pppoe should be passive (no hellos).
/routing ospf interface
add interface=ether1 network-type=broadcast
add interface=all passive=yes
then add area range to summarize all pppoe, for example pppoe addresses are in network 192.168.0.0/24
/routing ospf network
add network=192.168.0.0/24 area=pppoe-area
/routing ospf area range
add area=pppoe-area range=192.168.0.0/24 advertise=yes
Now backbone will receive only /24 route.