DSL Router Configuration Examples
NAPT Configuration Example
|
|
| Customer Premises (CP) | ||
|
|
|
|
| Systems |
Core |
|
|
| 10.1.3.2 |
|
|
|
|
|
| |
Router |
|
|
| 10.1.3.3 |
|
|
|
|
|
| |
155.1.3.1 |
| Console |
|
| |
| Port | 10.1.3.4 |
| ||
|
|
|
| ||
|
|
| Connection |
| |
|
|
|
|
| |
WAN | DSL |
| Ethernet | Hub |
|
dsl1 |
| eth1 |
| ||
| DSL | 10.1.3.n |
| ||
155.1.3.2 | 10.1.3.1 |
| |||
Router |
|
| |||
|
|
|
|
| |
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:
HThe DSL router is configured for NAPT using a single public IP address.
HWhen using NAPT, the DSL interface (dsl1) must be numbered because the Ethernet interface will be configured within the private address space.
HNAPT 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
August 2000 |