[rbak-nsp] Fwd: pppoe service-policy on SEOS6.1.1.4 / ip assignment

Jason Rowley jason.rowley.lists at gmail.com
Sat May 10 13:20:59 EDT 2008


Didn't notice that I only sent this to Marcin. Somebody else might
find this useful.

-j



On Sat, May 10, 2008 at 9:39 AM, Marcin Kuczera <marcin at leon.pl> wrote:
> hello,
> the other question.
> As I notified, the pool can be defined only according to primary ip address
> on multibind interface.
> But - this is just a case when I use a pool for subscribers.
> now:
>
> #1. If I use a pool, is it somehow possible to assign IP addresses to
> subscribers
> from /24 classes that are not continous ? (can't be merged into /23 i.e.) ?

>
> but - I can point out just one pool.
> But - if first pool is out of addresses, I want to use second pool.
>
> Is it possible to do it like that ?


I just had to figure this out not too long ago. The documentation
isn't very clear.

Create an interface for the pool. I gave it a /30

 interface IPPool
 ip address x.x.x.x/30

Next, create a 2nd interface as last resort

 interface pool multibind lastresort
 ip unnumbered IPPool
 ip pool x.x.x.0/24
 ip pool x.x.x.0/24

You can use the "pool" interface for assigning IPs

 subscriber name xxx
  password xxx
  ip address pool name pool
  qos policy policing CBB-1.5M-in
  qos policy metering CBB-1.5M-out
  dns primary x.x.x.x
  dns secondary x.x.x.x

[capband]FTLDFLWACAC#sh ip pool

Interface "partners":
 x.x.x.x     /29                           0 in use,   5 free,   3 reserved

Interface "shutdown":
 192.168.0.0     /16                           7 in use, 65016 free,
513 reserved

Interface "pool":
 x.x.x.0      /24                         254 in use,   0 free,   2 reserved
 x.x.x.0     /24                         192 in use,  62 free,   2 reserved


I'm not sure about multiple pools with radius.


-j


More information about the redback-nsp mailing list