• RIP


    本实验模拟RIP网络环境,完成以下配置需求:
    1.如图所示,配置设备名称和IP地址。
    
    2.在R1 R2 R3运行RIP,完成以下需求:
    1)使用RIPv2
    2)所有接口启用md5密文验证,算法使用华为usual,口令为“spoto”(不含引号)
    3)全网互通

    R1配置

    interface GigabitEthernet0/0/0
     ip address 192.168.12.1 255.255.255.0 
     rip authentication-mode md5 usual cipher %$%$GEb=B4;i=Q1SFv(xAQwK@9E5%$%$
    
    interface LoopBack0
     ip address 1.1.1.1 255.255.255.255 
    #
    rip 1
     version 2
     network 1.0.0.0
     network 192.168.12.0

    R2配置

    interface GigabitEthernet0/0/0
     ip address 192.168.12.2 255.255.255.0 
     rip authentication-mode md5 usual cipher %$%$A@+g=C3If)ip|<FQW^0M@:<T%$%$
    #
    interface GigabitEthernet0/0/1
     ip address 192.168.23.2 255.255.255.0 
     rip authentication-mode md5 usual cipher %$%$.osq.9rnB<>@ss!Cb/pO@;/Z%$%$
    #
    interface LoopBack0
     ip address 2.2.2.2 255.255.255.255 
    #
    rip 1
     version 2
     network 2.0.0.0
     network 192.168.12.0
     network 192.168.23.0
    #

    R3配置

    interface GigabitEthernet0/0/0
     ip address 192.168.23.3 255.255.255.0 
     rip authentication-mode md5 usual cipher %$%$pdY<!*BFsT>8(lU%E~B@;]4%$%$
    #
    interface LoopBack0
     ip address 3.3.3.3 255.255.255.0 
    #
    rip 1
     version 2
     network 192.168.23.0
     network 3.0.0.0
    #

    测试

    [AR1]ping -a 1.1.1.1 2.2.2.2
      PING 2.2.2.2: 56  data bytes, press CTRL_C to break
        Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=50 ms
        Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=20 ms
        Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=20 ms
        Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=20 ms
        Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=20 ms
    
      --- 2.2.2.2 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
        round-trip min/avg/max = 20/26/50 ms
    
    [AR1]ping -a 1.1.1.1 3.3.3.3
      PING 3.3.3.3: 56  data bytes, press CTRL_C to break
        Reply from 3.3.3.3: bytes=56 Sequence=1 ttl=254 time=30 ms
        Reply from 3.3.3.3: bytes=56 Sequence=2 ttl=254 time=30 ms
        Reply from 3.3.3.3: bytes=56 Sequence=3 ttl=254 time=40 ms
        Reply from 3.3.3.3: bytes=56 Sequence=4 ttl=254 time=30 ms
        Reply from 3.3.3.3: bytes=56 Sequence=5 ttl=254 time=20 ms
    
      --- 3.3.3.3 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
        round-trip min/avg/max = 20/30/40 ms
    
    [AR1]
    [AR2]ping -a 2.2.2.2 1.1.1.1
      PING 1.1.1.1: 56  data bytes, press CTRL_C to break
        Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=30 ms
        Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
        Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
        Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=255 time=40 ms
        Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=30 ms
    
      --- 1.1.1.1 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
        round-trip min/avg/max = 20/28/40 ms
    
    [AR2]ping -a 2.2.2.2 3.3.3.3
      PING 3.3.3.3: 56  data bytes, press CTRL_C to break
        Reply from 3.3.3.3: bytes=56 Sequence=1 ttl=255 time=40 ms
        Reply from 3.3.3.3: bytes=56 Sequence=2 ttl=255 time=30 ms
        Reply from 3.3.3.3: bytes=56 Sequence=3 ttl=255 time=30 ms
        Reply from 3.3.3.3: bytes=56 Sequence=4 ttl=255 time=20 ms
        Reply from 3.3.3.3: bytes=56 Sequence=5 ttl=255 time=20 ms
    
      --- 3.3.3.3 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
        round-trip min/avg/max = 20/28/40 ms
    
    [AR2]
    [AR3]ping -a 3.3.3.3 1.1.1.1
      PING 1.1.1.1: 56  data bytes, press CTRL_C to break
        Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=254 time=30 ms
        Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=254 time=20 ms
        Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=254 time=30 ms
        Reply from 1.1.1.1: bytes=56 Sequence=4 ttl=254 time=20 ms
        Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=254 time=20 ms
    
      --- 1.1.1.1 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
        round-trip min/avg/max = 20/24/30 ms
    
    [AR3]ping -a 3.3.3.3 2.2.2.2
      PING 2.2.2.2: 56  data bytes, press CTRL_C to break
        Reply from 2.2.2.2: bytes=56 Sequence=1 ttl=255 time=20 ms
        Reply from 2.2.2.2: bytes=56 Sequence=2 ttl=255 time=20 ms
        Reply from 2.2.2.2: bytes=56 Sequence=3 ttl=255 time=40 ms
        Reply from 2.2.2.2: bytes=56 Sequence=4 ttl=255 time=20 ms
        Reply from 2.2.2.2: bytes=56 Sequence=5 ttl=255 time=20 ms
    
      --- 2.2.2.2 ping statistics ---
        5 packet(s) transmitted
        5 packet(s) received
        0.00% packet loss
        round-trip min/avg/max = 20/24/40 ms
    
    [AR3]
  • 相关阅读:
    Python3 collections模块的使用
    基于python的分治法和例题
    docker容器间通信 (共用宿主机)
    HTML之form表单ENCTYPE属性解析
    搭建基于码云gitee平台代码自动部署
    centos7下docker搭建nginx+phpfpm环境
    mysql主从配置
    centos7升级自带mariadb
    linux下安装docker
    centos7安装postgreSql11
  • 原文地址:https://www.cnblogs.com/liujunjun/p/12902390.html
Copyright © 2020-2023  润新知