Configuring a NAT Pool Selected Based on Transport Protocol
Step-by-Step Procedure
To configure a NAT pool that can be selected based on its transport
protocol:
Create a NAT pool, and specify a name for the
pool.
[edit services]
user@host#edit nat pool pgcp-pool
Configure an address range for the pool.
[edit services nat pool pgcp-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 pgcp-pool]
user@host#set port range low 10000 high 50000
Specify that the NAT pool is used exclusively
by the packet gateway.
[edit services nat pool pgcp-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 PGC.
[edit services nat pool pgcp-pool]
user@host#set pgcp transport [rtp-avp udp]
Specify that the port is automatically
assigned.
[edit services nat pool pgcp-pool]
user@host#set port automatic
Configure the number of ports allocated
to voice and video flows on the MultiServices PIC. 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.