Chapter 16: Network Address Translation Configuration Guide

Monitoring NAT

To display NAT information, enter the following command in Enable mode.

Display NAT information.

nat show [translations all<type>] [timeouts] [statistics]

Configuration Examples

This section shows examples of NAT configurations.

Static Configuration

The following example configures a static address binding for inside address 10.1.1.2 to outside address 192.50.20.2:

Outbound: Translate source 10.1.1.2 to 192.50.20.2

Inbound: Translate destination 192.50.20.2 to 10.1.1.2

 

 

 

 

 

Router

IP network 10.1.1.0/24

 

 

et.2.1

et.2.2

 

 

 

 

 

 

 

 

 

 

 

 

interface 10-net

10.1.1.2(10.1.1.1/24)

Global Internet

interface 192-net (192.50.20.1/24)

The first step is to create the interfaces:

interface create ip 10-net address-netmask 10.1.1.1/24 port et.2.1 interface create ip 192-net address-netmask 192.50.20.1/24 port et.2.2

Next, define the interfaces to be NAT “inside” or “outside”:

nat set interface 10-net inside nat set interface 192-net outside

Then, define the NAT static rules:

nat create static protocol ip local-ip 10.1.1.2 global-ip 192.50.20.2

224

SmartSwitch Router User Reference Manual

Page 250
Image 250
Cabletron Systems 9032578-05 manual Monitoring NAT, Static Configuration, This section shows examples of NAT configurations