ZY目录

  • HCIA所有内容:
  • OSPF配置综合实验
  • 一、实验要求
  • 二、实验思路
  • 三、实验步骤
  • 1、配置接口IP地址以及环回
  • (1)实现代码:
  • (2)接口摘要信息:
  • 2、启动OSPF进程,创建区域进行宣告
  • (1)实现代码:
  • (2)路由表:
  • 3、查看R3是否为DR
  • 4、查看是否全网可达
  • 5、缩短路由条目,子网汇总
  • 路由表对比:
  • 6、进行手工认证
  • 实现代码:
  • 7、配置空接口
  • 8、再次此时网络连通性


现实中怎么配ospf 配置ospf总结_网络

HCIA所有内容:

1、七层参考模型及IP讲解2、TCP三次握手讲解3、TCP四次挥手讲解及抓包分析4、DHCP协议讲解及抓包分析5、静态综合实验讲解7、静态路由讲解8、RIP路由信息协议讲解9、动态路由协议讲解10、抓包进行分析RIP以及OSPF的包11、动态路由OSPF配置综合实验讲解12、Vlan虚拟局域网技术讲解13、ACL访问控制列表讲解14、NAT技术讲解15、网络综合实验讲解

OSPF配置综合实验

一、实验要求

1. R1-R3为区域0,R3-R4为区域1,其中R3的环回也在区域0,R1,R2也各有一个环回;
2. R1-R3 R3为DR设备,没有BDR;
3. R4环回地址已固定,其他所有网段使用192.168.1.0/24进行合理的分配;
4. R4环回不能宣告,全网可达,保障更新安全,避免环路,减少路由条目。

二、实验思路

1、首先进行划分网段,R1到R3所需要3个环回地址,所以我们必须划分三个网段出来,同时两个区域链路上也都需要网段,又由于要减少路由条目,所以我将把左边三条链路配置到一个子网中,这时也就是三条环回加区域0链路再加区域1链路最终需要5条链路。
以下便是子网划分的步骤以及思路:

192.168.1.0/24
1、由于是两个区域,所以首先往后借一位,划分成两个子网出来。
  192.168.1.0 0000000/25  192.168.1.0/25——区域1
  192.168.1.1 0000000/25  192.168.1.128/25——区域2
  接下来由于我们左边链路要使用4个子网网段进行分配。
  那么我们将再向后借两位:
		192.168.1.0 00 00000/27    192.168.1.0/27——R1环回接口
		192.168.1.0 01 00000/27    192.168.1.32/27——R2环回接口
		192.168.1.0 10 00000/27    192.168.1.64/27——R3环回接口
		192.168.1.0 11 00000/27    192.168.1.96/27——区域1链路网段

所以,接口IP以及环回如下图所示:

现实中怎么配ospf 配置ospf总结_网络协议_02


2、我们要实现R3为DR设备,没有BDR,那么我们可以把设置R1和R2的g0/0/0接口优先级改0,从而放弃DR/BRD的选举。
3、不能直接宣告R4的环回还要可以访问,那么我们这里可以使用缺省路由
4、首先安全的话,我们可以对R1,R2以及R3及进行手工认证来让用户访问被保护的资源。从而确保安全性。
5、避免环路,我的思路是对进行汇总后的地址配空接口。
6、减少路由条目便是刚才进行的子网划分以及子网汇总了。

三、实验步骤

1、配置接口IP地址以及环回

(1)实现代码:

R1实现代码:

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r1
[r1]user-interface console 0
[r1-ui-console0]idle-timeout 0 0
[r1-ui-console0]int g0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.1.97 27
[r1-GigabitEthernet0/0/0]int l0
[r1-LoopBack0]ip address 192.168.1.1 27
[r1-LoopBack0]quit
[r1]

R2实现代码:

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r2
[r2]user-interface console 0
[r2-ui-console0]idle-timeout 0 0
[r2-ui-console0]int g0/0/0
[r2-GigabitEthernet0/0/0]ip address 192.168.1.98 27
[r2-GigabitEthernet0/0/0]int l0
[r2-LoopBack0]ip address 192.168.1.33 27
[r2-LoopBack0]quit
[r2]

R3实现代码:

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r3
[r3]user-interface console 0
[r3-ui-console0]idle-timeout 0 0
[r3-ui-console0]int g0/0/0
[r3-GigabitEthernet0/0/0]ip address 192.168.1.99 27
[r3-GigabitEthernet0/0/0]int g0/0/1
[r3-GigabitEthernet0/0/1]ip address 192.168.1.129 25
[r3-GigabitEthernet0/0/1]int l0
[r3-LoopBack0]ip address 192.168.1.65 27
[r3-LoopBack0]quit
[r3]

R4实现代码:

