help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] (sem assunto)


From: Gerald
Subject: Re: [Help-gnu-radius] (sem assunto)
Date: Thu, 6 Nov 2003 14:11:49 -0500 (EST)

On Thu, 6 Nov 2003, Jean Pierre Telschow wrote:

>       How i can attrib a especific IP Address to a specific client ?

If your attrib database is mysql here is one example of how to do it:

mysql> select * from attrib where user_name = 'user1';
+-----------+--------------------+---------------------+------+
| user_name | attr               | value               | op   |
+-----------+--------------------+---------------------+------+
| user1     | Framed-IP-Address  | 216.223.199.89      | NULL |
| user1     | Framed-Netmask     | 255.255.255.248     | NULL |
| user1     | Framed-Compression | Van-Jacobson-TCP-IP | NULL |
| user1     | Framed-MTU         | 1500                | NULL |
| user1     | Port-Limit         | 2                   | NULL |
| user1     | Idle-Timeout       | 2400                | NULL |
+-----------+--------------------+---------------------+------+
6 rows in set (0.01 sec)


Otherwise just add the entry in the users file on the username. (Example:)

###
testuser  Password = "testpass"
        Service-Type = Framed-User,
        Framed-Protocol = PPP,
        Framed-IP-Address = 10.4.10.1,
        Framed-IP-Netmask = 255.255.255.255
###

Please let me know if you mean "client" in a different context.

Gerald




reply via email to

[Prev in Thread] Current Thread [Next in Thread]