简介
PPPOE,以太网上的点对点协议,是将点对点协议(PPP)封装在以太网(Ethernet)框架中的一种网络隧道协议。由于协议中集成PPP协议,所以实现出传统以太网不能提供的身份验证、加密以及压缩等功能,也可用于缆线调制解调器(cable modem)和数字用户线路(DSL)等以以太网协议向用户提供接入服务的协议体系
PT-路由器配置为用于DSL连接的PPPoE客户端
各路由器设置远程登录配置
2台路由器、2台交换机。用直通线连接起来。
路由器R1配置如下:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#no ip domain-lookup //禁用DNS查找
R1(config)#enable secret class //加密特权EXEC模式密码
R1(config)#line con 0 //配置控制台访问密码
R1(config-line)#pass cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#line vty 0 15 //配置Telnet访问密码
R1(config-line)#pass cisco
R1(config-line)#login
R1(config-line)#exit
R1(config)#service pas
R1(config)#service password-encryption //密码加密
R1(config)#banner motd $Hello! Nice Haruko !$ //界面重启提示语
R1(config)#int g0/0/1
R1(config-if)#pppoe enable //启动pppoe,并使g0/0/1端口连接到DSL调制解调器的以太网接口
R1(config-if)#
%LINK-5-CHANGED: Interface Virtual-Access1, changed state to up
%LINEPROTO-5<