■
Use the
no
version to remove the range for the current address pool.
■
See address.
ip nat pool
■
Use to create address pools.
■
Example 1—Creating a single, continuous range
host (config) #
ip nat pool singlerange
171.69.40.1 171.69.40.100
prefix-length 30
■
Example 2—Creating multiple, discontinuous ranges
host (config) #
ip nat pool multiplerange prefix-length 30
host (config-ipnat-pool)#
address
171.69.40.110 171.69.40.112
host (config-ipnat-pool)#
address
171.69.40.118 171.69.40.120
host (config-ipnat-pool)#
exit
■
Use the
no
version to remove the address range.
■
See ip nat pool.
Defining Dynamic Translation Rules
You can use the CLI to define dynamic translation rules for inside and outside sources.
CAUTION:
You must mark interfaces that participate in NAT translation as on the
inside or the outside network. See “Specifying Inside and Outside Interfaces” on
page 71 for details.
You can create a dynamic translation rule to configure inside source or outside source
translation. If the NAT router cannot locate a matching entry in its translation database
for a given packet, it evaluates the access list of all applicable dynamic translation
rules (inside source translation rules for outbound packets and outside source
translation rules for inbound packets) against the packet. If an access list permits
translation, the NAT router tries to allocate an address from the associated address
pool to install a new translation.
When you create dynamic translation rules, keep the following in mind:
■
You can associate a list with one pool at any given time. Associating a list with
a different pool replaces the previous association.
■
The optional overload keyword for inside source translation specifies that the
router employ NAPT.
■
You can configure dynamic NAPT for inside source translation only; you cannot
configure dynamic NAPT for outside source translation.
■
When no match occurs for any dynamic translation rule, the NAT router does
not translate the packet.
76
■
Defining Dynamic Translations
JUNOSe 11.1.x IP Services Configuration Guide
Содержание IP SERVICES - CONFIGURATION GUIDE V 11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 1 x IP Services Configuration Guide...
Страница 18: ...xviii Table of Contents JUNOSe 11 1 x IP Services Configuration Guide...
Страница 20: ...xx List of Figures JUNOSe 11 1 x IP Services Configuration Guide...
Страница 22: ...xxii List of Tables JUNOSe 11 1 x IP Services Configuration Guide...
Страница 28: ...2 Chapters JUNOSe 11 1 x IP Services Configuration Guide...
Страница 138: ...112 Monitoring J Flow Statistics JUNOSe 11 1 x IP Services Configuration Guide...
Страница 286: ...260 Monitoring IP Tunnels JUNOSe 11 1 x IP Services Configuration Guide...
Страница 312: ...286 Monitoring IP Reassembly JUNOSe 11 1 x IP Services Configuration Guide...
Страница 357: ...Part 2 Index Index on page 333 Index 331...
Страница 358: ...332 Index JUNOSe 11 1 x IP Services Configuration Guide...