You are on page 1of 4

Assigning IP Addresses Based on Access Point Name (APN)

Page 1 of 4

[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]

Steel Belted Radius Carrier 7.0 Reference Guide > Configuring the Special Attribute Handling Features > Assigning IP Addresses Based on Access Point Name (APN)

Assigning IP Addresses Based on Access Point Name (APN)


Steel-Belted Radius Carrier along with the SIM authentication module can assign IP addresses to mobile devices based on the access point name (APN).

Overview
APN-based IP address assignment enables Steel-Belted Radius Carrier to perform the task of address assignment, rather than requiring the AP to assign addresses. This feature works by configuring IP address pools, each of which consists of a set of IP addresses that can be assigned to a mobile device. You then configure an access point name (APN) to be associated with a particular pool. When an AccessRequest is received, Steel-Belted Radius Carrier selects an IP address from the pool that is assigned to the APN handling the request. Figure 25 shows the configuration of IP address assignment based on APN. Figure 25: IP Address Assignment Based on Access Point Name

NOTE: APN-based IP address assignment takes precedence over all other methods of IP address assignment except if an IP address (or pool name) is added to an Access-Accept as the value of the Framed-IP-Address attribute.

http://www.juniper.net/techpubs/software/aaa_802/sbrc/sbrc70/sw-sbrc-referenc... 11/11/2011

Assigning IP Addresses Based on Access Point Name (APN)

Page 2 of 4

For information about how to add any attribute from a subscriber database (such as a SQL database), see Adding Attributes to an Access-Accept. For example, you can retrieve the IP address from a SQL database and include it as the value of Framed-IP-Address in an Access-Accept.

Tasks for Assigning IP Address Based on Access Point


Assigning IP addresses based on access point involves the following main tasks: Configure simauth.aut Create an address pool Each of these tasks is described in the following sections.

Configuring simauth.aut for IP Address Assignment


The simauth.aut configuration file retrieves the IP address from a pool to be returned with the Access-Accept. To configure simauth.aut for IP address assignment based on access point: 1. In the [Settings] section of simauth.aut, define the attribute that identifies the access point. This attribute is usually 3GPP-WLAN-APN-Id or Called-StationID. Use the following format:
AssignIpPoolByAttr

= attribute

where: attribute is the name of the string type attribute to be used to identify the Access Point. Example:
[Settings] AssignIpPoolByAttr = 3GPP-WLAN-APN-Id

2. In the [Settings] section of simauth.aut, define the attribute to contain the IP address to be assigned to the mobile device. This attribute is returned with the Access-Accept. Use the following format:
AssignIpPoolDestAttr

= attribute_for_address

where: attribute_for_address is the attribute to be used to return the IP address in the Access-Accept. This attribute must be consistent with an IPv4 IP address. (It is

http://www.juniper.net/techpubs/software/aaa_802/sbrc/sbrc70/sw-sbrc-referenc... 11/11/2011

Assigning IP Addresses Based on Access Point Name (APN)

Page 3 of 4

usually Framed-Ip-Address.) Example:


[Settings] AssignIpPoolDestAttr = Framed-Ip-Address

3. In the [IpPools] section of simauth.aut, define the Access Point Identifiers that associate specific pools with Access Points. Use the following format: attribute-value = poolname where: attribute-value is the Access Point identifier. poolname is the name of an IP address pool created using the Steel-Belted Radius Carrier Administrator. (See Chapter 10, Administering Address Pools in the SteelBelted Radius Carrier Administration and Configuration Guide.) Example:
[IpPools] ASN1 = Pool1 ASN2 = Pool2 * = Default_Pool

Figure 26 shows the configuration of simauth.aut for assigning IP address based on APN. In Figure 26, the AP is identified by the value of the attribute 3GPP-WLANAPN-Id. If the value of 3GPP-WLAN-APN-Id is APN1, then an IP address is taken from pool1. If the value is neither APN1 nor APN2, the address is taken from the pool named default_pool. The IP address is assigned to the attribute Framed-IPAddress. This attribute is returned in the Access-Accept. You create the IP address pools, Pool1, Pool2, and Default_Pool, using the SteelBelted Radius Carrier Administrator as described in Chapter 10, Administering Address Pools in the Steel-Belted Radius Carrier Administration and Configuration Guide. Figure 26: Configuration of IP Address Assignment Based on Access Point

http://www.juniper.net/techpubs/software/aaa_802/sbrc/sbrc70/sw-sbrc-referenc... 11/11/2011

Assigning IP Addresses Based on Access Point Name (APN)

Page 4 of 4

Create the IP Address Pool


Refer to Chapter 10, Administering Address Pools in the Steel-Belted Radius Carrier Administration and Configuration Guide. [Contents] [Prev] [Next] [Index] [Report an Error] [No Frames] Site Map RSS Feeds Careers Accessibility Feedback Privacy & Policy Legal Notices Copyright 1999-2010 Juniper Networks, Inc.

http://www.juniper.net/techpubs/software/aaa_802/sbrc/sbrc70/sw-sbrc-referenc... 11/11/2011

You might also like