ImageVerifierCode 换一换
格式:DOCX , 页数:13 ,大小:242.18KB ,
资源ID:18281365      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bingdoc.com/d-18281365.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(CISCO路由器PPPoE实验报告.docx)为本站会员(b****0)主动上传,冰点文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰点文库(发送邮件至service@bingdoc.com或直接QQ联系客服),我们立即给予删除!

CISCO路由器PPPoE实验报告.docx

1、CISCO路由器PPPoE实验报告题目:PPPOE实验实验拓扑如下:实验要求:1.在pppoe-client2路由器上使用NAT协议,让内部主机能够上网2.路由器pppoe-client2和pppoe-client1通过pppoe协议拨号连接pppoe-server服务器,3.在pppoe-server和ISP-router之间使用ospf路由选择协议 实验目的:掌握1.pppoe在路由器上的配置过程 2.NAT 3.单区域ospf实验步骤:1. 使用小凡模拟器搭建实验环境。2. 2. 在pppoe-server 路由器上配置如下PPPoe-server(config-if)#username

2、 cisco password cisco 创建一个拨号帐号。PPPoe-server(config)#vpdn enable /启用vpdn虚拟私有拨号网络协议PPPoe-server(config)#vpdn-group adsl0 /创建一个虚拟私有拨号网络组,起名为adsl0 PPPoe-server(config-vpdn)#accept-dialin /允许拨入改组PPPoe-server(config-vpdn-acc-in)#protocol pppoe /并启用pppoe协议%Only one PPPoE VPDN group can be configuredPPPoe-s

3、erver(config-vpdn-acc-in)#virtual-template 1 /关联一个虚拟接口PPPoe-server(config-vpdn-acc-in)#exitPPPoe-server(config-vpdn)#pppoe limit per-mac 10 /限制拨号连接的mac数目为10PPPoe-server(config)#int f0/0 启用物理接口PPPoe-server(config-if)#ip add 1.1.1.1 255.255.255.0 配置ip地址PPPoe-server(config-if)#no shut PPPoe-server(conf

4、ig-if)#pppoe enable 并在该物理接口下启用pppoe协议PPPoe-server(config-if)#int virtual-template1 配置虚拟接口PPPoe-server(config-if)#ip address 200.0.0.1 255.255.255.0PPPoe-server(config-if)#peer default ip address pool ad 指定拨入端的iP池,名字为adPPPoe-server(config-if)#ppp authentication chap pap callin 启用混合认证方式PPPoe-server(co

5、nfig-if)#ppp ipcp dns 202.102.128.68 202.102.134.68 给拨入端指派dnsPPPoe-server(config-if)#ip local pool vt1 200.0.0.20 200.0.0.254 指定拨入端能够使用的ip范围PPPoe-server(config)#PPPoe-server(config)#router ospf 10 启用ospf路由选择协议PPPoe-server(config-router)#net 200.0.0.0 0.0.0.255 area 0 通告直连网络号PPPoe-server(config-route

6、r)#net 100.0.0.0 0.0.0.255 area 0PPPoe-server(config-router)#pppoe-server(config)#do sho ip rou ospf 查看ospf路由表 5.0.0.0/32 is subnetted, 1 subnetsO 5.5.5.5 110/11 via 100.0.0.2, 00:03:07, FastEthernet1/0pppoe-server(config)#pppoe-server(config)#do ping 5.5.5.5 测试Type escape sequence to abort.Sending

7、5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 20/211/364 mspppoe-server(config)#do sho ip rou ospf 5.0.0.0/32 is subnetted, 1 subnetsO 5.5.5.5 110/11 via 100.0.0.2, 00:03:07, FastEthernet1/0pppoe-server(config)#在pppoe-client2上配置如

8、下pppoe-client2(config)#vpdn enable 同上,在路由器作为拨入端时也要启用vpdn协议pppoe-client2(config)#int f0/0pppoe-client2(config-if)#no shut 启用连接拨号的物理接口pppoe-client2(config-if)#*Mar 1 00:19:54.511: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up*Mar 1 00:19:55.511: %LINEPROTO-5-UPDOWN: Line protocol on I

9、nterface FastEthernet0/0, changed state to uppppoe-client2(config-if)#pppoe enable 同样启用pppoe协议pppoe-client2(config-if)#*Mar 1 00:20:56.283: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up*Mar 1 00:20:57.283: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed stat

10、e to uppppoe-client2(config-if)#pppoe-client dial-pool-number ? Dialer pool numberpppoe-client2(config-if)#pppoe-client dial-pool-number 1 定义一个拨号池为1pppoe-client2(config-if)#exitpppoe-client2(config)#int dialer0 启用拨号接口pppoe-client2(config-if)#ip add negotiated ip地址协商pppoe-client2(config-if)#ip mtu 14

11、92 默认mtu为1500由于pppoe包头占用8字节pppoe-client2(config-if)#no shut pppoe-client2(config-if)#encapsulation ppp 启用封装协议pppoe-client2(config-if)#ppp authentication chap pap callin 指定认证方式pppoe-client2(config-if)#ppp chap hostname ciscopppoe-client2(config-if)#ppp chap password ciscopppoe-client2(config-if)#ppp

