摘要摘要随着计算机网络规模的不断发展与扩大,大型互联网络的迅猛的发展,路由技术在网络技术中已经逐渐成为关键的部分,路由器也随之成为最重要的网络设备。用户的要求推动着路由技术的发展和路由器的普及,人们已经不满足于仅在本地网络上共享信息,而希望最大限度的利用全球各地地区、各个类型的网络资源。计算机与计算机之间的通信离不开通信协议,通信协议实际上是一组规定和约定的集合。两台计算机在通信时必须约定好本次通信做什么,是进行文件传输,还是发送电子邮件;怎样通信,什么时间通信等。本文首先在开头对计算机网基本的理论知识做了基本的介绍,以及所涉及的有关协议的介绍,然后对常见的路由协议进行了介绍和分析,尤其对动态路由协议的分析,再次,对路由器有关的概念及工作原理和过程做了简单的分析与介绍,最后,路由协议在实际中的应用,尤其是对OSPF协议的实际应用和分析。路由协议创建了路由表,描述了网络拓扑结构:路由协议与路由器协同工作,执行路由选择和数据转发功能,因此学习和研究路由协议,有利于对计算机网络的更深刻的认识和了解,对以后的学习和工作有很大的帮助。关键字:计算机通信协议动态路由协议路由器OSPf摘要ABSTRACTNowadays,alongwiththecomputernetworkscalecontinuousdevelopmentandexpansion,largeInternetnetworkofrapiddevelopment,routingtechnologyinnetworktechnologyhasbecomeakeypartof,therouteralsowillbecomethemostimportantnetworkequipment.Therequirementsofthecustomerspushroutingtechnologydevelopmentandpopularizationoftherouter,peoplehavenotcontenttojustinlocalnetworkstoshareinformationonandtomaximizetheuseofintheworld,alltypesofnetworkresources.Thecommunicationbetweenthecomputerandthecomputerwithoutcommunicationprotocol,communicationprotocolisactuallyasetofrulesandagreedtheset.Twocomputersincommunicationmustagreeonthecommunicationanddowhatisonfiletransfer,orsendE-mail;Howcommunication,whattimecommunication,etc.Thispaperfirstlyinthebeginningofcomputernetworkbasictheoryofknowledgetodothebasicintroduction,andinvolvestherelevantagreementintroduced,andthentothecommonroutingprotocolisintroducedandanalyzed,especiallyfortheanalysisofthedynamicroutingprotocol,again,totheconceptoftherouterandworkingprincipleandprocessofsimpleanalysisandintroduce,finally,routingprotocolsinrealapplication,especiallyforthepracticalapplicationofOSPFagreementandanalysis.Routingprotocoltocreatetheroutingtable,describethenetworktopologystructure:routingprotocolandroutercollaborativework,theexecutionroutinganddataforwardingfunction,sostudyandresearchofroutingprotocols,isadvantageoustothecomputernetworkmorein-depthknowledgeandunderstanding,andforthefuturestudyandworkhasalotofhelp.Keywords:computerCommunicationprotocolDynamicroutingprotocolrouterospfprotocol目录i目录第一章绪论........................................................11.1课题背景......................................................11.2研究的意义....................................................11.3计算机网络理论概论............................................21.3.1计算机网络在中国的发展..................................21.3.2计算机网络中的基本概念..................................21.3.3OSI参考模型及协议集的概念..............................31.3.4TCP/IP协议简述.........................................41.4各层间协议的工作原理..........................................51.4.1协议层基本概念..........................................51.4.2数据在层间传输过程......................................51.5本章小结......................................................6第二章路由协议介绍及分析..........................................72.1路由选择协议的基本概念......................................72.2路由算法....................................................82.3路由选择协议分类..............................................92.4路由选择协议分析.............................................92.4.1内部网关协议(IGP).....................................92.4.2路由选择信息协议(RIP)................................102.4.3内部网关路由协议(IGRP)...............................112.4.4增强内部网关路由协议(EIGRP)..........................122.4.5开放式最短路优先路由信息协议(OSPF)...................132.5外部网关协议(EGP)..........................................152.5.1边界网关协议(BGP)....................................152.6本章小结.....................................................16第三章路由器.....................................................173.1路由器基础...................................................17目录ii3.1.1路由器的概念及功能......................................173.2路由器的工作原理.............................................183.2.1路由表的概念............................................183.2.2路由表的形成及分类......................................183.2.3路由器的工作过程........................................183.3本章小结..............................................................................................................................19第四章路由协议的实际应用与案例分析................................214.1RIP与OSPF实例..............................................214.2广东省水文局广域网现状.......................................244.3现有这种广域网接入模式的缺陷.................................254.4OSPF路由协议和传统路由协议RIP协议的比较...................264.5水文广域网选用OSPF路由协议的必要性..........................274.6OSPF协议在广东省水文局广域网的实际应用......................274.6.1广东省水文局中心融合后的网络结构........................274.6.2OSPF配置内容...........................................294.6.3网络融合后的路由和冗余测试............................314.6.4OSPF协议相关的漏洞和防范措施..........................324.7本章小结.....................................................33第五章总结.......................................................355.1展望.........................................................355.2本文总结.....................................................35致谢..............................................................37参考文献..........................................................39第一章绪论1第一章绪论1.1课题背景计算机为核心的信息技术已成为很多专业课教学内容的有机组成部分,计算机应用能力成为衡量大学生业务素质与能力随着时代的发展,在二十一世纪信