Both offices use private addresses. The corporate office has a dual T-3 link and a
public FTP server that has a global address (that is, it does not need translation).
Figure 6: NAPT Example
The address pool consists of three addresses (the number of addresses is small,
because NAPT is used). Addresses matching the private address spaces of the
corporate and field subnetworks are translated to global addresses from the pool
through NAPT.
To configure this example:
1.
Enter the correct virtual router context.
host1(config)#
virtual-router blue
2.
Mark the inside interfaces.
a.
Mark the field office:
host1:blue(config)#
interface serial 2/1:1/1
host1:blue(config-interface)#
ip nat inside
host1:blue(config-interface)#
exit
b.
Mark the two corporate T-3 links:
host1:blue(config)#
interface serial 1/1
host1:blue(config-interface)#
ip nat inside
host1:blue(config-interface)#
exit
host1:blue(config)#
interface serial 1/2
host1:blue(config-interface)#
ip nat inside
host1:blue(config-interface)#
exit
3.
Mark the outside interface.
host1:blue(config)#
interface gigabitEthernet 3/0.1
host1:blue(config-interface)#
ip nat outside
host1:blue(config-interface)#
exit
4.
Create a static nil-translation for the FTP server on the corporate network.
80
■
NAT Configuration Examples
JUNOSe 11.0.x IP Services Configuration Guide
Содержание JUNOSE 11.0.X IP SERVICES
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x IP Services Configuration Guide...
Страница 18: ...xviii Table of Contents JUNOSe 11 0 x IP Services Configuration Guide...
Страница 20: ...xx List of Figures JUNOSe 11 0 x IP Services Configuration Guide...
Страница 22: ...xxii List of Tables JUNOSe 11 0 x IP Services Configuration Guide...
Страница 28: ...2 Chapters JUNOSe 11 0 x IP Services Configuration Guide...
Страница 138: ...112 Monitoring J Flow Statistics JUNOSe 11 0 x IP Services Configuration Guide...
Страница 286: ...260 Monitoring IP Tunnels JUNOSe 11 0 x IP Services Configuration Guide...
Страница 312: ...286 Monitoring IP Reassembly JUNOSe 11 0 x IP Services Configuration Guide...
Страница 357: ...Part 2 Index Index on page 333 Index 331...
Страница 358: ...332 Index JUNOSe 11 0 x IP Services Configuration Guide...