The device is running!

<Huawei>sys
[Huawei]sys r4
[r4]user-interface console 0
[r4-ui-console0]idle-timeout 0 0
[r4-ui-console0]int g0/0/0
[r4-GigabitEthernet0/0/0]ip address 192.168.1.130 25
[r4-GigabitEthernet0/0/0]int l0
[r4-LoopBack0]ip address 4.4.4.1 24
[r4-LoopBack0]quit
[r4]
(2)接口摘要信息:

R1接口摘要信息:

[r1]display ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.97/27      up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         192.168.1.1/27       up         up(s)     
NULL0                             unassigned           up         up(s)     
[r1]

R2接口摘要信息:

[r2]display ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.98/27      up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         192.168.1.33/27      up         up(s)     
NULL0                             unassigned           up         up(s)     
[r2]

R3接口摘要信息:

[r3]display ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.99/27      up         up        
GigabitEthernet0/0/1              192.168.1.129/25     up         up        
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         192.168.1.65/27      up         up(s)     
NULL0                             unassigned           up         up(s)     
[r3]

R4接口摘要信息:

[r4]display ip interface brief 
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2

Interface                         IP Address/Mask      Physical   Protocol  
GigabitEthernet0/0/0              192.168.1.130/25     up         up        
GigabitEthernet0/0/1              unassigned           down       down      
GigabitEthernet0/0/2              unassigned           down       down      
LoopBack0                         4.4.4.1/24           up         up(s)     
NULL0                             unassigned           up         up(s)     
[r4]

2、启动OSPF进程,创建区域进行宣告

(1)实现代码:

R1实现代码:

[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ospf dr-priority 0
[r1-GigabitEthernet0/0/0]quit
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]area 0
[r1-ospf-1-area-0.0.0.0]network 192.168.1.96 0.0.0.31
[r1-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.31
[r1-ospf-1-area-0.0.0.0]quit
[r1-ospf-1]quit
[r1]

R2实现代码:

[r2]ospf 1
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]network 192.168.1.96 0.0.0.31
[r2-ospf-1-area-0.0.0.0]network 192.168.1.32 0.0.0.31
[r2-ospf-1-area-0.0.0.0]quit
[r2-ospf-1]quit
[r2]

R3实现代码:

[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]network 192.168.1.96 0.0.0.31 
[r3-ospf-1-area-0.0.0.1]network 192.168.1.128 0.0.0.127
[r3-ospf-1-area-0.0.0.1]quit
[r3-ospf-1]quit
[r3]

R4实现代码:

[r4]os	
[r4]ospf 1
[r4-ospf-1]area 1
[r4-ospf-1-area-0.0.0.1]network 192.168.1.128 0.0.0.127
[r4-ospf-1-area-0.0.0.1]
[r4-ospf-1-area-0.0.0.1]quit
[r4-ospf-1]default-route-advertise always 
[r4-ospf-1]quit
[r4]
(2)路由表:

R1路由表:

[r1]display ip routing-table protocol ospf 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : OSPF
         Destinations : 3        Routes : 3        

OSPF routing table status : <Active>
         Destinations : 3        Routes : 3

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   O_ASE   150  1           D   192.168.1.99    GigabitEthernet
0/0/0
   192.168.1.33/32  OSPF    10   1           D   192.168.1.98    GigabitEthernet
0/0/0
  192.168.1.128/25  OSPF    10   2           D   192.168.1.99    GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

[r1]

R2路由表:

[r2]display ip routing-table protocol ospf 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : OSPF
         Destinations : 3        Routes : 3        

OSPF routing table status : <Active>
         Destinations : 3        Routes : 3

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   O_ASE   150  1           D   192.168.1.99    GigabitEthernet
0/0/0
    192.168.1.1/32  OSPF    10   1           D   192.168.1.97    GigabitEthernet
0/0/0
  192.168.1.128/25  OSPF    10   2           D   192.168.1.99    GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

[r2]

R3路由表:

[r3]display ip routing-table protocol ospf 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : OSPF
         Destinations : 3        Routes : 3        

OSPF routing table status : <Active>
         Destinations : 3        Routes : 3

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   O_ASE   150  1           D   192.168.1.130   GigabitEthernet
0/0/1
    192.168.1.1/32  OSPF    10   1           D   192.168.1.97    GigabitEthernet
0/0/0
   192.168.1.33/32  OSPF    10   1           D   192.168.1.98    GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

[r3]

R4路由表:

[r4]display ip routing-table protocol ospf 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : OSPF
         Destinations : 1        Routes : 1        

OSPF routing table status : <Active>
         Destinations : 1        Routes : 1

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

    192.168.1.0/25  OSPF    10   2           D   192.168.1.129   GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

[r4]

