Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2001 10:19:54 +0800
From:      francisv@dagupan.com
To:        isp@freebsd.org
Subject:   PPP and RADIUS
Message-ID:  <10F29E27A956D511B0940050DA8D86A908F74F@chat.dagupan.com>

next in thread | raw e-mail | index | archive | help
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 <service_name>", 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10F29E27A956D511B0940050DA8D86A908F74F>