12、pap sent-username cisco password ciscopppoe-client2(config-if)#dialer pool 1 启用拨号池 此时拨号自动开始连接pppoe-client2(config-if)#ppp ipcp dns request 请求获取dnspppoe-client2(config-if)#exitpppoe-client2(config)#int f0/0pppoe-client2(config-if)#ip add 2.2.2.2 255.255.255.0pppoe-client2(config-if)#no shutpppoe-clie

13、nt2(config-if)#exitpppoe-client2(config)#int f0/0pppoe-client2(config-if)#shutpppoe-client2(config-if)#*Mar 1 00:38:58.891: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down*Mar 1 00:38:59.891: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed

14、state to downpppoe-client2(config-if)#*Mar 1 00:39:55.127: %DIALER-6-UNBIND: Interface Vi2 unbound from profile Di0pppoe-client2(config-if)#*Mar 1 00:39:55.135: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to downpppoe-client2(config-if)#*Mar 1 00:39:56.115: %LINEPROTO-5-UPDOWN: Line pro

15、tocol on Interface Virtual-Access2, changed state to downpppoe-client2(config-if)#pppoe-client2(config-if)#pppoe-client2(config-if)#no shutpppoe-client2(config-if)#*Mar 1 00:41:33.659: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up*Mar 1 00:41:34.659: %LINEPROTO-5-UPDOWN: Line protoc

16、ol on Interface FastEthernet0/0, changed state to uppppoe-client2(config-if)#exi*Mar 1 00:41:50.519: %DIALER-6-BIND: Interface Vi2 bound to profile Di0pppoe-client2(config-if)#ex *Mar 1 00:41:50.527: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to uppppoe-client2(config-if)# pppoe-client

17、2#Zpppoe-client2#*Mar 1 00:41:54.491: %SYS-5-CONFIG_I: Configured from console by console*Mar 1 00:41:55.159: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access2, changed state to uppppoe-client2#sho ip int bri 获取到pppoe-server分配的ip地址,拨号成功Interface IP-Address OK? Method Status ProtocolFas

18、tEthernet0/0 2.2.2.2 YES manual up up Ethernet1/0 unassigned YES unset administratively down down Ethernet1/1 unassigned YES unset administratively down down Ethernet1/2 unassigned YES unset administratively down down Ethernet1/3 unassigned YES unset administratively down down Virtual-Access1 unassi

19、gned YES unset up up Virtual-Access2 unassigned YES unset up up Dialer0 200.0.0.20 YES IPCP up up pppoe-client2#ping 200.0.0.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 200.0.0.1, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 8/175/392 mspppoe

20、-client2#以下是为了内网主机能够通过pppoe-client来nat上网的配置。pppoe-client2(config)#ip dhcp pool adpppoe-client2(dhcp-config)#network 192.168.1.0 255.255.255.0pppoe-client2(dhcp-config)#defaulpppoe-client2(dhcp-config)#default-router 192.168.1.1pppoe-client2(dhcp-config)#dnspppoe-client2(dhcp-config)#dns-server 202.1

21、02.128.68 202.102.134.68pppoe-client2(dhcp-config)#pppoe-client2(dhcp-config)#exitpppoe-client2(config)#accepppoe-client2(config)#access-list list 10 permit 192.168.1.0 0.0.0.255 % Invalid input detected at marker.pppoe-client2(config)#access-list 10 permit 192.168.1.0 0.0.0.255 pppoe-client2(config

22、)#pppoe-client2(config)#int dialer 0pppoe-client2(config-if)#ip nat outsidepppoe-client2(config-if)#exitpppoe-client2(config)#ip nat inside source list 10 interface dialer0 overloadpppoe-client2(config)#pppoe-client2(config)#service dhcppppoe-client2(config)#pppoe-client2(config)#pppoe-client2(confi

23、g)#exitpppoe-client2#在ISP-router上配置如下ISP-router(config)#int f0/0ISP-router(config-if)#no shutISP-router(config-if)#ioip % Invalid input detected at marker.ISP-router(config-if)#ISP-router(config-if)#ip add 10*Mar 1 01:22:26.143: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up*Mar 1 01

24、:22:27.143: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upISP-router(config-if)#ip add 100.0.0.2 255.255.255.0ISP-router(config-if)#nj % Invalid input detected at marker.ISP-router(config-if)#ISP-router(config-if)#ISP-router(config-if)#exitISP-router(config)#rou

25、ter ospf 10ISP-router(config-router)#network 100.0.0.0 0.0.0.255 area 0ISP-router(config-router)#no auto ISP-router(config-router)#int loo0ISP-router(config-if)#ip*Mar 1 01:23:17.583: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to upISP-router(config-if)#ip add 5.5.5.5 2

26、55.255.255.0ISP-router(config-if)#router ospf 10ISP-router(config-router)#network 5.5.5.0 0.0.0.255 area 0ISP-router(config-router)#exitISP-router(config)#ISP-router(config)#ISP-router(config)#*Mar 1 01:26:13.727: %OSPF-5-ADJCHG: Process 10, Nbr 200.0.0.1 on FastEthernet0/0 from LOADING to FULL, Loading DoneISP-router(config)#使用虚拟机测试连通性: 两个用户使用相同的帐号同时拨号成功实验结论:该实验报告在日常中比较实用,个人利用业余时间倾心制作,以供大家分享。

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2