《高等计算机网络》实验三、bgp协议的配置与管理
(9页)
本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦!
9.9 积分
实验三、BGP协议的配置与管理班级:网络121 姓名:闫珊珊 学号:20121113007 实验日期:2015/06/24一、实验目的及要求1、 熟悉BGP协议原理;2、 掌握BGP协议的基本配置方法和基本配置命令;3、 掌握BGP的应用一基于罠略的路由;4、 掌握路由协议模拟器GNS3 0.5的使用方法;5、 本实验为设计性实验,实验学时二8,课下学时应>二8;二、实验条件安装有GNS3 0.5的计算机三、实验任务/内容1、实验任务描述利用GNS3©,利用Cisco 7200系列路由器设计如下结构的网络实验拓扑, 通过配置,实现路由器之间的互连互通:1) 按下图所示参数配置各路由器接口的IP地址;2) 配置各路由器,建立BGP路由器的对等关系并验证2、实验方案Figure 2实验网络拓扑3、实验过程以及结果分析(1)步骤一:按照上图参数配置好各个路由器接口的IP地址后,用ping 命令来测试各直连路由器之间的连通性。Questionl:R1和R3能相互ping通吗?为什么需要先验证各直连路由器之 间的连通性后再建立BGP路由器的对等关系?Rlttping 172.16.1.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:■ ????Success rate is 80 percent <4/5〉, round-trip min/avg/max = 100/160/232 ns图 1 R1 ping R2Rlttping 10.1.1.2Type escape sequence to abort.Sending 5. 100-byte ICMP Echos to 10.1.1.2,. timeout is 2 seconds:Success uate is 0 percent <0/5>图 2 R1 ping R3Kz!ffping 17Z.16.1.1rype escape sequence to abort.Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:Success rate is 100 percent <5/5〉, round-trip nin/aug/nax = 64/129/264 ms图 3 R2 ping R1R2ttping 10.1.1.2Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.1.1.2,. timeout is 2 seconds:Success rate is 100 percent (5/5〉, round-trip nin/aug/nax = 76/87/120 ns图 4 R2 ping R3R3ttping 172.16.1.1Type escape sequence to abort.Sending 5. 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:Success rate is 0 percent <0/5>图 5 R3 ping R1R3ttping 10.1.1.1Type escape sequence to abort.Sending 5. 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:Success rate is 100 percent (5/5〉. round-trip nin/aug/nax = 44/84/152 ns图 6 R3 ping R2答:R1和R3之间不能ping通。每个路由器都要显式地配置其邻接路由器 的IP地址,路由器通过这些信息了解哪些IP地址试图建立TCP连接。如果路 由器接收到未配置为BGP邻接路由器的IP地址发来的TCP连接请求(BGP端 口 179),它会直接拒绝该请求。因此需要先验证各直连路由器之间的连通性后 再建立BGP路由器的对等关系。(2)步骤二:在R1和R2之间建立EBGP邻居关系,在R2和R3之间建 立IBGP邻居关系。Question 2:在R1执行如下命令Rl#show ip bgp summary,该命令的主要功能是什么?Rlttshow ip pGP router BGP table <1bgp sidentifier l.l.l.l, local AS number 1version is1, main routing table version1NeighborUASMsgRcud MsgSentTblUerInQOutQ Up/DownState/PfxRcd172.16.1.2420 0000 neverActiveBl#牠u 5 09:18:42.115:zBGP-5-ADJCHANGE:neighbor 172.16.1.2 UpBittshow ipbgp sIBGP routeridentifier?1f local ASnunber 1BGP table iversion is1.main routing table version1NeighborUASMsgRcud MsgSentTblUerInQOutQ Up/DownState/PfxRcd172.16.1.21424 4100 00:00:150Bl#-Figure 3实验截图1观察两次执行show ip bgp summary后,邻居状态的变化。解释一下红色框 线显示部分各个字段的含义。 ‘Rlttshow ip bgp sunnaryBGP router identifier 1.1.1.1^ local AS number 1BGP table version is 4, main routing table version 43 network entries using 303 bytes of nenory3 path entries using 144 bytes of menory3 BGP path attribute entries using 180 bytes of memory1. BGP AS-PATH entries using 24 byt 关 键 词: 高等计算机网络 高等 计算机网络 实验 bgp 协议 配置 管理
天天文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文