host1:vr1(config-interface)#
ip demux-type da-prefix
host1:vr1(config-interface)#
exit
4.
Create the address pool for dynamic translations.
host1:vr1(config)#
virtual-router vr1:vrf11
host1:vr1:vrf11(config)#
ip nat pool entApool 128.13.44.0 128.13.44.255
prefix-length 24
5.
Create the access list for addresses eligible for dynamic translation.
host1:vr1:vrf11(config)#
access-list entA permit 10.16.5.0 0.0.0.255
6.
Create the dynamic translation rule.
host1:vr1:vrf11(config)#
ip nat inside source list entA pool entApool
7.
Create the subscriber interface off the uplink.
host1:vr1:vrf11(config)#
interface ip vrf11vr1
host1:vr1:vrf11(config-interface)#
ip share-interface atm 12/0.101
host1:vr1:vrf11(config-interface)#
ip unnumbered loopback 1
8.
Configure a group of destination prefixes with which the device can communicate
on the public network.
host1:vr1:vrf11(config-interface)#
ip destination-prefix 128.13.44.0
255.255.255.0
9.
Mark the subscriber interface as outside.
host1:vr1:vrf11(config-interface)#
ip nat outside
host1:vr1:vrf11(config-interface)#
exit
10.
Point the default route to the shared interface.
host1:vr1:vrf11(config)#
ip route 0.0.0.0 0.0.0.0 ip vrf11vr1
11.
Install a null route to avoid routing loops to the inside global address.
host1:vr1:vrf11(config)#
ip route 128.13.44.0 255.255.255.0 null 0
Tunnel Configuration Through NAT Examples
PPTP uses enhanced GRE encapsulation for PPP payloads. After the PPTP tunnel
setup process, PPP packets are exchanged using GRE encapsulation. It is critical that
a NAT device that resides between PPTP client and PPTP server allow GRE flows.
This section contains NAT configuration examples for both inside and outside PPTP
tunnel setup through NAT.
86
■
Tunnel Configuration Through NAT Examples
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...