beautypg.com

Napt configuration example, Napt – Paradyne Hotwire Routers User Manual

Page 34

background image

DSL Router Configuration Examples

4-4

6371-A2-GB20-10

August 2000

NAPT Configuration Example

00-16611-02

Customer Premises (CP)

DSL

Router

Hub

10.1.3.2

10.1.3.3

10.1.3.4

End-user

Systems

Console
Port
Connection

Ethernet

eth1
10.1.3.1

DSL

Core

Router

dsl1

155.1.3.2

WAN

155.1.3.1

10.1.3.

n

NAPT Mapping Public IP Addresses

Private IP Addresses

155.1.3.2 Port 23

10.1.3.4

155.1.3.2 Port 23

10.1.3.2

155.1.3.2 Port 23

10.1.3.3

155.1.3.2 Port

n

10.1.3.

n

In this NAPT example:

H

The DSL router is configured for NAPT using a single public IP address.

H

When using NAPT, the DSL interface (dsl1) must be numbered because the
Ethernet interface will be configured within the private address space.

H

NAPT static mapping is configured for a server (Telnet port 23) on the
Ethernet interface but publicly available.

The command line syntax for this example is:

ifn

address eth1 10.1.3.1 255.255.255.0

ifn

address dsl1 155.1.3.2 255.255.255.0

ip route create upstream eth1 155.1.3.1

nat napt address 155.1.3.2

nat napt map tcp 10.1.3.4 23

nat napt enable