host1:blue(config)#
ip nat inside source static tcp 190.22.8.18 21 190.22.8.18
21
5.
Create the address pool for dynamic translations.
host1:blue(config)#
ip nat pool corpxyz 192.32.6.4 192.32.6.7 prefix-length 24
6.
Create the access list for addresses eligible for dynamic translation.
host1:blue(config)#
access-list justcorp permit 10.10.1.0 0.0.0.255
host1:blue(config)#
access-list justcorp permit 10.10.2.0 0.0.0.255
7.
Create the NAPT dynamic translation rule.
host1:blue(config)#
ip nat inside source list justcorp pool corpxyz overload
8.
Configure a default route to the outside interface.
host1:blue(config)#
ip route 0.0.0.0 0.0.0.0 gigabitEthernet 3/0.1
9.
Configure a null route for the inside global addresses to prevent routing loops
when no matching translation exists.
host1:blue(config)#
ip route 192.32.6.0 255.255.255.248 null 0
NOTE:
Null route applies to 192.32.6.0–192.32.6.3, which do not exist in the address
pool
All hosts that use private addresses in both the field office and the corporate office
must have their addresses translated to one of the three addresses in the pool. Because
this example uses NAPT, the interface can use only one pool address, depending on
the number of inside hosts attempting to access the outside at any given time.
Bidirectional NAT Example
Figure 7 on page 82 illustrates how outside hosts can initiate conversations with
inside hosts through the use of a DNS server that resides on the inside network.
The inside realm uses basic NAT. The inside network uses a mix of private subnetwork
address space (192.168.22/24) and registered public addresses.
NAT Configuration Examples
■
81
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...