Figure 8: Twice NAT Example
To configure this example:
1.
Enter the correct virtual router context.
host1(config)#
virtual-router blue
2.
Mark the inside interface.
host1:blue(config)#
interface fast-ethernet 6/1
host1:blue(config-interface)#
ip nat inside
host1:blue(config-interface)#
exit
3.
Mark the outside Interface.
host1:blue(config)#
interface atm 3/0.20
host1:blue(config-interface)#
ip nat outside
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.
Copyright © 2010, Juniper Networks, Inc.
80
JunosE 11.2.x IP Services Configuration Guide
Содержание 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...