目录
- 实验条件
- 网络拓朴
- 实验目标
- 开始配置
- R1
- 验证效果
实验条件
网络拓朴
实验目标
R2为PPPoE Server,已预配了相关信息;R1作为PPPoE Client,进行PPPoE拨号
用户名为R1,密码为cisco , 采用CHAP的认证方式,IP地址协商获取
开始配置
R1
配置拨号模板
interface Dialer0
mtu 1492
ip address negotiated
encapsulation ppp
dialer pool 1 // 定义拨号池
ppp chap hostname R1
ppp chap password 0 cisco
拨号
interface Ethernet0/0
pppoe enable group global
pppoe-client dial-pool-number 1
验证效果
R1#ping 12.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
R1#show pppoe session
1 client session
Uniq ID PPPoE RemMAC Port VT VA State
SID LocMAC VA-st Type
N/A 1 aabb.cc00.2000 Et0/0 Di0 Vi2 UP
aabb.cc00.1000 UP
R2#show ip local pool
Pool Begin End Free In use Blocked
PPPOE 12.1.1.1 12.1.1.1 0 1 0
R2#