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

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

[Help-gnu-radius] Client ip Address.


From: Jean Pierre Telschow
Subject: [Help-gnu-radius] Client ip Address.
Date: Thu, 6 Nov 2003 17:34:12 -0200

Gerald,

        I have this configuration in my users file:

        DEFAULT Auth-Type = System,
        Simultaneous-Use = 1
        Service-Type = Framed-User,
        Framed-IP-Address = xxx.xxx.xxx.xxx+,
        Framed-IP-Netmask = 255.255.255.248

        But, the address attributed to my client is one of my firewall
address and no xxx.xxx.xxx.xxx, so, this cause ip address conflict. :-(

        Thanks by you contact.

Jean Pierre Telschow
        
        

-----Original Message-----
From: Gerald [mailto:address@hidden 
Sent: quinta-feira, 6 de novembro de 2003 17:12
To: Jean Pierre Telschow
Cc: address@hidden
Subject: Re: [Help-gnu-radius] (sem assunto)


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]