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:
Configuring a Remotely Controlled NAT Pool
To configure a remotely controlled NAT pool:
- Create a NAT pool, and specify a name for the
pool.[edit services]user@host# edit nat pool bgf-pool
- 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
- 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
- Specify that the NAT pool is used exclusively
by the BGF. [edit services nat pool bgf-pool]user@host# set pgcp
- 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
- 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, two ports are available. To
support the extra ports required for combined voice and video flows,
you can specify four 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 the transport protocol:
- Create a NAT pool, and specify a name for the
pool.[edit services]user@host# edit nat pool bgf-pool
- 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
- Specify that the NAT pool is used exclusively
by the BGF. [edit services nat pool bgf-pool]user@host# set pgcp
- 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]
- Specify that the port is automatically
assigned. [edit services nat pool bgf-pool]user@host# set port automatic
- 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, two ports are available. To
support the extra ports required for combined voice and video flows,
you can specify four ports.[edit services nat pool bgf-pool]user@host# set pgcp ports-per-session 4
