beautypg.com

2 dynamic configuration, Dynamic configuration -7 – Riverstone Networks WICT1-12 User Manual

Page 493

background image

Riverstone Networks RS Switch Router User Guide Release 8.0 21-7

Network Address Translation Configuration

Configuration Examples

21.8.2

Dynamic Configuration

The following example configures a dynamic address binding for inside addresses 10.1.1.0/24 to outside address
192.50.20.0/24:

Figure 21-2 Dynamic address binding configuration

1.

The first step is to create the interfaces:

2.

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

3.

Then, define the NAT dynamic rules by first creating the source ACL pool and then configuring the
dynamic bindings:

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

acl lcl permit ip 10.1.1.0/24

nat create dynamic local-acl-pool lcl global-pool 192.50.20.0/24

HW

HW

*OREDO ,QWHUQHW

,3 QHWZRUN

5RXWHU

LQWHUIDFH QHW

LQWHUIDFH QHW

2XWERXQG 7UDQVODWH VRXUFH SRRO WR JOREDO SRRO