Professional Documents
Culture Documents
Page 1 of 4
Steel Belted Radius Carrier 7.0 Reference Guide > Configuring the Special Attribute Handling Features > Assigning IP Addresses Based on 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
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.
= 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
Page 3 of 4
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
Page 4 of 4
http://www.juniper.net/techpubs/software/aaa_802/sbrc/sbrc70/sw-sbrc-referenc... 11/11/2011