實驗五——————RIPv2協議配置
實驗目的
通過本實驗,可以掌握以下技能:
- 配置介面IP地址。
- 配置RIPv2協議。
- 驗證RIPv2協議配置。
裝置需求
- Cisco路由器3臺,分別命名為twins、sa和gill。其中twins具有2個乙太網介面;sa具有2個乙太網介面;gill具有2個乙太網介面。
- 2條交叉線序雙絞線。
- 1臺access server,及用於反向Telnet的相應電纜。
- 1臺帶有超級終端程式的PC機,以及Console電纜及轉接器。
拓撲結構及配置說明
實驗的拓撲結構如圖實驗4所示,地址如下。通過2對交叉線序雙絞線分別把twins和sa連線起來、twins和gill連線起來。
各路由器使用的介面及其編號見圖的標註。各介面IP地址分配如下:
- twins: E0:192.168.10.1 E1:192.168.11.1
- sa: E0:192.168.10.2 E1:192.168.12.1
- gill:E0:192.168.11.2 E1:192.168.15.1
實驗配置
基本網路配置
這裡採用圖形化介面進行配置具體資訊
twins
sa
gill
配置RIPV2協議
sa
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 192.168.10.2
Router(config-router)#network 192.168.12.1
Router(config-router)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#
twinsRouter#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 192.168.10.1
Router(config-router)#network 192.168.11.1
Router(config-router)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#
gill
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 192.168.11.2
Router(config-router)#network 192.168.15.1
Router(config-router)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#
整體網路拓撲結構
RIPv2協議驗證
sa
twins
gill
驗證IP配置
sa
twins
gill
ping測試
從伺服器ping到主機PC
SERVER>ipconfig
FastEthernet0 Connection:(default port)
Link-local IPv6 Address.........: FE80::2E0:B0FF:FE2D:D805
IP Address......................: 192.168.12.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.12.1
SERVER>ping 192.168.12.1
Pinging 192.168.12.1 with 32 bytes of data:
Reply from 192.168.12.1: bytes=32 time=0ms TTL=255
Reply from 192.168.12.1: bytes=32 time=3ms TTL=255
Reply from 192.168.12.1: bytes=32 time=5ms TTL=255
Reply from 192.168.12.1: bytes=32 time=0ms TTL=255
Ping statistics for 192.168.12.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 5ms, Average = 2ms
SERVER>ping 192.168.10.2
Pinging 192.168.10.2 with 32 bytes of data:
Reply from 192.168.10.2: bytes=32 time=0ms TTL=255
Reply from 192.168.10.2: bytes=32 time=2ms TTL=255
Reply from 192.168.10.2: bytes=32 time=0ms TTL=255
Reply from 192.168.10.2: bytes=32 time=0ms TTL=255
Ping statistics for 192.168.10.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 2ms, Average = 0ms
SERVER>ping 192.168.10.1
Pinging 192.168.10.1 with 32 bytes of data:
Reply from 192.168.10.1: bytes=32 time=8ms TTL=254
Reply from 192.168.10.1: bytes=32 time=6ms TTL=254
Reply from 192.168.10.1: bytes=32 time=0ms TTL=254
Reply from 192.168.10.1: bytes=32 time=5ms TTL=254
Ping statistics for 192.168.10.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 8ms, Average = 4ms
SERVER>ping 192.168.11.1
Pinging 192.168.11.1 with 32 bytes of data:
Reply from 192.168.11.1: bytes=32 time=1ms TTL=254
Reply from 192.168.11.1: bytes=32 time=0ms TTL=254
Reply from 192.168.11.1: bytes=32 time=0ms TTL=254
Reply from 192.168.11.1: bytes=32 time=0ms TTL=254
Ping statistics for 192.168.11.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
SERVER>ping 192.168.15.1
Pinging 192.168.15.1 with 32 bytes of data:
Reply from 192.168.15.1: bytes=32 time=2ms TTL=253
Reply from 192.168.15.1: bytes=32 time=1ms TTL=253
Reply from 192.168.15.1: bytes=32 time=1ms TTL=253
Reply from 192.168.15.1: bytes=32 time=1ms TTL=253
Ping statistics for 192.168.15.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms
SERVER>ping 192.168.15.2
Pinging 192.168.15.2 with 32 bytes of data:
Reply from 192.168.15.2: bytes=32 time=11ms TTL=125
Reply from 192.168.15.2: bytes=32 time=1ms TTL=125
Reply from 192.168.15.2: bytes=32 time=7ms TTL=125
Reply from 192.168.15.2: bytes=32 time=0ms TTL=125
Ping statistics for 192.168.15.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 11ms, Average = 4ms
SERVER>
從PCping 伺服器
至此,該實驗完成!
相關文章
- 實驗六——————OSPF協議配置協議
- 實驗四————RIP協議的配置協議
- 實驗七————EIGRP協議配置協議
- 實驗十二————VLAN路由及STP協議路由協議
- 實驗十五————動態路由協議RIP路由協議
- TCP/IP五層協議TCP協議
- 拜占庭協議和測謊問題的量子協議的實驗證明協議
- 配置https協議HTTP協議
- 物聯網實驗2 協議棧剖析協議
- CISCO交換機STP實驗(生成樹協議)協議
- 實驗十七————點對點協議認證協議
- MQTT 協議快速體驗MQQT協議
- IS-IS協議原理與配置協議
- 實驗五
- rdp(遠端桌面協議)配置協議
- 各類路由協議配置方法路由協議
- nginx配置支援websocket協議wssNginxWeb協議
- 實用TCP協議(1):TCP 協議簡介TCP協議
- 五種開源協議的比較協議
- 計算機網路實驗10:靜態路由協議計算機網路路由協議
- 實現 Raft 協議Raft協議
- MQTT協議實踐MQQT協議
- 動態主機配置協議DHCP協議
- WebSphere配置https協議訪問WebHTTP協議
- nginx配置https協議訪問NginxHTTP協議
- ISIS 協議常用基本配置總結協議
- 動態主機配置協議(DHCP)協議
- Cisco交換機生成樹協議配置協議
- 【網路協議】IP協議、ARP協議、RARP協議協議
- 詳解Tomcat核心配置、http協議TomcatHTTP協議
- git伺服器配置(使用SSH協議)Git伺服器協議
- 實現網站由http協議轉為https協議網站HTTP協議
- TCP/IP五層模型-傳輸層-TCP協議TCP模型協議
- TCP/IP五層模型-應用層-DNS協議TCP模型DNS協議
- [面試∙網路] TCP/IP(五):TCP 協議詳解面試TCP協議
- RTSP協議、RTMP協議、HTTP協議的區別協議HTTP
- 【網路協議】UDP協議協議UDP
- HTTP快取協議實戰HTTP快取協議