On Sun, 30 Dec 2001, Gary Barnden wrote:
> Hello all,
>
> Following is the DEFAULT entry for one of my Access Servers and one
> MultiLink PPP customer. Now for all non-MultiLink PPP customers this
> configuration works like a charm.
>
> However, it does not work for MultiLink PPP customers
>
> mppp1 Auth-Type := Local, Password == "secret", Simultaneous-Use := 2
> Framed-IP-Address = sss.ttt.uuu,eee,
> Framed-IP-Netmask = 255.255.255.252,
> Fall-Through = Yes
>
> DEFAULT Service-Type == Framed-User, Huntgroup-Name == "ASYNC",
> Simultaneous-Use := 1
> Service-Type = Framed-User,
> Framed-Protocol = PPP,
> Framed-IP-Address = aaa.bbb.ccc.ddd+,
> Framed-IP-Netmask = 255.255.255.255,
> Framed-Route = None,
> Framed-Compression = Van-Jacobsen-TCP-IP,
> Framed-MTU = 1500
>
> Now i realise that I could move the DEFAULT settings to the users config
> and not make it fall through or provide every account a Simultaneous-Use
> check. However, this would seem to defeat the purpose of a DEFAULT entry.
>
> How hard would it be to make the Simultaneous-Use setting in the DEFAULT
> config only apply if the user account does not have a Simultaneous-Use entry?
Just use the = operator instead of :=
>
> If anyone has another solution i'd be interested in hearing from you.
You should use the Port-Limit reply attribute for MPPP. The server core will
check if the connection is MPPP (has the same callerid or has requested the same
ip address) and use the Port-Limit attribute to determine how many ports the
user will be allowed to open in that case. In general, Simultaneous-Use
specifies the number of concurrent logins of a user, whilst Port-Limit specifies
the number of channels the user is allowed to use in a Multilink session. So in
your DEFAULT entry just do:
[...]
Framed-MTU = 1500
Port-Limit = 2
--
kkalev
>
> Regards
>
>
> Gary Barnden
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html