Date: Thu, 20 Nov 1997 18:09:20 -0600 (CST) From: "Tom T. Thai" <tomthai@future.net> To: isp <isp@elgo.si> Cc: linuxisp@friendly.jeffnet.org, freebsd-isp@FreeBSD.ORG Subject: Re: radiusclient users? Message-ID: <Pine.NEB.3.96.971120180222.11452A-100000@dream.future.net> In-Reply-To: <Pine.LNX.3.95.971120234704.17438A-100000@crv.elgo.si>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Nov 1997, isp wrote: > > Assume you are running RADIUS2.0.1 and the user profile uses > > Framed-IP-Address = 255.255.255.254 or Framed-IP-Address = > > 255.255.255.255, how do you tell pppd-radius to assign the proper IP? In > > the first case, radiusclient or pppd-radius have to pick an available IP > > from an assigned IP pool just like the Portmasters or use the port IP > > from /etc/ppp/options.ttyR0 or so. > Yes, the first case do so. > > > In the second case, > > radiusclient/pppd-radius should use the "user" picked IP. Currently > > radiusclient/pppd-radius doesn't support that directly, but I suppose you > > could parse the parameter using login.radius (but not with the current > > radiusd-ppp, unless it's thru ip-up, etc.) > > > It does ! > This stuff is in the patched pppd-radius so it should work ! > If You are using radius.login (so user has to login and do scripting), > than login.radius needs to setup proper IP, but if You are using PAP to > authenticate then login.radius is never called and pppd-radius sets up IP > from radius server. try putting Framed-IP-Address = 255.255.255.255 in your users file on the RADIUS server. Then login via ppp-radius and look at the log. I tried this with /etc/ppp/option.ttyR0 having '204.130.134.6:204.130.134.70' and ppp-radius will use 255.255.255.255 as it's IP for that port. /var/log/messages will show that too. .............. .................................... Thomas T. Thai Infomedia Interactive Communications tom@iic.net TEL 612.376.9090 * FAX 612.376.9087
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.971120180222.11452A-100000>