Create a NAT pool, and specify a name for the
pool.
[edit services]
user@host#edit nat pool bsg_rtp_nat_pool
Configure an address range for the pool.
[edit services nat pool bsg_rtp_nat_pool]
user@host#set address-range low 10.10.20.100
high 10.10.30.100
Configure a range of ports, or specify
that ports are automatically assigned.
[edit services nat pool bsg_rtp_nat_pool]
user@host#set port automatic
Specify that the NAT pool is used exclusively
by the BGF.
[edit services nat pool bsg_rtp_nat_pool]
user@host#set pgcp
Configure the number of ports allocated
to voice and video flows on each gate. By default two ports are available.
However, if you want to allocate two ports—one for video and
one for voice—to both the Real-Time Transport Protocol (RTP)
and the accompanying Real-Time Control Protocol (RTCP) flow, specify
four ports.
[edit services nat pool bsg_rtp_nat_pool]
user@host#set pgcp ports-per-session 2
Related Topics
Chapter 9, Summary of Network Address Translation
Configuration Statements in JUNOS Services Interfaces Configuration Guide