• 简易路由重分布配置


    拓扑图如下:

    首先配置好各主机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

  • 相关阅读:
    2018-2019 20165208 网络对抗 Exp6 信息搜集与漏洞扫描
    2018-2019 20165208 网络对抗 Exp5 MSF基础
    2018-2019 20165208 网络对抗 Exp4 恶意代码分析
    2018-2019 20165208 网络对抗 Exp3 免杀原理与实践
    2018-2019 20165208 网络对抗 Exp2 后门原理与实践
    # 2018-2019 20165208 网络对抗 Exp1 PC平台逆向破解
    2017-2018-2 20155315《网络对抗技术》免考总结
    2017-2018-2 20155315《网络对抗技术》免考五:Windows提权
    2017-2018-2 20155315《网络对抗技术》免考四:中间人攻击
    2017-2018-2 20155315《网络对抗技术》免考三:钓鱼邮件
  • 原文地址:https://www.cnblogs.com/LilacStrawberry/p/9224325.html
Copyright © 2020-2023  润新知