• 简易的浮动静态路由配置


    拓扑图:

     

    R1配置

      

      en          进入特权模式

      conf  t       进入全局配置模式

      hostname R1        修改路由器名称为R1

      no ip domain-lookup  去除域名解析

      int s1/0  

      ip addr 192.168.1.1 255.255.255.0

      no shutdown

      clock rate 64000

      int s1/1

      ip addr 192.168.2.1 255.255.255.0

      clock rate 64000

      no shutdown

      int f0/0

      ip addr 192.168.3.1 255.255.255.0

      no shutdown

         int l0

      ip addr 192.168.4.1 255.255.255.0 

      no shutdown

      exit

      router rip

      version 2

      no auto-summary 

      network 192.168.1.0

      network 192.168.2.0

      network 192.168.3.0

      network 192.168.4.0

      exit

      ip route 192.168.5.0 255.255.255.0 192.168.3.2 123

    R2配置 

      en          进入特权模式

      conf  t       进入全局配置模式

      hostname R2        修改路由器名称为R2

      no ip domain-lookup  去除域名解析

      int s1/0  

      ip addr 192.168.1.2 255.255.255.0

      no shutdown

      clock rate 64000

      int s1/1

      ip addr 192.168.2.2 255.255.255.0

      clock rate 64000

      no shutdown

      int f0/0

      ip addr 192.168.3.2 255.255.255.0

      no shutdown

      int l0

      ip addr 192.168.5.1 255.255.255.0 

      no shutdown

      exit

      router rip

      version 2

      no auto-summary 

      network 192.168.1.0

      network 192.168.2.0

      network 192.168.3.0

      network 192.168.4.0

      exit

      ip route 192.168.4.0 255.255.255.0 192.168.3.1 123

      

  • 相关阅读:
    mysql增量同步到greenplum
    c笔记06--编译与作用域
    C笔记05-选择顺序结构,关系与相等,优先级和结合性
    C笔记02-C数据类型与数据类型转换
    C笔记01-C简介与补码
    jQuery属性操作之.val()函数
    jQuery属性操作之.attr()
    jQuery笔记: 基本概念与jQuery核心
    笔记: js构造函数与原型
    布尔运算符
  • 原文地址:https://www.cnblogs.com/LilacStrawberry/p/9221652.html
Copyright © 2020-2023  润新知