Info: No Pool-Name defined. Trying to add new APN
Sophie Loewenthal
sophie.loewenthal at trimbletl.com
Wed Sep 16 14:57:25 CEST 2015
Hi,
Yes, I did not understand when you asked for the IP address. The incoming NAS IP was from vodafone-nas-m2m-53 which has been set in mysql table radius.nas with an IP address of
+----+------------------+-----------------------+-------+-------+---------------------------+--------+-----------+-----------------------+
| id | nasname | shortname | type | ports | secret | server | community | description |
+----+------------------+-----------------------+-------+-------+---------------------------+--------+-----------+-----------------------+
| 13 | 195.123.123.53 | vodafone-nas-m2m-53 | other | NULL | xxxxxxxxxxxxxxxxxxxxxxxx | NULL | NULL | Vodafone NAS M2M 53 |
> No, that isn't the "entire" users file. That doesn't contain 228 lines of text.
Sorry I was unclear. By entire contents I meant I removed all the # and empty lines for legibility.
Line 228 was:
DEFAULT Framed-IP-Netmask = 255.255.255.255.
The debug from radius is 39 mb and I did not think the list would accept this. Of course I could post this if you like, but would obfuscate lots before.
-rw-r----- 1 radiusd radiusd 39M Sep 16 14:52 /var/log/radius/radius.log
I shall try and reduce this in size and send again in a moment.
> Your "users" file is assigning Pool-Name *conditionally*. The condition checks the NAS-IP-Address. And in your tests, the Pool-Name isn't being assigned.
Because I don't understand how incoming NAS IP addresses link to Pool-Names that link back to IP address allocation in radius.radippool table.
On 9/16/2015 2:41 PM, Alan DeKok wrote:
> On Sep 16, 2015, at 4:03 AM, Sophie Loewenthal <sophie.loewenthal at trimbletl.com> wrote:
>>> Is the IP for that APN listed there?
>> We don't have IP addresses for our private APNs assigned initially.
> You don't seem to understand my question. Or, you're not explaining things properly.
>
> Your "users" file is assigning Pool-Name *conditionally*. The condition checks the NAS-IP-Address. And in your tests, the Pool-Name isn't being assigned.
>
> Why? Because the NAS-IP-Address check doesn't match. Why doesn't it match? Because the NAS-IP-Address isn't listed there.
>
>>> So... what's on line 228?
>> Line 228 in /etc/raddb/users has this entry:
>> DEFAULT Framed-IP-Netmask = 255.255.255.255
>>
>> The entire /etc/raddb/users contains this,
>> DEFAULT NAS-IP-Address == 172.100.200.1, Pool-Name := vodafone
>> DEFAULT NAS-IP-Address == 195.123.123.0, Pool-Name := vodafone
>> DEFAULT NAS-IP-Address == 195.123.123.50, Pool-Name := vodafone
>> DEFAULT NAS-IP-Address == 195.123.123.51, Pool-Name := vodafone
>> DEFAULT NAS-IP-Address == 195.123.121.52, Pool-Name := vodafone
>> DEFAULT NAS-IP-Address == 195.123.123.53, Pool-Name := vodafone
>> DEFAULT NAS-IP-Address == 195.123.123.54, Pool-Name := vodafone
>> DEFAULT NAS-IP-Address == 10.123.255.254, Pool-Name := proximus-carli
>> DEFAULT NAS-IP-Address == 10.124.255.254, Pool-Name := proximus-mechelen
>> DEFAULT Framed-IP-Netmask = 255.255.255.255
> No, that isn't the "entire" users file. That doesn't contain 228 lines of text.
>
>
> The larger problem is you're not clear on what the server is supposed to do. You're not reading the full debug log, to educate yourself. You're not posting the full debug log here, so we can't help you.
>
> I have no idea why people ask for help, and then try *hard* to prevent people from helping them.
>
> Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list