Technical Documentation

Configuring NAT Pools for the BGF

You can configure a network address translation (NAT) pool that is exclusive to the BGF.

This topic includes the following tasks:

  1. Configuring a Remotely Controlled NAT Pool
  2. Configuring a NAT Pool Selected Based on Transport Protocol

Configuring a Remotely Controlled NAT Pool

To configure a remotely controlled NAT pool:

  1. Create a NAT pool, and specify a name for the pool.
    [edit services]user@host# edit nat pool bgf-pool
  2. Configure an address range for the pool.
    [edit services nat pool bgf-pool]user@host# set address-range low 10.10.20.100 high 10.10.30.100
  3. Configure a range of ports. If you configure the NAT pool as remotely controlled, you must set a specific port range rather than using an automatic assignment of ports.
    [edit services nat pool bgf-pool]user@host# set port range low 10000 high 50000
  4. Specify that the NAT pool is used exclusively by the BGF.
    [edit services nat pool bgf-pool]user@host# set pgcp
  5. Specify that the gateway controller controls the addresses and ports in a NAT pool. The gateway controller reserves the addresses and ports when it requests specific local NAT bindings for remote addresses. (By default, the BGF controls the addresses and ports in a pool.)
    [edit services nat pool bgf-pool]user@host# set pgcp remotely-controlled
  6. Configure the number of ports allocated to voice and video flows on the MultiServices PIC or MS-DPC. This value is useful when one port is allocated for Real-Time Transport Protocol (RTP), and the accompanying Real-Time Control Protocol (RTCP) flow uses the other port. By default, 2 ports are available. To support the extra ports required for combined voice and video flows, you can specify 4 ports.
    [edit services nat pool bgf-pool]user@host# set pgcp ports-per-session 4

Configuring a NAT Pool Selected Based on Transport Protocol

To configure a NAT pool selected based on transport protocol:

  1. Create a NAT pool, and specify a name for the pool.
    [edit services]user@host# edit nat pool bgf-pool
  2. Configure an address range for the pool.
    [edit services nat pool bgf-pool]user@host# set address-range low 10.10.20.100 high 10.10.30.100
  3. Specify that the NAT pool is used exclusively by the BGF.
    [edit services nat pool bgf-pool]user@host# set pgcp
  4. Specify one or more transport protocols that must match the transport protocol in the media descriptor of Add or Modify requests from the gateway controller.
    [edit services nat pool bgf-pool]user@host# set pgcp transport [rtp-avp udp]
  5. Specify that the port is automatically assigned.
    [edit services nat pool bgf-pool]user@host# set port automatic
  6. Configure the number of ports allocated to voice and video flows on the MultiServices PIC or MS-DPC. This value is useful when one port is allocated for Real-Time Transport Protocol (RTP), and the accompanying Real-Time Control Protocol (RTCP) flow uses the other port. By default, 2 ports are available. To support the extra ports required for combined voice and video flows, you can specify 4 ports.
    [edit services nat pool bgf-pool]user@host# set pgcp ports-per-session 4

Published: 2010-01-26