pppoe+mysql+Framed-IP-Address

Norbert Grochal norboro at celpol.pl
Fri Mar 17 15:35:22 CET 2006


I have just run pppoe server with freeradius
pppeo user radius.so and radattr.so modules
It works ok, but clients gets 'random' IP addreses... I need static IP (like that in /etc/ppp/chap-secrets last column).

I try to add 1 record to my mysql, so I have:
mysql> SELECT id, UserName, Attribute, Value, op           FROM radcheck           WHERE Username = 'norbert'           ORDER BY id
    -> ;
+-----+----------+-------------------+---------------+----+
| id  | UserName | Attribute         | Value         | op |
+-----+----------+-------------------+---------------+----+
|  77 | norbert  | User-Password     | xxxxxxxx      | == |
| 258 | norbert  | Framed-IP-Address | 82.177.xx.yy | := |
+-----+----------+-------------------+---------------+----+

but I still gets IP addresses like 10.67.15.1 ..., not 82.177.xx.yy

my example access-request contains Framed-Protocol = PPP:

Packet-Type = Access-Request
Fri Mar 17 15:25:22 2006
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "norbert"
        CHAP-Challenge = 0x4aaccdf7f520730e84f58bc4018c04217b97
        CHAP-Password = 0xb6fe48120b0aed82ffdb4d782f3b51cd6a
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 0
        Client-IP-Address = 10.10.10.248

What I should do?

norbert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060317/8c6d4342/attachment.html>


More information about the Freeradius-Users mailing list