■
Use to create static translations for a source address (or address/port pair) when
routing a packet from the inside network to the outside network, and to
untranslate
the destination address (or address/port pair) when a packet returns
from the outside network to the inside network.
■
A static translation created with the
ip nat inside source static
command enables
any outside host to contact the inside host by using the inside global address of
the inside host. A static translation can be used by traffic that is initiated in either
direction
■
Example 1—Simple address translation
host (config) #
ip nat inside source static 10.1.2.3 171.69.68.10
■
Example 2—Extended address/port translation
host (config) #
ip nat inside source static tcp 10.1.2.3 15 171.69.68.10 30
■
Use the
no
version to remove the static translation and purge the associated
translations from the translation table.
■
See ip nat inside source static.
Creating Static Outside Source Translations
Less commonly used, outside source translation enables you to set up translation
between two non-unique or not publicly routable networks (for example, two separate
networks that use overlapping IP address blocks).
ip nat outside source static
■
Use to translate the source address when routing a packet from the outside
network to the inside network, and to
untranslate
the destination address when
a packet travels from the inside network to the outside network.
■
Creates a simple (IP address only) or extended (IP address, protocol, and port)
entry in the translation table that maps the two addresses.
■
A static translation created with the
ip nat outside source static
command
enables any inside host to contact the outside host by using the outside local
address of the outside host. A static translation can be used by traffic that is
initiated in either direction.
■
Example 1—Simple address translation
host (config) #
ip nat outside source static 171.69.68.10 10.1.2.3
■
Example 2—Extended address/port translation
host (config) #
ip nat outside source static tcp 171.69.68.10 56 10.1.2.3 24
■
Use the
no
version to remove the static translation and purge the associated
translations from the translation table.
■
See ip nat outside source static.
Defining Static Address Translations
■
73
Chapter 2: Configuring NAT
Содержание 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...