CAUTION:
Only packets routed between an inside and an outside interface are subject
to translation.
You can unmark an interface by using the no version of this command.
ip nat
■
Use to mark an IP interface as participating in NAT translation.
■
Use the keyword (
inside
or
outside
) to specify the side of the network on which
the interface resides.
■
Example
host (config-if) #
ip nat inside
■
Use the
no
version to unmark the interface (the default) so that it does not
participate in NAT translation.
■
See ip nat.
Defining Static Address Translations
Static address translation establishes a one-to-one mapping between a local and
global address or local and global address/port pair. When you specify a static address
translation or address/port pair translation, you issue commands to indicate how the
translation is applied, along with more specific variables that further define the type
of translation.
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.
Creating Static Inside Source Translations
You use the
ip nat inside source static
command to create static translations from
a local IP address to a global IP address, and to
untranslate
the destination address
when a packet returns from the outside network to the inside network. When you
configure traditional NAT (both basic NAT and NAPT), you only need to use this
command alone. However, when you configure twice NAT, you must also use “ip
nat outside source static” on page 73 .
The
ip nat inside source static
command creates a simple (IP address only) or
extended (IP address, port, and protocol) entry in the translation table that maps the
two addresses.
ip nat inside source static
72
■
Defining Static Address 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...