ip 复习第二天实验网络类型

部分代码

r1

    0 packet(s) received
    100.00% packet loss

[r1-Serial4/0/0]ping 15.1.1.2
Jul  8 2021 17:56:27-08:00 r1 %%01IFNET/4/LINK_STATE(l)[13]:The line protocol PP
P on the interface Serial4/0/0 has entered the UP state. 
[r1-Serial4/0/0]ping 15.1.1.2
Jul  8 2021 17:56:27-08:00 r1 %%01IFNET/4/LINK_STATE(l)[14]:The line protocol PP
P IPCP on the interface Serial4/0/0 has entered the UP state. 
[r1-Serial4/0/0]ping 15.1.1.2
  PING 15.1.1.2: 56  data bytes, press CTRL_C to break
    Reply from 15.1.1.2: bytes=56 Sequence=1 ttl=255 time=10 ms
    Reply from 15.1.1.2: bytes=56 Sequence=2 ttl=255 time=10 ms
    Reply from 15.1.1.2: bytes=56 Sequence=3 ttl=255 time=30 ms
    Reply from 15.1.1.2: bytes=56 Sequence=4 ttl=255 time=20 ms
    Reply from 15.1.1.2: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 15.1.1.2 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 10/20/30 ms

[r1-Serial4/0/0]

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

<r1>
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]interf    
[r1]interface g    
[r1]interface GigabitEthernet 0/0/0
[r1-GigabitEthernet0/0/0]ip add 192.168.1.0 24
Error: The specified IP address is invalid.
[r1-GigabitEthernet0/0/0]ip add 192.168.1.1 24
Jul  8 2021 18:47:03-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r1-GigabitEthernet0/0/0]q
[r1]interf    
[r1]interface t    
[r1]interface Tunnel 0/0/0
[r1-Tunnel0/0/0]ip add 10.1.1.1 24
[r1-Tunnel0/0/0]tun    
[r1-Tunnel0/0/0]tunnel-protocol g    
[r1-Tunnel0/0/0]tunnel-protocol gre 
[r1-Tunnel0/0/0]sou    
[r1-Tunnel0/0/0]source 15.1.1.1
[r1-Tunnel0/0/0]de    
[r1-Tunnel0/0/0]dest    
[r1-Tunnel0/0/0]destination 45.1.1.1
Jul  8 2021 18:50:54-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface Tunnel0/0/0 has entered the UP state. 
[r1-Tunnel0/0/0]
[r1-Tunnel0/0/0]ping 10.1.1.2
  PING 10.1.1.2: 56  data bytes, press CTRL_C to break
    Request time out
    Reply from 10.1.1.2: bytes=56 Sequence=2 ttl=255 time=50 ms
    Reply from 10.1.1.2: bytes=56 Sequence=3 ttl=255 time=30 ms
    Reply from 10.1.1.2: bytes=56 Sequence=4 ttl=255 time=40 ms
    Reply from 10.1.1.2: bytes=56 Sequence=5 ttl=255 time=30 ms

  --- 10.1.1.2 ping statistics ---
    5 packet(s) transmitted
    4 packet(s) received
    20.00% packet loss
    round-trip min/avg/max = 30/37/50 ms

[r1-Tunnel0/0/0]q
[r1]interf    
[r1]interface t    
[r1]interface Tunnel 0/0/1
[r1-Tunnel0/0/1]ip add 10.1.2.1 24
[r1-Tunnel0/0/1]tun    
[r1-Tunnel0/0/1]tunnel-protocol g    
[r1-Tunnel0/0/1]tunnel-protocol gre pm    
[r1-Tunnel0/0/1]tunnel-protocol gre mp    
[r1-Tunnel0/0/1]tunnel-protocol gre p2    
[r1-Tunnel0/0/1]tunnel-protocol gre p2mp 
[r1-Tunnel0/0/1]sou    
[r1-Tunnel0/0/1]source 15.1.1.1
Jul  8 2021 18:54:26-08:00 r1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface Tunnel0/0/1 has entered the UP state. 
[r1-Tunnel0/0/1]
[r1-Tunnel0/0/1]nhrp en    
[r1-Tunnel0/0/1]nhrp entry mu    
[r1-Tunnel0/0/1]nhrp entry multicast dy    
[r1-Tunnel0/0/1]nhrp entry multicast dynamic 
[r1-Tunnel0/0/1]nhrp net    
[r1-Tunnel0/0/1]nhrp network-id 100
[r1-Tunnel0/0/1]

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

<r1>
<r1>
<r1>
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]rip 1
[r1-rip-1]ver    
[r1-rip-1]versi    
[r1-rip-1]version 2
[r1-rip-1]undo su    
[r1-rip-1]undo summary 
[r1-rip-1]netw    
[r1-rip-1]network 10.0.0.0 
[r1-rip-1]net    
[r1-rip-1]network 192.168.1.0
[r1-rip-1]
[r1-rip-1]
[r1-rip-1]q
[r1]dis    
[r1]display rip    
[r1]display rip
Public VPN-instance    
    RIP process : 1
       RIP version   : 2
       Preference    : 100
       Checkzero     : Enabled
       Default-cost  : 0
       Summary       : Disabled
       Host-route    : Enabled
       Maximum number of balanced paths : 8
       Update time   : 30 sec              Age time : 180 sec 
       Garbage-collect time : 120 sec 
       Graceful restart  : Disabled
       BFD               : Disabled
       Silent-interfaces : None 
       Default-route : Disabled
       Verify-source : Enabled
       Networks : 
       192.168.1.0        10.0.0.0       
       Configured peers             : None 
       Number of routes in database : 7
       Number of interfaces enabled : 3
       Triggered updates sent       : 5
       Number of route changes      : 3
       Number of replies to queries : 3
       Number of routes in ADV DB   : 6

  Total count for 1 process : 
       Number of routes in database : 7 
       Number of interfaces enabled : 3 
       Number of routes sendable in a periodic update : 21
       Number of routes sent in last periodic update : 15 
[r1]
[r1]
[r1]
[r1]dis    
[r1]display ip p    
[r1]display ip pro    
[r1]display ip rou    
[r1]display ip routing-table bro    
[r1]display ip routing-table pro    
[r1]display ip routing-table protocol rip
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : RIP
         Destinations : 3        Routes : 3        

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

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

    192.168.2.0/24  RIP     100  1           D   10.1.2.2        Tunnel0/0/1
    192.168.4.0/24  RIP     100  1           D   10.1.1.2        Tunnel0/0/0
    192.168.6.0/24  RIP     100  1           D   10.1.2.3        Tunnel0/0/1

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

[r1]interf    
[r1]interface t    
[r1]interface Tunnel 0/0/1
[r1-Tunnel0/0/1]undo rip sp    
[r1-Tunnel0/0/1]undo rip split-horizon 
[r1-Tunnel0/0/1]

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

<r1>
<r1>
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]acl-200
    ^
Error: Unrecognized command found at '^' position.
[r1]acl-2000
    ^
Error: Unrecognized command found at '^' position.
[r1]acl 2000
[r1-acl-basic-2000]ru    
[r1-acl-basic-2000]rule per    
[r1-acl-basic-2000]rule permit 192.168.1.0 0.0.0.255
                               ^
Error:Too many parameters found at '^' position.
[r1-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255
[r1-acl-basic-2000]q
[r1]interf    
[r1]interface ser    
[r1]interface Serial 4/0/0
[r1-Serial4/0/0]nat ou    
[r1-Serial4/0/0]nat outbound 2000
[r1-Serial4/0/0]

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

截图


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值