90实验指导(PPPOE).docVIP

  • 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

文档评论(0)

1亿VIP精品文档

相关文档