From owner-freebsd-net Fri Aug 10 17:39:30 2001 Delivered-To: freebsd-net@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id A43B137B407 for ; Fri, 10 Aug 2001 17:39:24 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.4/8.11.4) with ESMTP id f7B0dH528962; Sat, 11 Aug 2001 01:39:17 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.4/8.11.4) with ESMTP id f7B0dGr65778; Sat, 11 Aug 2001 01:39:16 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200108110039.f7B0dGr65778@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: francisv@dagupan.com Cc: freebsd-net@FreeBSD.ORG, brian@freebsd-services.com Subject: Re: PPPoE server setup + RADIUS In-Reply-To: Message from francisv@dagupan.com of "Fri, 10 Aug 2001 12:43:41 +0800." <10F29E27A956D511B0940050DA8D86A908F755@chat.dagupan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Aug 2001 01:39:16 +0100 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Hi all, > > We're currently experimenting with PPPoE on a FreeBSD 4.3-STABLE system with > a Windows 98 client using RASPPPOE. I've found some instructions on the web > on how to setup the PPPoE server and so far I've managed to make it run. > > We are using the RADIUS server of our upstream ISP for authenticating > clients. Here's a copy of my /etc/ppp/ppp.conf: > > pppoe-in: > allow users > enable pap > allow mode direct > set mru 1460 > set mtu 1460 > set speed sync > enable lqr > accept dns > set ifaddr 202.91.163.1 202.91.163.20-202.91.163.50 > set dns 202.91.161.130 202.47.132.1 > load server > set radius /etc/ppp/radius.conf > set log phase ipcp lcp debug > > Their RADIUS server sends a reply for Framed-IP-Address: 255.255.255.254 and > Framed-IP-Netmask: 255.255.255.0 > > But upon inspection of the client, it shows that it got the 255.255.255.254 > address instead of the IP address pool as defined in ppp.conf. What else > could be wrong here? Where should I look? Thanks! ppp will choose the RAD_FRAMED_IP_ADDRESS returned from the radius server above any IP number mentioned in ppp.conf or ppp.secret. 255.255.255.254 is a mighty odd IP number - but I'm sure you already know that :*) I wonder why your ISP's radius server is sending this ? > --- > francis vidal [bitstop network services] > streaming media + web services > v(02)330-2872,(02)330-2873 -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message