NAT 1:1 [Документация VAS Experts]

NAT 1:1

If a subscriber has the NAT 1:1 service activated, then the VasExperts-NAT-IP attribute (VSA vendorId=43823, attrId=21) containing the subscriber's white address will be added to the Accounting-Request. TheFramed-IP-Address attribute holds the gray address of the subscriber.

Starting from the VAS Experts DPI version 8.1 it is possible to pass the white IP address within the Framed-IP-Address if the subscriber has the NAT 1:1 service activated. For this purpose you should specify the acct_framed_ip_address_nat fastpcrf.conf option.

By default acct_framed_ip_address_nat=0 and the attributes have the following values:

  • Framed-IP-Address - gray subscriber address.
  • Calling-Station-Id - subscriber MAC address, if it is known (subscriber MAC addresses are known only in L2 BRAS mode). If the MAC address is unknown, this attribute is not used.
  • VasExperts-NAT-IP - white subscriber address, if the subscriber has the NAT 1:1 service activated. If NAT 1:1 is not activated, this attribute is not present.

If the acct_framed_ip_address_nat=1 and subscriber has the NAT 1:1 service activated, then Accounting-Request will contain attributes with the following values:

  • Framed-IP-Address - white subscriber address behind NAT 1: 1
  • Calling-Station-Id - gray subscriber address
  • VasExperts-NAT-IP - white subscriber address

If subscriber hasn't the NAT 1:1 service activated, then the attributes will have values as if acct_framed_ip_address_nat = 0 was specified.