Re: IP Pool questions

2002-08-20 Thread Matias Ezequiel Fabiano


I'm having a problem like Li Lin has. I need that the radius server assign
an IP address from a pool (172.25.6.2 /24) to each dial up subscriber, and
all the requirements will come from a NAS (There's no LAN behind
subscribers).
I see that the only IP that the server assigns is the one that i configure
in the attribute Framed-IP-Address. The question is: how I configure this
attribute for the user DEFAULT when I want the server do that? The
following doesnt't work

 DEFAULT Auth-Type := Local, User-Password == ""
  Service-Type = Framed-User,
  Framed-IP-Address = 172.25.6.2+,

If I'm wrong, can you explain me how to do what i want to do?.
Thanks

ŠËbú?²æìr¸›{û§²æìr¸›y'ž†Ûiÿü0ÁúÞz¶Šë(®åŠËºÇ«²f


RE: IP Pool questions

2002-08-19 Thread Mark Hennessy

Here's an example user named foo:

foo Auth-Type := System
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-Address = 192.168.2.21,
Framed-Netmask = 255.255.255.252,
Framed-Route = "192.168.2.20/30 192.168.2.21 1",
Framed-Compression = Van-Jacobson-TCP-IP,
Idle-Timeout = 0,
Framed-MTU = 1500

Note the Framed-Route line.  /30 is equivalent to 255.255.255.252

This is just an example, you could use much larger blocks.

The subscriber would configure their equipment to use the IP address
192.168.2.21.  192.168.2.22 would be an IP usable within their LAN.
Remote gateway could be available in a larger network
specified by a more general netmask for the remote gateway where
appropriate.

Alternately, if you wish, you can do this:

foo Auth-Type := System
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-Address = 192.168.2.2,
Framed-Netmask = 255.255.255.255,
Framed-Route = "192.168.3.0/28 192.168.2.2 1",
Framed-Compression = Van-Jacobson-TCP-IP,
Idle-Timeout = 0,
Framed-MTU = 1500

This would instead of providing a merged LAN IP block provide a
WAN/LAN-style structure, where you could give each dialup device their own
single IP and then forward blocks over those single IPs to their LAN.  In
this example, a /28 (13 usable addresses) is forwarded to this subscriber
for use in their LAN, they would have to have two separate interfaces, a
WAN interface for 192.168.2.2 and a LAN interface where they define one of
the IPs in the 192.168.3.0 block (such as 192.168.3.1).

--
 Mark P. Hennessy [EMAIL PROTECTED]

On Mon, 19 Aug 2002, Li Lin wrote:

> Date: Mon, 19 Aug 2002 17:43:31 -0400
> From: Li Lin <[EMAIL PROTECTED]>
> To: 'Mark Hennessy' <[EMAIL PROTECTED]>
> Cc: Li Lin <[EMAIL PROTECTED]>
> Subject: RE: IP Pool questions
>
> Hi Mark:
>
>  Yes, I am trying to set up a block of IPs to be passed to a subscriber.
>
>  Thanks
>
>  Li Lin
>
> -Original Message-
> From: Mark Hennessy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 19, 2002 5:48 PM
> To: '[EMAIL PROTECTED]'
> Cc: Li Lin
> Subject: Re: IP Pool questions
>
> Are you trying to set up a block of IPs to be passed to a subscriber, or
> dynamically assign an IP from a pool to a subscriber?
>
> --
>  Mark P. Hennessy
> [EMAIL PROTECTED]
>
> On Mon, 19 Aug 2002, Li Lin wrote:
>
> > Date: Mon, 19 Aug 2002 17:38:10 -0400
> > From: Li Lin <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: "'[EMAIL PROTECTED]'"
> > <[EMAIL PROTECTED]>
> > Cc: Li Lin <[EMAIL PROTECTED]>
> > Subject: IP Pool questions
> >
> >
> > Dear Sir/Madam:
> >
> > I have a problem to setup IP pool. (The free radius server only assigns
> one
> > IP address)
> >
> > Could you please tell me:
> >
> > 1.  whether freeradius-0.3 supports IP pool or not?
> > 2.  any document for IP pool?
> >
> > Thanks
> >
> > Li Lin
> >
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: IP Pool questions

2002-08-19 Thread Mark Hennessy

Are you trying to set up a block of IPs to be passed to a subscriber, or
dynamically assign an IP from a pool to a subscriber?

--
 Mark P. Hennessy [EMAIL PROTECTED]

On Mon, 19 Aug 2002, Li Lin wrote:

> Date: Mon, 19 Aug 2002 17:38:10 -0400
> From: Li Lin <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: "'[EMAIL PROTECTED]'"
> <[EMAIL PROTECTED]>
> Cc: Li Lin <[EMAIL PROTECTED]>
> Subject: IP Pool questions
>
>
> Dear Sir/Madam:
>
> I have a problem to setup IP pool. (The free radius server only assigns one
> IP address)
>
> Could you please tell me:
>
> 1.whether freeradius-0.3 supports IP pool or not?
> 2.any document for IP pool?
>
> Thanks
>
> Li Lin
>


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



IP Pool questions

2002-08-19 Thread Li Lin








 

Dear Sir/Madam:

 

I have a problem to setup IP pool. (The free radius server
only assigns one IP address) 

 

Could you please tell me:

 


 whether freeradius-0.3 supports IP
 pool or not?
 any
 document for IP pool?


 

Thanks

 

Li Lin