PDA

View Full Version : OSPF and PPPoE


Beebe
06-13-2005, 09:29 PM
Well I recently switched from static routes to OSPF and it's been working well for a while. Part of the reason for doing this was that I was hoping that when someone connected via PPPOE to a wrap board it would distribute the routes for that client over the backbone and they would be online. This isn't working. If you connect with an IP it does not get routed over the network for some reason. You can only ping the AP you're connected to and no further.

Is it possible to do what I'm wanting? Does anyone have this working?

Thanks,
Roger

lonnie
06-13-2005, 11:32 PM
OSPF does not announce individual IP addresses. It will announce the subnet of the AP and that seems to be working since you can ping the AP. It seems you are trying to use the router to announce when customers are online.

RIP will announce the IP adddresses that it sees and will likely accomplish what you want. It is quite safe to use RIP and OSPF together.

It should be quite unnecessary since the AP is known and it knows how to get to the individuals.

Beebe
06-14-2005, 08:03 PM
Thanks Lonnie,
Can anyone confirm this works, has anyone got it working so that you can connect with any IP via PPPOE and the routing will propogate across the network?

Thanks,
Roger

rasimoes
06-15-2005, 07:37 AM
Yes, it propagates!

lonnie
06-15-2005, 12:12 PM
This was just on one of the lists and seems to indicate that OSPF does indeed announce individual IP routes if you tell it to redistribute connected.


From Troy Settle:


Configure each PPPoE server with an appropriately sized pool. I like to keep mine on subnet boundaries (/27 for 32 addresses, /26 for 64 addresses), just stay away from the top and bottom subnets in each /24 network. Configure seperate pools for static IP assignments.


If I had a /24 to assign to customers, it might look something like this:


.0/28 - small lan for a tower
.16/28 - static IP pool
.32/27 - 32 user PPPoE Pool
.64/26 - 64 user PPPoE Pool
.128/26 - 64 user PPPoE Pool
.192/27 - 32 user PPPoE Pool
.224/28 - static subnet for some customer
.240/28 - small lan for another tower


At the top or bottom, you could do 31 or 63 user PPPoE pools without too much trouble, but I tend to use those areas for broadcast segments (LANS).


In your OSPF configuration, make sure you're redistributing connected routes. As soon as a customer with a static IP logs into any AP, their route will be announced to the rest of your network.