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
11.
Configure a null route for the inside global addresses to prevent routing loops when
no matching translation exists.
host1:blue(config)#
ip route 12.220.1.0 255.255.0.0 null 0
Cross-VRF Example
In MPLS VPN configurations, you might want to offer public Internet access to VPN
subscribers. MPLS VPNs are enabled through the use of VRFs. If a VPN is using a private
or overlapping address space, you can use NAT to enable access to the public network
because the NAT implementation is both VR and VRF aware. Figure 9 on page 81
illustrates how the subscriber interface feature of the router is used in conjunction with
NAT to connect the VPNs to the public network.
Figure 9: Cross-VRF Example
VRF11 is the local (this PE) representation of the MPLS VPN and connects enterpriseA
to the VPN. Enterprise A communicates to VRFs in other PE devices (the rest of the VPN)
through RFC2547bis (MPLS VPNs). VR1, of which the VRF is administratively a member,
represents the public network. The interface to EnterpriseA is marked as an inside
interface. The normal steps for configuring inside source translation are applied. A
81
Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Configuring NAT
Содержание JUNOSE 11.2.X IP SERVICES
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Страница 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Страница 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Страница 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Страница 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Страница 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Страница 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Страница 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Страница 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Страница 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Страница 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Страница 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...