beautypg.com

Dhcp server with basic nat configuration example, Dhcp server with basic nat – Paradyne Hotwire Routers User Manual

Page 37

background image

DSL Router Configuration Examples

4-7

6371-A2-GB20-10

August 2000

DHCP Server with Basic NAT Configuration Example

00-16613-01

Customer Premises (CP)

DSL

Router

Hub

10.1.3.2

10.1.3.3

10.1.3.9

End-user

Systems

Console
Port
Connection

Ethernet

eth1
10.1.3.10

DSL

Core

Router

dsl1

155.1.3.2

WAN

155.1.3.1

Public IP Addresses for Basic NAT

Private IP Addresses

192.128.1.1

10.1.3.2

192.128.1.2

10.1.3.3

. . .

. . .

192.128.1.8

10.1.3.9

In this DHCP Server with Basic NAT example:

H

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

H

The DSL interface (dsl1) must be numbered.

H

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

H

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 is:

ifn

address eth1 10.1.3.10 255.255.255.240

ifn

address dsl1 155.1.3.2 255.255.255.0

ip route create upstream eth1 155.1.3.1

nat basic address 192.128.1.0

nat basic enable

dhcp server addresses 10.1.3.2 10.1.3.9

dhcp server router 10.1.3.10

dhcp server enable