Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2001 09:34:17 +0800
From:      francisv@dagupan.com
To:        brian@Awfulhak.org
Cc:        isp@freebsd.org
Subject:   RE: PPPoE server setup + RADIUS 
Message-ID:  <10F29E27A956D511B0940050DA8D86A908F758@chat.dagupan.com>

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

Isn't it in RFC 2138?

Framed-IP-Address

Address

      The Address field is four octets.  The value 0xFFFFFFFF indicates
      that the NAS should allow the user to select an address (e.g.
      Negotiated).  The value 0xFFFFFFFE indicates that the NAS should
      select an address for the user (e.g. Assigned from a pool of
      addresses kept by the NAS).  Other valid values indicate that the
      NAS should use that value as the user's IP address.

What do you normally put there? As a standard practice, I mean.

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?10F29E27A956D511B0940050DA8D86A908F758>