Document ID: 17644
Contents
Introduction
Prerequisites
Requirements
Components Used
Conventions
NAT on a Single Physical Interface, but with Two (or more) Subinterfaces
Summary
Affected Products
Affected Versions
More Information
Related Information
Introduction
This document discusses Knowledge Base Article C000138.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to specific software and hardware versions.
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.
NAT on a Single Physical Interface, but with Two (or more) Subinterfaces
Summary
The public routable address must be on the primary interface and not on any of the secondary subinterfaces.
Affected Products
|
1200i |
2200R |
4000S |
|
1220i |
2220R |
VSR-2 |
|
1250i |
2250R |
VSR-8 |
|
1270i |
2270R |
IntraGuard |
|
2600i |
3500R |
Affected Versions
Versions later than 4.2
More Information
The public routable address (provided to you by your ISP) must be on the primary interface and not on any of the secondary subinterfaces.
This example is on an MR2200R where the Ethernet 0 port is used as the NAT port:
Bad:
E0 192.168.10.1/24 E0.1 198.41.12.1/24 Natmap=on for Ethernet 0
Good:
E0 198.41.12.1/24 E0.1 192.168.10.1/24 Natmap=on for Ethernet 0
These lines are the rest of the NAT configuration in this example.
Nat Global:
InternalRange=192.168.10.0 ExternalRange=198.41.12.1 enabled=on
IP Static:
0.0.0.0 0.0.0.0 198.41.12.1 1
All 192.168.10.x devices must have a default gateway of 198.168.10.1.
Related Information
| Updated: May 03, 2004 | Document ID: 17644 |
