beautypg.com

Dhcp server with nat configuration example – Paradyne CSU User Manual

Page 162

background image

5. Configuring the FrameSaver SLV Router

5-12

September

2002

9128-A2-GB20-80

DHCP Server with NAT Configuration Example

In this DHCP Server with NAT example:

T

The clients are using dynamic IP address assignment and use the Ethernet
interface of the router as the next hop router (default gateway).

T

The DHCP server assigns private IP addresses which are converted to public
IP addresses by NAT.

T

The network interface must be numbered.

T

The router is configured as the DHCP server giving the private IP addresses
to the clients.

T

The Ethernet interface is in private address space. NAT is used for one-to-one
mapping of addresses.

The command line syntax for this example, where

x is the number configured for

the sub-interface, is:

ip nat pool public 192.128.22.1 netmask 255.255.255.0
access-list 1 permit 10.1.1.0 0.0.0.255
ip nat inside source list 1 pool public
interface ethernet 0
ip nat inside
interface serial 0.

x

ip nat outside

Public IP Addresses for NAT

Private IP Addresses

192.128.22.1

10.1.3.2

192.128.22.2

10.1.3.3

. . .

. . .

192.128.22.nnn

10.1.3.nnn

NAT with DHCP Server

02-17300

NAT

Private IP

Address

Public IP

Addresses

DHCP

Pool

Public

Network

Ethernet

Private

Network

FrameSaver SLV Router

This manual is related to the following products: