Napt configuration example – Paradyne 6342 User Manual

Page 48

Advertising
background image

4. DSL Router Configuration Examples

4-6

November

2003

6300-A2-GB20-10

NAPT Configuration Example

In this NAPT example:

„

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

„

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

„

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

The commands and syntax for this example are:

ip routing enable

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

nap napt map tcp 10.1.3.2 80

nat napt enable

NAPT Mapping Public IP Addresses

Private IP Addresses

inbound 155.1.3.2, destination Port 23

10.1.3.4 (Telnet server)

inbound 155.1.3.2, destination Port 80

10.1.3.2 (Web server)

01-16611-03

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.8

Telnet
Server

Web Server

Advertising
This manual is related to the following products: