實驗十五————動態路由協議RIP

FLy_鵬程萬里發表於2018-05-29

實驗內容

實驗目的

掌握RIP動態路由協議的基本原理和配置

實驗步驟

構建基本網路拓撲結構


IP地址資訊:

PC1的IP地址:192.168.1.2 閘道器地址:192.168.1.1
PC2的IP地址:192.168.2.2 閘道器地址:192.168.2.1
PC3的IP地址:192.168.3.2 閘道器地址:192.168.3.1

PC4的IP地址:192.168.4.2 閘道器地址:192.168.4.1

路由器的地址參考上面拓撲中的地址資訊劃分!

路由器配置

RouterA


RouterB


RouterC


RouterD


測試

使用PC1分別去測試192.168.1.0、192.168.2.0、192.168.3.0、192.168.4.0、10.0.1.0、10.0.2.0、10.0.3.0這幾個網段

PC>ipconfig

FastEthernet0 Connection:(default port)

   Link-local IPv6 Address.........: FE80::290:2BFF:FE4B:B9D3
   IP Address......................: 192.168.1.2
   Subnet Mask.....................: 255.255.255.0
   Default Gateway.................: 192.168.1.1

PC>ping 192.168.1.1

Pinging 192.168.1.1 with 32 bytes of data:

Reply from 192.168.1.1: bytes=32 time=0ms TTL=255
Reply from 192.168.1.1: bytes=32 time=1ms TTL=255
Reply from 192.168.1.1: bytes=32 time=1ms TTL=255
Reply from 192.168.1.1: bytes=32 time=1ms TTL=255

Ping statistics for 192.168.1.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms

PC>ping 10.0.1.1

Pinging 10.0.1.1 with 32 bytes of data:

Reply from 10.0.1.1: bytes=32 time=0ms TTL=255
Reply from 10.0.1.1: bytes=32 time=0ms TTL=255
Reply from 10.0.1.1: bytes=32 time=0ms TTL=255
Reply from 10.0.1.1: bytes=32 time=0ms TTL=255

Ping statistics for 10.0.1.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

PC>ping 192.168.2.1

Pinging 192.168.2.1 with 32 bytes of data:

Reply from 192.168.2.1: bytes=32 time=0ms TTL=254
Reply from 192.168.2.1: bytes=32 time=0ms TTL=254
Reply from 192.168.2.1: bytes=32 time=0ms TTL=254
Reply from 192.168.2.1: bytes=32 time=1ms TTL=254

Ping statistics for 192.168.2.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms

PC>ping 192.168.2.2

Pinging 192.168.2.2 with 32 bytes of data:

Reply from 192.168.2.2: bytes=32 time=0ms TTL=126
Reply from 192.168.2.2: bytes=32 time=1ms TTL=126
Reply from 192.168.2.2: bytes=32 time=0ms TTL=126
Reply from 192.168.2.2: bytes=32 time=0ms TTL=126

Ping statistics for 192.168.2.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms

PC>ping 10.0.2.1

Pinging 10.0.2.1 with 32 bytes of data:

Reply from 10.0.2.1: bytes=32 time=0ms TTL=254
Reply from 10.0.2.1: bytes=32 time=0ms TTL=254
Reply from 10.0.2.1: bytes=32 time=0ms TTL=254
Reply from 10.0.2.1: bytes=32 time=0ms TTL=254

Ping statistics for 10.0.2.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

PC>ping 192.168.3.1

Pinging 192.168.3.1 with 32 bytes of data:

Reply from 192.168.3.1: bytes=32 time=1ms TTL=253
Reply from 192.168.3.1: bytes=32 time=1ms TTL=253
Reply from 192.168.3.1: bytes=32 time=1ms TTL=253
Reply from 192.168.3.1: bytes=32 time=5ms TTL=253

Ping statistics for 192.168.3.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 5ms, Average = 2ms

PC>ping 10.0.3.1

Pinging 10.0.3.1 with 32 bytes of data:

Reply from 10.0.3.1: bytes=32 time=1ms TTL=253
Reply from 10.0.3.1: bytes=32 time=1ms TTL=253
Reply from 10.0.3.1: bytes=32 time=2ms TTL=253
Reply from 10.0.3.1: bytes=32 time=1ms TTL=253

Ping statistics for 10.0.3.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 2ms, Average = 1ms

PC>ping 192.168.3.2

Pinging 192.168.3.2 with 32 bytes of data:

Request timed out.
Reply from 192.168.3.2: bytes=32 time=1ms TTL=125
Reply from 192.168.3.2: bytes=32 time=1ms TTL=125
Reply from 192.168.3.2: bytes=32 time=1ms TTL=125

Ping statistics for 192.168.3.2:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 1ms, Average = 1ms

PC>ping 10.0.3.1

Pinging 10.0.3.1 with 32 bytes of data:

Reply from 10.0.3.1: bytes=32 time=10ms TTL=253
Reply from 10.0.3.1: bytes=32 time=2ms TTL=253
Reply from 10.0.3.1: bytes=32 time=1ms TTL=253
Reply from 10.0.3.1: bytes=32 time=2ms TTL=253

Ping statistics for 10.0.3.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 10ms, Average = 3ms

PC>ping 192.168.4.1

Pinging 192.168.4.1 with 32 bytes of data:

Request timed out.
Reply from 192.168.4.1: bytes=32 time=1ms TTL=252
Reply from 192.168.4.1: bytes=32 time=1ms TTL=252
Reply from 192.168.4.1: bytes=32 time=1ms TTL=252

Ping statistics for 192.168.4.1:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 1ms, Average = 1ms

PC>ping 192.168.4.2

Pinging 192.168.4.2 with 32 bytes of data:

Request timed out.
Reply from 192.168.4.2: bytes=32 time=1ms TTL=124
Reply from 192.168.4.2: bytes=32 time=8ms TTL=124
Reply from 192.168.4.2: bytes=32 time=3ms TTL=124

Ping statistics for 192.168.4.2:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 8ms, Average = 4ms

PC>
至此,該實驗完成!

相關文章