From owner-freebsd-isp Thu Aug 9 19:20: 6 2001 Delivered-To: freebsd-isp@freebsd.org Received: from backup.dagupan.com (www.psysc.org.ph [206.101.69.5]) by hub.freebsd.org (Postfix) with ESMTP id ED2E937B401 for ; Thu, 9 Aug 2001 19:20:00 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by chat.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Fri, 10 Aug 2001 10:19:56 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A908F74F@chat.dagupan.com> From: francisv@dagupan.com To: isp@freebsd.org Subject: PPP and RADIUS Date: Fri, 10 Aug 2001 10:19:54 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'm trying to setup a PPPoE server using FreeBSD 4.3. So far, I already have the PPPoE daemon up and running, requests from PPPoE clients gets through, executes "/usr/sbin/ppp -direct ", queries the RADIUS server, etc. My problem lies in negotiating for the IP address. My upstream ISP's RADIUS server sends a reply of 255.255.255.254 and this is assigned to the dialing-in client when I already have a "set ifaddr" set in ppp.conf. Turning on the logs reveals: ppp[3196]: Debug: m_enqueue: len = 1 irc ppp[3196]: Debug: Add 202.91.162.20 -> 255.255.255.254 ppp[3196]: IPCP: Using trigger address 255.255.255.254 ppp[3196]: Warning: OpenSecret: Can't open /etc/ppp/ppp.sec ppp[3196]: IPCP: Using trigger address 255.255.255.254 . . . irc ppp[3196]: IPCP: IPADDR[6] 255.255.255.254 How can I override my ISP's RADIUS reply? Here's 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.162.20 202.91.162.21-202.91.162.30 set dns 202.91.161.130 202.47.132.1 load server set radius /etc/ppp/radius.conf set log phase ipcp lcp debug --- francis vidal [bitstop network services] streaming media + web services v(02)330-2872,(02)330-2873 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message