【正文】
resort is not set , 1 subnetsS [1/0] via , 1 subnetsC is directly connected, Loopback0 , 1 subnetsC is directly connected, FastEthernet0/ , 1 subnetsS [1/0] via R1ping source Type escape sequence to abort.Sending 5, 100byte ICMP Echos to , timeout is 2 seconds:Packet sent with a source address of !!!!!Success rate is 100 percent (5/5), roundtrip min/avg/max = 44/51/60 ms I和RIP II的區(qū)別R1(config)interface ethernet 0/0 R1(configif)no shutdown R1(configif)exit R1(config)interface ethernet 0/R1(configsubif)encapsulation dot1Q 12 R1(configsubif)ip address R1(configsubif)exit R1(config)interface loopback 0 R1(configif)ip address R1(configif)exit R2(config)interface ethernet 0/0 R2(configif)no shutdown R2(configif)exit R2(config)interface ethernet 0/R2(configsubif)encapsulation dot1Q 12 R2(configsubif)ip address R2(configsubif)no shutdown R2(configsubif)exit R2(config)interface loopback 0 R2(configif)ip address R2(configif)exit 檢查鏈路: R2 show protocols Global values: Internet Protocol routing is enabled Ethernet0/0 is up, line protocol is up Ethernet0/ is up, line protocol is up Internet address is Ethernet0/1 is administratively down, line protocol is down Loopback0 is up, line protocol is up Internet address is R2ping 檢查R2和R1 直連接口之間能否ping通 Type escape sequence to abort. Sending 5, 100byte ICMP Echos to , timeout is 2 seconds: .!!!! ,觀察兩臺(tái)路由器的路由表,體會(huì)RIPv1(有類路由協(xié)議)的缺陷 R1(config)router rip R1(configrouter)network R1(configrouter)network R2(config)router rip R2(configrouter)network R2(configrouter)network 檢查和R1 和R2 的路由表: R1show ip route Gateway of last resort is not set C , Ethernet0/ R [120/1] via , 00:00:04, Ethernet0/ , 1 subnets C is directly connected, Loopback0 R2show ip route Gateway of last resort is not set C , Ethernet0/ , 1 subnets C is directly connected, Loopback0 R [120/1] via , 00:00:21, Ethernet0/檢查路由器的路由表,發(fā)現(xiàn)R2 和R1 樣的主類網(wǎng)絡(luò)地址,而不能從對(duì)方獲取子網(wǎng)路由。這個(gè)是RIPv1的缺陷 ,檢查兩臺(tái)路由器的路由表 R1(config)router rip R1(configrouter)version 2 R1(configrouter)no autosummary R2(config)router rip R2(configrouter)version 2 R2(configrouter)no autosummary 刷新路由器的路由表并查看路由表: R2clear ip route * R2show ip route Gateway of last resort is not set C , Ethernet0/ , 1 subnets C is directly connected, Loopback0 , 1 subnets R [120/1] via , 00:00:00, Ethernet0/ R1clear ip route * R1show ip route Gateway of last resort is not set C , Ethernet0/ , 1 subnets R [120/1] via , 00:00:01, Ethernet0/ , 1 subnets C is directly connected, Loopback0 查看兩臺(tái)路由器的路由表,發(fā)現(xiàn)它們可以從對(duì)方獲取到子網(wǎng)信息。 R1(config)no router rip R1(config)router eigrp 100 R1(configrouter)network R1(configrouter)network R1(configrouter)no autosummary R2(config)no router rip R2(config)router eigrp 100 R2(configrouter)network R2(configrouter)network R2(configrouter)no autosummary 查看R1的EIGRP鄰居表,檢查R1和 R2是否正確建立EIGRP鄰居關(guān)系 R1show ip eigrp neighbors IPEIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 Et0/ 14 00:01:28 4 200 0 查看R1的EIGRP拓?fù)浔?R1show ip eigrp topology IPEIGRP Topology Table for AS(100)/ID() Codes: P Passive, A Active, U Update, Q Query, R Reply, r reply Status, s sia Status P , 1 successors, FD is 281600 via Connected, Ethernet0/ P , 1 successors, FD is 409600 via (409600/128256), Ethernet P , 1 successors, FD is 128256 via Connected, Loopback0 查看R1的路由表 R1show ip route Gateway of last resort is not set C , Ethernet0/ , 1 subnets D [90/409600] via , 00:01:34, Ethernet0/ , 1 subnets C is directly connected, Loopback0 檢查R1的loopback0 和R2 的loopback0口能否正常通信 R1ping source loopback 0 Type escape sequence to abort. Sending 5, 100byte ICMP Echos to , timeout is 2 seconds: Packet sent with a source address of !!!!! Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms 配置OSPF 路由協(xié)議,實(shí)現(xiàn)網(wǎng)絡(luò)互聯(lián),區(qū)域號(hào)是0 R1(config)router ospf 1 R1(configrouter)network area 0 R1(configrouter)network area 0 R2(config)router ospf 1 R2(configrouter)network area 0 R2(configrouter)network area 0 查看R1的OSPF鄰居表,檢查R1和 R2是否正確建立OSPF鄰居關(guān)系 R1show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 1 FULL/BDR 00:00:38 Ethernet0/ R1show ip route Gateway of last resort is not set C , Ethernet0/ , 1 subnets O [110/11] via , 00:01:46, Ethernet0/ , 1 subnets C is directly connected, Loopback0 6 結(jié)論 論文總結(jié)本課題的設(shè)計(jì)到此已完成,本次課題主要涉及到路由器的實(shí)際操作與配置,讓本人更加清晰的對(duì)網(wǎng)絡(luò)協(xié)議有一定的了解。本次畢業(yè)設(shè)計(jì)基本上達(dá)到了預(yù)期課題設(shè)計(jì)目標(biāo),通過本次畢業(yè)設(shè)計(jì),本人不僅掌握了網(wǎng)絡(luò)原理基礎(chǔ)知識(shí),而且將在校所學(xué)課本上的知識(shí)應(yīng)用于實(shí)踐設(shè)計(jì)中來,把理論的知識(shí)變成了實(shí)踐的技術(shù),更加進(jìn)一步鞏固了理論知識(shí),為今后的學(xué)習(xí)和工作打下了一個(gè)理想的基礎(chǔ)。更為重要的是自己親自去設(shè)計(jì)并動(dòng)手去操作與配置,從而鍛煉了自己的動(dòng)手能力和分析錯(cuò)誤能力。我想這次的畢業(yè)設(shè)計(jì)將對(duì)本人以后的工作有一定的影響,將為以后更好的適應(yīng)工作環(huán)境提供了一次鍛煉的機(jī)會(huì)。雖然網(wǎng)絡(luò)路由協(xié)議實(shí)驗(yàn)設(shè)計(jì)已完成,但是其中有些設(shè)計(jì)方案還不完善,還有待于進(jìn)一步的研究和探討。7 致謝本次畢業(yè)課題設(shè)計(jì)過程中,老師作為我的畢業(yè)設(shè)計(jì)指導(dǎo)老師,給了我許多幫助和指導(dǎo),在此我表示衷心感謝。同時(shí)我還要感謝在我學(xué)習(xí)期間給我極大關(guān)心和支持的各位老師以及關(guān)心我的同學(xué)和朋友。非常感謝你們這三年對(duì)我的教育和關(guān)懷。最后,我要深深感謝父母親屬多年來對(duì)我的關(guān)心、理解、教導(dǎo)及支持。他們教育我要踏踏實(shí)實(shí)地做人,勤奮努力地學(xué)習(xí)工作,這種樸實(shí)的思想一直促使我在人生道路上不斷追求進(jìn)步,奮發(fā)向上。他們是我能信心百倍地去克服前進(jìn)道路上的重重困難,不斷迎接新的挑戰(zhàn)。畢業(yè)論文的完成,同樣也意味著新的學(xué)習(xí)生活的開始。38