Monitoring nat, Configuration examples, Static configuration – Cabletron Systems SMARTSWITCH ROUTER 9032578-05 User Manual

Page 250: Monitoring nat configuration examples

Advertising
background image

Chapter 16: Network Address Translation Configuration Guide

224

SmartSwitch Router User Reference Manual

Monitoring NAT

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

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:

The first step is to create the interfaces:

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

Then, define the NAT static rules:

Display NAT information.

nat show [translations all|

<type>

]

[timeouts] [statistics]

et.2.2

(192.50.20.1/24)

et.2.1

(10.1.1.1/24)

Global Internet

IP network 10.1.1.0/24

Router

interface 10-net

interface 192-net

10.1.1.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

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

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

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

Advertising