Chapter 11 Configuring PPP over Ethernet with NAT

Configuration Tasks

DETAILED STEPS

 

Command

Purpose

Step 1

 

 

ip nat pool name start-ip end-ip {netmask

Creates pool of global IP addresses for NAT.

 

netmask prefix-lengthprefix-length}

 

 

Example:

 

 

Router(config)# ip nat pool pool1

 

 

192.168.1.0 192.168.2.0 netmask

 

 

255.255.252.0

 

 

Router(config)#

 

Step 2

 

 

ip nat inside source {list

Enables dynamic translation of addresses on the

 

access-list-number} {interface type number

inside interface.

 

pool name} [overload]

The first example shows the addresses permitted

 

 

 

Example:

by the access list 1 to be translated to one of the

 

Router(config)# ip nat inside source list 1

addresses specified in the dialer interface 0.

 

 

 

interface dialer 0 overload

The second example shows the addresses

 

or

permitted by access list acl1 to be translated to one

 

of the addresses specified in the NAT pool pool1.

 

 

 

Example:

For details about this command and additional

 

Router(config)# ip nat inside source list

parameters that can be set, as well as information

 

about enabling static translation, see Cisco IOS IP

 

acl1 pool pool1

 

 

Command Reference, Volume 1 of 4: Addressing

 

 

and Services.

Step 3

 

 

interface type number

Enters configuration mode for the VLAN (on

 

Example:

which the Fast Ethernet LAN interfaces

 

[FE0–FE3] reside) to be the inside interface for

 

Router(config)# interface vlan 1

NAT.

 

Router(config-if)#

 

Step 4

 

 

ip nat {inside outside}

Identifies the specified VLAN interface as the

 

Example:

NAT inside interface.

 

For details about this command and additional

 

Router(config-if)# ip nat inside

 

parameters that can be set, as well as information

 

Router(config-if)#

 

about enabling static translation, see Cisco IOS IP

 

 

 

 

Command Reference, Volume 1 of 4: Addressing

 

 

and Services.

Step 5

 

 

no shutdown

Enables the configuration changes just made to the

 

Example:

Ethernet interface.

 

 

 

Router(config-if)# no shutdown

 

 

Router(config-if)#

 

Step 6

 

 

exit

Exits configuration mode for the Fast Ethernet

 

Example:

interface.

 

 

 

Router(config-if)# exit

 

 

Router(config)#

 

 

 

 

 

Cisco 819 Series Integrated Services Routers Software Configuration Guide

11-8

OL-23590-02

Page 134
Image 134
Cisco Systems C819GUK9, C819HG4GVK9 manual 11-8