○
○
○
○
○
3 — Configuring Your Router
3-10
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
iv)
Configuring the WAN - For RFC 2364 PPPoA
a) To set the IP configuration of your WAN connection. The PPP module
supports multiple simultaneously connections, so we explicitly specify
Device
1
here. (This is required for PPP dial-out session):
ip device add ppp_device ether //ppp/DEVICE=
1
b) To set the PPP channel configuration, assuming the PVC given by your
ADSL Service Provider is
0/35
. CHAP authentication is used in this
example. Replace CHAP with PAP if you are using PAP authentication.
ADSL Service Provider will supply the
myuserid
and
mypassword
.
ppp
1
pvc
0 35
ip
ppp
1
welogin
myuserid
mypassword
chap
ppp
1
gateway local
ppp
1
enable
c) To check the PPP connection every 10 seconds. (This is to allow the PPP
session to automatically re-establish itself after an ADSL link disruption
and re-connection.):
ppp
1
echo every 10
d) If you do not want to enable NAT, you
may
enable the
PPP IP Unnumbered
feature
(availability will depend on your router package). PPP IP
Unnumbered allows you to enable IP processing on a serial interface
without assigning it an explicit IP address. The ip unnumbered interface
can 'borrow' the IP address of another interface that is already configured
on the router, thereby conserving network and address space.
(Assuming your LAN Subnet mask is
ff:ff:ff:f8
.)
ppp
1
disable
ppp
1
unnumbered enable
ppp
1
lansubnet
ff:ff:ff:f8
ppp
1
enable
config save
When the PPP link is established, you will notice that your LAN IP
address actually changes to the address of the WAN IP obtained from
the PPP Server. Your WAN IP address now becomes 0.0.0.1, a dummy
IP address.
To maintain IP connectivity to the router's LAN Port before and after
establishing the PPP unnumbered link, you are advised to pre-configure
the LAN IP to that of the given WAN IP. (You may refer to
section 3.3.2,
Step 2
- Configuring the LAN
.)