subscriber interface is created off the uplink to the core network and anchored in the
VRF. A DA-based demultiplexer matching the inside global address range is configured
on the subscriber interface. The subscriber interface is marked as an outside interface.
To configure this example:
1.
Enter the correct virtual routing and forwarding instance.
host1(config)#
virtual-router vr1:vrf11
2.
Mark the inside interfaces.
host1:vr1:vrf11(config)#
interface fast-ethernet 6/1
host1:vr1:vrf11 (config-interface)#
ip nat inside
host1:vr1:vrf11 (config-interface)#
exit
3.
Set the primary interface to DA-type demultiplexer (for subsequent shared
interfaces).
host1:vr1(config)#
interface atm 12/0.101
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
Copyright © 2010, Juniper Networks, Inc.
82
JunosE 11.2.x IP Services Configuration Guide
Summary of Contents for JUNOSE 11.2.X IP SERVICES
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x IP Services Configuration Guide...
Page 18: ...Copyright 2010 Juniper Networks Inc xviii JunosE 11 2 x IP Services Configuration Guide...
Page 22: ...Copyright 2010 Juniper Networks Inc xxii JunosE 11 2 x IP Services Configuration Guide...
Page 28: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x IP Services Configuration Guide...
Page 116: ...Copyright 2010 Juniper Networks Inc 90 JunosE 11 2 x IP Services Configuration Guide...
Page 144: ...Copyright 2010 Juniper Networks Inc 118 JunosE 11 2 x IP Services Configuration Guide...
Page 230: ...Copyright 2010 Juniper Networks Inc 204 JunosE 11 2 x IP Services Configuration Guide...
Page 262: ...Copyright 2010 Juniper Networks Inc 236 JunosE 11 2 x IP Services Configuration Guide...
Page 294: ...Copyright 2010 Juniper Networks Inc 268 JunosE 11 2 x IP Services Configuration Guide...
Page 328: ...Copyright 2010 Juniper Networks Inc 302 JunosE 11 2 x IP Services Configuration Guide...
Page 345: ...PART 2 Index Index on page 321 319 Copyright 2010 Juniper Networks Inc...
Page 346: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x IP Services Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 330 JunosE 11 2 x IP Services Configuration Guide...