DSL Router Configuration Examples
4-7
6371-A2-GB20-00
March 2000
DHCP Server with Basic NAT Configuration Example
99-16613
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
e0
10.1.3.10
DSL
Core
Router
d0
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
(e0) interface of the DSL router as the next hop router.
H
The DSL (d0) interface 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 is:
ifn address e0 10.1.3.10 255.255.255.240
ifn address d0 155.1.3.2 255.255.255.0
ip route create upstream e0 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