zoukankan      html  css  js  c++  java
  • 路由重分布(二)

    实验要求:使用路由重分布让路由器获得所有路由条目

    拓扑如下:

     

    配置如下:

    R1
    enable
    configure terminal
    interface s0/0/0
    ip address 192.168.4.2 255.255.255.0
    no shutdown
    interface s0/1/0
    ip address 192.168.1.1 255.255.255.0
    no shutdown
    interface s0/0/1
    ip address 192.168.2.1 255.255.255.0
    no shutdown
    exit
    ip route 192.168.7.0 255.255.255.0 192.168.4.1
    router ospf 1
    network 192.168.1.0 0.0.0.255 area 0
    network 192.168.2.0 0.0.0.255 area 0
    redistribute static subnet
    redistribute connected subnet


    R2
    enable
    configure terminal
    interface s0/1/0
    ip address 192.168.1.2 255.255.255.0
    no shutdown
    clock rate 64000
    interface s0/0/1
    ip address 192.168.6.2 255.255.255.0
    no shutdown
    clock rate 64000
    interface s0/0/0
    ip address 192.168.3.1 255.255.255.0
    no shutdown
    exit
    router ospf 1
    network 192.168.1.0 0.0.0.255 area 0
    network 192.168.3.0 0.0.0.255 area 0
    redistribute rip metric 1
    exit
    router rip
    version 2
    network 192.168.6.0
    redistribute ospf 1 metric 1

    R3
    enable
    configure terminal
    interface s0/0/0
    ip address 192.168.2.2 255.255.255.0
    clock rate 64000
    no shutdown
    interface s0/0/1
    ip address 192.168.3.2 255.255.255.0
    clock rate 64000
    no shutdown
    interface s0/1/0
    ip address 192.168.5.1 255.255.255.0
    clock rate 64000
    no shutdown
    exit
    router ospf 1
    network 192.168.2.0 0.0.0.255 area 0
    network 192.168.3.0 0.0.0.255 area 0
    redistribute eigrp 1 metric 1 metric-type 1 subnet
    exit
    router eigrp 1
    network 192.168.5.0 0.0.0.255
    redistribute ospf 1 metric 1000 100 255 1 1500


    R4
    enable
    configure terminal
    interface f0/0
    ip address 192.168.7.254 255.255.255.0
    no shutdown
    interface s0/0/0
    ip address 192.168.4.1 255.255.255.0
    clock rate 64000
    no shutdown
    exit
    ip route 0.0.0.0 0.0.0.0 192.168.4.2

    R5
    enable
    configure terminal
    interface s0/0/0
    ip address 192.168.6.1 255.255.255.0
    no shutdown
    interface f0/0
    ip address 192.168.9.254 255.255.255.0
    no shutdown
    exit
    route rip
    version 2
    network 192.168.9.0
    network 192.168.6.0


    R6
    enable
    configure terminal
    interface s0/0/0
    ip address 192.168.5.2 255.255.255.0
    no shutdown
    interface f0/0
    ip address 192.168.8.254 255.255.255.0
    no shutdown
    exit
    route eigrp 1
    network 192.168.5.0 0.0.0.255
    network 192.168.8.0 0.0.0.255

  • 相关阅读:
    dva实用的学习笔记
    上传图片到七牛云
    Lodash学习笔记
    Ant Design Pro 脚手架+umiJS 实践总结
    SVN的安装和使用手册
    判断数据类型的5种方法
    常见react面试题汇总(适合中级前端)
    Es6 类class的关键 super、static、constructor、new.target
    ES2019 新特性简介
    通用正则实战200
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9215202.html
Copyright © 2011-2022 走看看