zoukankan      html  css  js  c++  java
  • 神州数码静态路由及直连网段引入到RIP协议配置(路由重定向)

    实验要求:掌握静态路由及直连网段引入协议当中的配置

    拓扑如下

    R1

    enable  进入特权模式

    config  进入全局模式

    hostname R1  修改名称

    interface g0/6  进入端口

    ip address 192.168.2.254 255.255.255.0  设置IP地址

    no shutdown  开启端口

    interface s0/1  进入端口

    ip address 192.168.1.1 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    no shutdown  开启端口

    exit  返回上一级

    ip route 0.0.0.0 0.0.0.0 192.168.1.2  添加静态路由

      

    R2

    enable  进入特权模式

    config  进入全局模式

    hostname R2  修改名称

    interface g0/6  进入端口

    ip address 192.168.3.1 255.255.255.0  设置IP地址

    no shutdown  开启端口

    interface s0/2  进入端口

    ip address 192.168.1.2 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    no shutdown  开启端口

    exit  返回上一级

    ip route 192.168.2.0 255.255.255.0 192.168.1.1  添加静态路由

    router rip  启动RIP协议

    version 2  选择版本

    network 192.168.3.0  添加直连网段到RIP

    redistribute static  引入静态路由

    redistribute connect  引入直连网段

    R3

    enable  进入特权模式

    config  进入全局模式

    hostname R3  修改名称

    interface g0/6  进入端口

    ip address 192.168.3.2 255.255.255.0  设置IP地址

    no shutdown  开启端口

    exit  返回上一级

    router rip  启动RIP协议

    version 2  选择版本

    network 192.168.3.0  添加直连网段到RIP

    相关命令

    ip route 0.0.0.0 0.0.0.0 [下一跳地址]   设置缺省路由

    redistribute [重定向路由的类型]     路由重定向

          --ospf

          --rip

          --static

          --connect

          --beigrp

          --bgp

          --Isis

  • 相关阅读:
    asp.net在线压缩和解压缩的实现 VS2005
    Office组件配置
    您无权查看或编辑目前 F:\XXX 的权限设置;但是,您可以取得所有权或更改审核设置
    23条心灵寄语献给在创业一线的兄弟姐妹
    IIS 环境下 w3wp.exe 进程 CPU 占用过高的解决方案
    SQLServer修改表所有者
    走出软件作坊推荐
    Asp.net 的 服务器推技术 (Server Push)
    上海火车站售票点
    Newtonsoft.Json.dll 本地调用正常,服务器调用不正常
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9319790.html
Copyright © 2011-2022 走看看