Info: No Pool-Name defined. Trying to add new APN
Sophie Loewenthal
sophie.loewenthal at trimbletl.com
Wed Sep 16 10:03:27 CEST 2015
Hi Alan,
> Is the IP for that APN listed there?
We don't have IP addresses for our private APNs assigned initially.
Our Radius assigns the IP address not the mobile provider.
The connection comes in over from Vodafone and their Radius proxies the
request to our Radius server, which then DHCP an IP addresses.
> What is the IP?
Radius has to assign the IP address, but cannot because it did not find
a matching Pool-Name.
This is the problem.
> 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.1231.0, Pool-Name := vodafone
DEFAULT NAS-IP-Address == 195.123.1231.50, Pool-Name := vodafone
DEFAULT NAS-IP-Address == 195.123.1231.51, Pool-Name := vodafone
DEFAULT NAS-IP-Address == 195.123.1231.52, Pool-Name := vodafone
DEFAULT NAS-IP-Address == 195.123.1231.53, Pool-Name := vodafone
DEFAULT NAS-IP-Address == 195.123.1231.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
( IP address obfuscated a bit )
Sophie.
On 9/15/2015 5:46 PM, Alan DeKok wrote:
> On Sep 15, 2015, at 4:02 AM, Sophie Loewenthal <sophie.loewenthal at trimbletl.com> wrote:
>> I have been trying to work out why our new APN cannot have any IP addresses allocated. The IP addresses should come from an existing pool already in use by other APNs. I've inherited this from since departed colleagues. I did post this a earlier but thought I should start a fresh thread with debug infomation.
>>
>> The user name is 0TESTUSER1
>> The new APN is m2m.vod.trim.com
> What is the IP?
>
>> In the users file I added ,
>> 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.123.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
> Is the IP for that APN listed there?
>
>> The first line already worked with another APN with IP addresses assigned.
>>
>> When I tried to authenticate with our new SIM and APN log in worked but no pool was defined.
>>
>> Tue Sep 15 09:42:25 2015 : Auth: Login OK: [0TESTUSER1] (from client vodafone-nas-m2m-51 port 511026 cli 882393728079768)
>> Tue Sep 15 09:42:25 2015 : Info: No Pool-Name defined (did m2m.vod.trim.com cli 882393728079768 port 511026 user 0TESTUSER1)
>>
>> Debug: I ran in debug to see if I could get any more info and you'll find thus below.
>>
>> I'd be grateful if somebody would let me know how I mend this, or point me the right direction?
>>
>> Thanks and kind regards,
>> Sophie
>>
>> [sql] expand: UPDATE radacct SET acctstoptime = '%S', acctsessiontime = '%{Acct-Session-Time}', acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', acctstopdelay = '%{%{Acct-Delay-Time}:-0}', connectinfo_stop = '%{Connect-Info}' WHERE acctsessionid = '%{Acct-Session-Id}' AND username = '%{SQL-User-Name}' AND nasipaddress = '%{NAS-IP-Address}' -> UPDATE radacct SET acctstoptime = '2015-09-15 09:46:13', acctsessiontime = '510', acctinputoctets = '0' << 32 | '2643', acctoutputoctets = '0' << 32 |
> It would help to show the debug output from when the server receives a packet. And not some random piece from the middle of processing a packet.
>> [files] users: Matched entry DEFAULT at line 228
> So... what's on line 228?
>
> Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list