Title: RE: (RADIATOR) Ericsson GSN for GPRS
Ingvar,
Hello my friend! I would like to hear your opinion.
1. We've 3 APN for different kind of service.
Each APN should has its ip address range for handsets.
What we are doing now is using radiator AddressAllocatorSQL with different POOLHINT to allocate ip address.
Which one is better in allocating ip address, from APN internally or radiator server.
2. Your words: 'It has a binary value for session ID (4 bytes GGSN IP address + 4 bytes Framed-IP-Address)'
Our session ID is very urgly. It concat six zero and CLASS attribute to be session ID. See below sample.
I think it should be a integer, hex, or some number. Do you know any workaround.
*** Received from 10.25.155.1 port 3645
Code: Accounting-Request
Identifier: 95
Authentic: ?I144143227'243139I191203160132N12b
Attributes:
User-Name = rad_user
Class = SI=Testing
Acct-Session-Id = 00Testing
NAS-IP-Address = 10.25.155.1
Acct-Status-Type = Stop
NAS-Port = 1
Acct-Authentic = RADIUS
NAS-Identifier = rad
Framed-Protocol = PPP
Calling-Station-Id = 85298699517
Framed-IP-Address = 10.25.155.3
3. Are you still working on GSN product. Do you know any GSN resource, specification, books, pdf, or anything on Ericsson website, so we can make use of it.
Thanks :-)
Harrison
-Original Message-
From: Harrison Ng
Sent: Thursday, August 23, 2001 5:32 PM
To: 'Ingvar Berg (ERA)'
Subject: RE: (RADIATOR) Ericsson GSN for GPRS
Ingvar,
Hello my friend! I would like to hear your opinion.
1. We've 3 APN for different kind of service.
Each APN should has its ip address range for handsets.
What we are doing now is using radiator AddressAllocatorSQL with different POOLHINT to allocate ip address.
Which one is better in allocating ip address, from APN internally or radiator server.
2. Your words: 'It has a binary value for session ID (4 bytes GGSN IP address + 4 bytes Framed-IP-Address)'
Our session ID is very urgly. It concat six zero and CLASS attribute to be session ID. See below sample.
I think it should be a integer, hex, or some number. Do you know any workaround.
*** Received from 10.25.155.1 port 3645
Code: Accounting-Request
Identifier: 95
Authentic: ?I144143227'243139I191203160132N12b
Attributes:
User-Name = rad_user
Class = SI=Testing
Acct-Session-Id = 00Testing
NAS-IP-Address = 10.25.155.1
Acct-Status-Type = Stop
NAS-Port = 1
Acct-Authentic = RADIUS
NAS-Identifier = rad
Framed-Protocol = PPP
Calling-Station-Id = 85298699517
Framed-IP-Address = 10.25.155.3
3. Are you still working on GSN product. Do you know any GSN resource, specification, books, pdf, or anything on Ericsson website, so we can make use of it.
Thanks :-)
Harrison
-Original Message-
From: Ingvar Berg (ERA) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 2:34 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: RE: (RADIATOR) Ericsson GSN for GPRS
Hello Harrison,
I have a GGSN parameter list from a lab setup we did early this year:
APN : ucb.gsn.lkp
Number of Configured APNs : 3
First Supported IP Segment : 172.44.220.0
GGSN IP Address : 172.44.220.254 // Not so brilliant choice...
Last Supported IP Segment : 172.44.220.0 // More segments in reality
Netmask : 255.255.255.0 // - -
Authenticate MS Using RADIUS : true // Yes
Send MSISDN in Access Req. : true // Yes
Send MSISDN in Accounting Req. : true // Yes
Primary RADIUS Server Address : 192.168.240.12
Primary Query Time-out [ms] : 3
Primary Query Retries : 10
Primary Encryption Key : thesharedsecret
Origin of MS IP Address : RADIUS // Yes
Allow Select from SGSN : false
Allow Select from Subscription : true
Allow Select from User : true
Enable Ingress Filter : false
Routing Method : IP
The RADIUS client in the GGSN has a couple of annoying problems, at least the version we did the work on:
- It doesn't include the Framed-IP-Address in accounting stop
- It has a binary value for session ID (4 bytes GGSN IP address + 4 bytes Framed-IP-Address)
The first one is a serious one, that has to be handled, or your address allocator will run dry. Hugh's suggestion was to use the Class attribute to put a copy of the allocated IP address when you send the access accept (AddToReply...). Then when the acct stop comes, you pick the IP address from the Class attribute if Framed-IP-Address is missing.
Sample code:
# Handle Accounting-Requests.
# Make sure there is a Framed-IP-Address in the request
# (from the contents of the Class attribute).
elsif ($code eq 'Accounting-Request')
{
my $address = $p-get_attr('Framed-IP-Address');
if (!defined $address)
{
# Get the IP address from the Class attribute
$address = $p-get_attr('Class');
$p-add_attr('Framed-IP-Address', $address)
if (defined $address);
}
# Print a debug line
main::log($main::LOG_DEBUG, Framed-IP-Address = $address);
}
That's about all I can come to think of right away, pls feel free to come back to me if more