3、查看R3是否为DR

实现代码:

<r3>display ospf peer

结果展示:

[r3]display ospf peer 

	 OSPF Process 1 with Router ID 3.3.3.3
		 Neighbors 

 Area 0.0.0.0 interface 192.168.1.99(GigabitEthernet0/0/0)'s neighbors
 Router ID: 1.1.1.1          Address: 192.168.1.97    
   State: Full  Mode:Nbr is  Slave  Priority: 0
   DR: 192.168.1.99  BDR: None   MTU: 0    
   Dead timer due in 35  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:02:39     
   Authentication Sequence: [ 0 ] 

 Router ID: 192.168.1.98     Address: 192.168.1.98    
   State: Full  Mode:Nbr is  Master  Priority: 0
   DR: 192.168.1.99  BDR: None   MTU: 0    
   Dead timer due in 38  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:02:36     
   Authentication Sequence: [ 0 ] 

		 Neighbors 

 Area 0.0.0.1 interface 192.168.1.129(GigabitEthernet0/0/1)'s neighbors
 Router ID: 192.168.1.130    Address: 192.168.1.130   
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR: 192.168.1.129  BDR: 192.168.1.130  MTU: 0    
   Dead timer due in 40  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:01:12     
   Authentication Sequence: [ 0 ] 

[r3]

4、查看是否全网可达

实现代码:

<r1>ping 192.168.1.33
<r1>ping 192.168.1.65
<r1>ping 192.168.1.129
<r1>ping 4.4.4.1

结果展示:

[r1]ping 192.168.1.33
  PING 192.168.1.33: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.33: bytes=56 Sequence=1 ttl=255 time=60 ms
    Reply from 192.168.1.33: bytes=56 Sequence=2 ttl=255 time=30 ms
    Reply from 192.168.1.33: bytes=56 Sequence=3 ttl=255 time=40 ms
    Reply from 192.168.1.33: bytes=56 Sequence=4 ttl=255 time=50 ms
    Reply from 192.168.1.33: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 192.168.1.33 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 30/42/60 ms
[r1]ping 192.168.1.65
  PING 192.168.1.65: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.65: bytes=56 Sequence=1 ttl=255 time=40 ms
    Reply from 192.168.1.65: bytes=56 Sequence=2 ttl=255 time=40 ms
    Reply from 192.168.1.65: bytes=56 Sequence=3 ttl=255 time=30 ms
    Reply from 192.168.1.65: bytes=56 Sequence=4 ttl=255 time=40 ms
    Reply from 192.168.1.65: bytes=56 Sequence=5 ttl=255 time=50 ms

  --- 192.168.1.65 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 30/40/50 ms
[r1]ping 192.168.1.129
  PING 192.168.1.129: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.129: bytes=56 Sequence=1 ttl=255 time=40 ms
    Reply from 192.168.1.129: bytes=56 Sequence=2 ttl=255 time=60 ms
    Reply from 192.168.1.129: bytes=56 Sequence=3 ttl=255 time=40 ms
    Reply from 192.168.1.129: bytes=56 Sequence=4 ttl=255 time=50 ms
    Reply from 192.168.1.129: bytes=56 Sequence=5 ttl=255 time=50 ms

  --- 192.168.1.129 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 40/48/60 ms
[r1]ping 4.4.4.1
  PING 4.4.4.1: 56  data bytes, press CTRL_C to break
    Reply from 4.4.4.1: bytes=56 Sequence=1 ttl=254 time=50 ms
    Reply from 4.4.4.1: bytes=56 Sequence=2 ttl=254 time=40 ms
    Reply from 4.4.4.1: bytes=56 Sequence=3 ttl=254 time=50 ms
    Reply from 4.4.4.1: bytes=56 Sequence=4 ttl=254 time=50 ms
    Reply from 4.4.4.1: bytes=56 Sequence=5 ttl=254 time=40 ms

  --- 4.4.4.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 40/46/50 ms

[r1]

5、缩短路由条目,子网汇总

实现代码:

[r3-ospf-1-area-0.0.0.0]abr-summary 192.168.1.0 255.255.255.128
路由表对比:

原路由表:

[r4]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 13       Routes : 13       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        4.4.4.0/24  Direct  0    0           D   4.4.4.1         LoopBack0
        4.4.4.1/32  Direct  0    0           D   127.0.0.1       LoopBack0
      4.4.4.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
    192.168.1.1/32  OSPF    10   2           D   192.168.1.129   GigabitEthernet
0/0/0
   192.168.1.33/32  OSPF    10   2           D   192.168.1.129   GigabitEthernet
0/0/0
   192.168.1.96/27  OSPF    10   2           D   192.168.1.129   GigabitEthernet
