host1:blue(config-interface)#
exit
4.
Create the address pool for inside source translations.
host1:blue(config)#
ip nat pool entAoutpool 12.220.1.0 12.220.255.255
prefix-length 16
NOTE:
This pool is purposely smaller than the size of the company network because
not all private hosts are likely to access the public network at the same time.
5.
Create the access list for addresses eligible for dynamic translation.
host1:blue(config)#
access-list entAout permit 15.12.0.0 0.0.255.255
6.
Create the dynamic translation rule for outbound traffic.
host1:blue(config)#
ip nat inside source list entAout pool entAoutpool
7.
Create the address pool for outside source translations.
Using an address range of 10.1.32.0/8 prevents any overlap with the private
network (15.12.0.0/16).
host1:blue(config)#
ip nat pool entAinpool 10.1.32.1 10.1.32.255
prefix-length 16
NOTE:
This pool is purposely small, allowing for only a few connections.
8.
Configure the access list for global addresses that overlap with inside addresses.
host1:blue(config)#
access-list entAin permit 15.12.0.0 0.0.255.255
9.
Create the dynamic translation rule for inbound traffic.
host1:blue(config)#
ip nat outside source list entAin pool entAinpool
10.
Create one of the following:
■
A route to the outside interface for inside hosts to access outside hosts that
have overlapping addresses.
host1:blue(config)#
ip route 10.1.32.0 255.255.255.0 atm 3/0.1
NOTE:
An inside host cannot directly access hosts on the outside network that use
addresses that overlap with the inside subnetwork. However, by using outside source
translation and DNS name resolution, the NAT router can install translations so inside
hosts can access these outside hosts by using nonoverlapping addresses.
■
A default route to the outside interface.
host1:blue(config)#
ip route 0.0.0.0 0.0.0.0 atm 3/0.1
84
■
NAT Configuration Examples
JUNOSe 11.1.x IP Services Configuration Guide
Summary of Contents for IP SERVICES - CONFIGURATION GUIDE V 11.1.X
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 1 x IP Services Configuration Guide...
Page 18: ...xviii Table of Contents JUNOSe 11 1 x IP Services Configuration Guide...
Page 20: ...xx List of Figures JUNOSe 11 1 x IP Services Configuration Guide...
Page 22: ...xxii List of Tables JUNOSe 11 1 x IP Services Configuration Guide...
Page 28: ...2 Chapters JUNOSe 11 1 x IP Services Configuration Guide...
Page 138: ...112 Monitoring J Flow Statistics JUNOSe 11 1 x IP Services Configuration Guide...
Page 286: ...260 Monitoring IP Tunnels JUNOSe 11 1 x IP Services Configuration Guide...
Page 312: ...286 Monitoring IP Reassembly JUNOSe 11 1 x IP Services Configuration Guide...
Page 357: ...Part 2 Index Index on page 333 Index 331...
Page 358: ...332 Index JUNOSe 11 1 x IP Services Configuration Guide...