From owner-freebsd-isp Thu Nov 20 16:14:09 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA23022 for isp-outgoing; Thu, 20 Nov 1997 16:14:09 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from dream.future.net (root@future.net [204.130.134.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA23006 for ; Thu, 20 Nov 1997 16:14:04 -0800 (PST) (envelope-from tomthai@future.net) Received: from dream.future.net (tomthai@future.net [204.130.134.1]) by dream.future.net (8.8.6/8.8.6) with SMTP id SAA11551; Thu, 20 Nov 1997 18:09:21 -0600 (CST) Date: Thu, 20 Nov 1997 18:09:20 -0600 (CST) From: "Tom T. Thai" To: isp cc: linuxisp@friendly.jeffnet.org, freebsd-isp@FreeBSD.ORG Subject: Re: radiusclient users? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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