DSL Router Configuration Examples
Basic NAT Configuration Example
Customer Premises (CP)
Core
Router
155.1.3.1Console Port
|
| Connection | |
DSL |
| Ethernet | |
WAN |
| eth1 | |
dsl1 | DSL | ||
155.1.3.2 | 10.1.3.1 | ||
Router |
Hub
Systems
10.1.3.2
10.1.3.3
10.1.3.4
10.1.3.5
| |
|
|
NAT Mapping Public IP Addresses | Private IP Addresses |
|
|
192.128.1.1 | 10.1.3.2 |
|
|
192.128.1.2 | 10.1.3.3 |
|
|
192.128.1.3 | 10.1.3.4 |
|
|
192.128.1.4 | 10.1.3.5 |
|
|
In this Basic NAT example:
HNAT is used for
HThere are four private IP addresses configured on the Ethernet side of the DSL router with NAT static mappings to four public IP addresses.
HThe Ethernet interface (eth1) is in the private address space and the DSL interface is in public address space.
HThe next hop router (default gateway) for the clients is the Ethernet IP address of the DSL router, 10.1.3.1.
The command line syntax for this example is:
ifn address eth1:1 10.1.3.1 255.255.255.248 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 map 192.128.1.1 10.1.3.2 10.1.3.5 nat basic enable
August 2000 |