- 5
- 0
- 约5.89千字
- 约 13页
- 2018-01-04 发布于河南
- 举报
90实验指导(PPPOE)
实验指导(PPPOE)
实验任务
任务:R1通过Ethernet连接到R2 ISP(Internet Service Provider),并采用PPPOE验证方式接入Internet,访问服务器R3。
实验步骤
R1、R2、R3上如图配置IP地址,打开接口
R1:
int e0/1
no shutdown
ip add
Internet(R2):
int e0/1
no shutdown
ip add
int e0/0
no shutdown
ip add
R3:
int e0/0
no shutdown
ip add
int loopback0
ip add
配置路由
R1:
ip route
R2:
router eigrp 90
no auto-summary
net 55
net 55
R3:
router eig 90
no au
net 55
net 55
net 55
测试:
r1#ping
!!!!!
r1#sh ip route
C is directly connected, Ethernet0/1
S* /0 [1/0] via
用wireshark 分析包结构
配置PPPOE
(!-- vpdn Virtual Private Dialup Network
r1-client: dialer ---- caller (client)
r2-server: virtual-template--- terminate the call
client calls server: concerning server, dial in.
server calls client: concerning server, dial out.
)
R1(client):
vpdn enable
vpdn-group r1
request-dialin
protocol pppoe
创建一个虚拟dial接口,接口下有一个dial pool,将来将物理接口放进dial pool进行轮询。
default int e0/1
interface Dialer 100
encapsulation ppp !!!!!!!!!!!!
dialer pool 1
ip address
interface e0/1
pppoe enable
pppoe-client dial-pool-number 1
!---- put int e0/1 into the pool 1
sh ip int brie
sh int dial 100
R2(server):
vpdn enable
vpdn-group r2
accept-dialin
protocol pppoe
virtual-template 2
!---to terminate group 2
default int e0/1
interface Virtual-Template 2
ip address
encap ppp !!!!!!!!!!!!
interface e0/1
pppoe enable
(
r2(config)#vpdn-group 2
r2(config-vpdn)#accept-dialin
r2(config-vpdn-acc-in)#protocol ? !vpdn tunnel
any Use any protocol
l2f Use L2F
l2tp Use L2TP
pppoe Use PPPoE
pptp Use PPTP
)
5、测试:
debug ppp negotiation -------------------- lay 2 connection
sh ip int brie
sh vpdn session
r1#ping
!!!!!
r1#ping
!!!!!
r1#sh ip route
C /24 is directly connected, Dialer100
C /32 is directly connected, Dialer100
S* /0 [1/0] via
r2#sh ip route
C /24 is directly connected, Virtual-Access1.1
C /32 is directly connected, Virtual-Access1.1
用wireshark
您可能关注的文档
- 标准Web服务器控件的使用.doc
- 八上英语总复习之填空.doc
- 初三非谓语练习题.docx
- ABAQUS中Restart的设置.doc
- 周期性拉伸(Cyclic Stretch, CS)之研究应用.docx
- 安防接口标准-novif和psia.docx
- 状语从句的简化.doc
- flex函数宏详解.docx
- FTP断点续传的原理.doc
- linux系统的服务命令.docx
- Linux定时触发器使用说明.docx
- centos上配置shopex环境(LNMP).docx
- CentOS通过vsftpd及pam-mysql,php实现FTP虚拟用户管理.docx
- 2012-2013第二学期高二英语第二学期期中考试试卷、答题卡、答案.doc
- [李桃梅]Riverbed.docx
- CentOS 7.0 安装配置LAMP服务器方法(Apache+PHP+MariaDB).docx
- 邮件网关架构设计-v0.1.doc
- RHEL6.5下部署samba企业级文件服务器实战.docx
- Café Restaurant Dinner Buffet rotation 3.doc
- 八年级上册英语期中考试W.doc
原创力文档

文档评论(0)