• 简易路由重分布配置


    拓扑图如下:

    首先配置好各主机IP地址PC1:192.168.1.1 PC2:192.168.2.1 PC3:192.168.3.1

    设置IP

     R1配置

      

      en          

      conf  t       

      hostname R1      

      no ip domain-lookup  

      int s1/2  

      ip addr 192.168.14.2 255.255.255.0

      no shutdown

      int s1/1

      ip addr 192.168.12.2 255.255.255.0

      no shut 

      int s1/0 192.168.13.2 255.255.255.0

      no shut

    R2配置

     en          

      conf  t       

      hostname R2      

      no ip domain-lookup  

      int s1/0  

      ip addr 192.168.25.2 255.255.255.0

      no shutdown

      int s1/1

      ip addr 192.168.12.1 255.255.255.0

      clock rate 64000

      no shut 

      int s1/0 192.168.23.1 255.255.255.0

      clock rate 64000

      no shut

    R3配置

      

      en          

      conf  t       

      hostname R3      

      no ip domain-lookup  

      int s1/2  

      ip addr 192.168.23.2 255.255.255.0

      no shutdown

      int s1/0

      ip addr 192.168.13.1 255.255.255.0

      clock rate 64000

      no shut 

      int s1/1 192.168.36.2 255.255.255.0

      no shut

    R4配置

      

      en          

      conf  t       

      hostname R4      

      no ip domain-lookup  

      int f0/0

      ip addr 192.168.1.2 255.255.255.0

      no shut

      int s1/2

      ip addr 192.168.14.1 255.255.255.0

      clock rate 64000 

      no shut 

    R5配置

      

      en          

      conf  t       

      hostname R5      

      no ip domain-lookup  

      int f0/0

      ip addr 192.168.2.2 255.255.255.0

      no shut

      int s1/0

      ip addr 192.168.25.1 255.255.255.0

      clock rate 64000 

      no shut 

      

    R6配置

      en          

      conf  t       

      hostname R6      

      no ip domain-lookup  

      int f0/0

      ip addr 192.168.3.2 255.255.255.0

      no shut

      int s1/1

      ip addr 192.168.36.1 255.255.255.0

      clock rate 64000 

      no shut 

    路由配置

      R1

      en

      conf t

      router rip

      version 2

      network 192.168.12.0 

      network 192.168.13.0

      redistribute connected subnets

      redistribute static subnet

      exit

      ip route 192.168.1.0 255.255.255.0 192.168.14.1

      R2配置

      en

      conf t

      router rip

      version 2

      network 192.168.12.0 

      network 192.168.23.0

      redistribute connected subnets

      redistribute static subnet

      exit

      ip route 192.168.2.0 255.255.255.0 192.168.25.1

      R3配置

       en

      conf t

      router rip

      version 2

      network 192.168.23.0

      network 192.168.13.0

      redistribute connected subnets

      redistribute static subnet

      exit  

      ip route 192.168.3.0 255.255.255.0 192.168.36.1

      R4配置

      en

      conf t

      ip route 0.0.0.0 0.0.0.0 192.168.14.2

      R5配置

      en

      conf t

       ip route 0.0.0.0. 0.0.0.0 192.168.25.2

      R6配置

      en

      conf t

      ip route 0.0.0.0 0.0.0.0 192.168.36.2

  • 相关阅读:
    click事件——背景高亮
    color——RGB转16进制
    导航栏高亮设置
    layui table 渲染完成后,怎样拿到表个里的所有数据
    解决 AttributeError: 'dict' object has no attribute 'has_key' 错误的方法
    2019年总结:醒悟还为时不晚
    Worker Services读取配置后,发布Windows出现的问题及解决
    C# 读取配置(详细操作,让我们一起共同成长)
    程序不包含适合于入口点的静态“Main”方法
    .NET Core3.0-Worker Services
  • 原文地址:https://www.cnblogs.com/LilacStrawberry/p/9224325.html
Copyright © 2020-2023  润新知