4. DSL Router Configuration Examples
PPPoE Client with NAPT and DHCP Server Configuration Example
Customer Premises (CP)
DNS |
|
|
Name | SMS |
|
Server |
|
|
132.53.4.2 PPPoE | Console | |
|
| Port |
Connection
DSL |
| Ethernet |
WAN |
| eth1 |
dsl1 | DSL | |
| 10.1.3.10 | |
| Router |
Systems
10.1.3.2
10.1.3.3
Hub
10.1.3.9
In this PPPoE client with NAPT and DHCP server example:
The clients are using dynamic IP address assignment and use the Ethernet interface (eth1) of the DSL router as the next hop router (default gateway).
The DSL router is configured as the DHCP server providing the private IP addresses to the clients.
The Ethernet interface is in private address space.
The DSL interface and the NAPT public IP address will be assigned the IP address negotiated during the network layer protocol phase of PPP.
The commands and syntax for this example are:
ip routing enable bridging disable
ifn address eth1 10.1.3.10 255.255.255.0 pppoe enable
ppp authentication chap
pppusername paradyne@network ppp password abc123
ppp ip dsl1 255.255.255.0 nat napt enable
dhcp server addresses 10.1.3.2 10.1.3.9 dhcp server router 10.1.3.10
dhcp server nameserver 132.53.4.2 dhcp server enable
NOTE:
This configuration is only valid for firmware release 4.3.x or higher.
November 2003 |