0/0/0
  192.168.1.128/25  Direct  0    0           D   192.168.1.130   GigabitEthernet
0/0/0
  192.168.1.130/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
  192.168.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r4]

之后路由表:

[r4]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 11       Routes : 11       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        4.4.4.0/24  Direct  0    0           D   4.4.4.1         LoopBack0
        4.4.4.1/32  Direct  0    0           D   127.0.0.1       LoopBack0
      4.4.4.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
    192.168.1.0/25  OSPF    10   2           D   192.168.1.129   GigabitEthernet
0/0/0
  192.168.1.128/25  Direct  0    0           D   192.168.1.130   GigabitEthernet
0/0/0
  192.168.1.130/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
  192.168.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r4]

6、进行手工认证

实现代码:

R1实现代码:

[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r1-GigabitEthernet0/0/0]quit
[r1]

R2实现代码:

[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r2-GigabitEthernet0/0/0]quit
[r2]

R3实现代码:

[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456

7、配置空接口

实现代码:

[r3]ip route-static 192.168.1.0 25 NULL 0

路由表:

[r3]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 17       Routes : 17       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   O_ASE   150  1           D   192.168.1.130   GigabitEthernet
0/0/1
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
    192.168.1.0/25  Static  60   0           D   0.0.0.0         NULL0
    192.168.1.1/32  OSPF    10   1           D   192.168.1.97    GigabitEthernet
0/0/0
   192.168.1.33/32  OSPF    10   1           D   192.168.1.98    GigabitEthernet
0/0/0
   192.168.1.64/27  Direct  0    0           D   192.168.1.65    LoopBack0
   192.168.1.65/32  Direct  0    0           D   127.0.0.1       LoopBack0
   192.168.1.95/32  Direct  0    0           D   127.0.0.1       LoopBack0
   192.168.1.96/27  Direct  0    0           D   192.168.1.99    GigabitEthernet
0/0/0
   192.168.1.99/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
  192.168.1.127/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
  192.168.1.128/25  Direct  0    0           D   192.168.1.129   GigabitEthernet
0/0/1
  192.168.1.129/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
  192.168.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r3]

8、再次此时网络连通性

实现代码:

<r1>ping 192.168.1.33
<r1>ping 192.168.1.65
<r1>ping 192.168.1.129
<r1>ping 4.4.4.1

结果展示:

[r1]ping 192.168.1.33
  PING 192.168.1.33: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.33: bytes=56 Sequence=1 ttl=255 time=40 ms
    Reply from 192.168.1.33: bytes=56 Sequence=2 ttl=255 time=50 ms
    Reply from 192.168.1.33: bytes=56 Sequence=3 ttl=255 time=40 ms
    Reply from 192.168.1.33: bytes=56 Sequence=4 ttl=255 time=40 ms
    Reply from 192.168.1.33: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 192.168.1.33 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 30/40/50 ms
[r1]ping 192.168.1.65
  PING 192.168.1.65: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.65: bytes=56 Sequence=1 ttl=255 time=40 ms
    Reply from 192.168.1.65: bytes=56 Sequence=2 ttl=255 time=50 ms
    Reply from 192.168.1.65: bytes=56 Sequence=3 ttl=255 time=50 ms
    Reply from 192.168.1.65: bytes=56 Sequence=4 ttl=255 time=60 ms
    Reply from 192.168.1.65: bytes=56 Sequence=5 ttl=255 time=40 ms

  --- 192.168.1.65 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 40/48/60 ms
[r1]ping 192.168.1.129
  PING 192.168.1.129: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.129: bytes=56 Sequence=1 ttl=255 time=60 ms
    Reply from 192.168.1.129: bytes=56 Sequence=2 ttl=255 time=40 ms
    Reply from 192.168.1.129: bytes=56 Sequence=3 ttl=255 time=50 ms
    Reply from 192.168.1.129: bytes=56 Sequence=4 ttl=255 time=50 ms
    Reply from 192.168.1.129: bytes=56 Sequence=5 ttl=255 time=50 ms

  --- 192.168.1.129 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 40/50/60 ms
[r1]ping 4.4.4.1
  PING 4.4.4.1: 56  data bytes, press CTRL_C to break
    Reply from 4.4.4.1: bytes=56 Sequence=1 ttl=254 time=40 ms
    Reply from 4.4.4.1: bytes=56 Sequence=2 ttl=254 time=70 ms
    Reply from 4.4.4.1: bytes=56 Sequence=3 ttl=254 time=60 ms
    Reply from 4.4.4.1: bytes=56 Sequence=4 ttl=254 time=50 ms
    Reply from 4.4.4.1: bytes=56 Sequence=5 ttl=254 time=40 ms

  --- 4.4.4.1 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 40/52/70 ms

[r1]

实验完成!