zoukankan      html  css  js  c++  java
  • OSPF的简易模拟配置第三篇

    拓扑图:

    这次的OSPF 是广播多路访问链路上的OSPF的配置

    先配置好各设备ID地址

     R1配置

      en

      conf t

      no ip domain-lookup

      int l0

      ip addr 1.1.1.1 255.255.255.0

      no shut

      int f0/0

      ip addr 192.168.0.1 255.255.255.0

      no shut

    R2配置

      en

      conf t

      no ip domain-lookup

      int l0

      ip addr 2.2.2.2 255.255.255.0

      no shut

      int f0/0

      ip addr 192.168.0.2 255.255.255.0

      no shut

    R3配置

      en

      conf t

      no ip domain-lookup

      int l0

      ip addr 3.3.3.3 255.255.255.0

      no shut

      int f0/0

      ip addr 192.168.0.3 255.255.255.0

      no shut

    R4配置

      

      en

      conf t

      no ip domain-lookup

      int l0

      ip addr 4.4.4.4 255.255.255.0

      no shut

      int f0/0

      ip addr 192.168.0.4 255.255.255.0

      no shut

    路由配置

    R1

      en

      conf t

      router ospf 1

      router-id 1.1.1.1

      network 192.168.0.0 0.0.0.255 area 0

      network 1.1.1.0 0.0.0.255 area 0

      auto-cost reference-bandwidth 1000

    R2

      

      en

      conf t

      router ospf 1

      router-id 2.2.2.2

      network 192.168.0.0 0.0.0.255 area 0

      network 2.2.2.0 0.0.0.255 area 0

      auto-cost reference-bandwidth 1000

    R3

      

      en

      conf t

      router ospf 1

      router-id 3.3.3.3

      network 192.168.0.0 0.0.0.255 area 0

      network 3.3.3.3 0.0.0.255 area 0

      auto-cost reference-bandwidth 1000

    R4

      en

      conf t

      router ospf 1

      router-id 4.4.4.4

      network 192.168.0.0 0.0.0.255 area 0

      network 4.4.4.0 0.0.0.255 area 0

      auto-cost reference-bandwidth 1000

  • 相关阅读:
    linux 修改文件夹颜色 终端颜色
    每日更新FadeTop背景为必应图片
    odoo 去除动作菜单的删除按钮
    crontab详解
    odoo 创建初始数据库 切换当前数据库
    python for else
    lfi phpinfo
    python __dict__
    iscsi 开机自动挂载
    HP SSD smart path
  • 原文地址:https://www.cnblogs.com/LilacStrawberry/p/9230822.html
Copyright © 2011-2022 走看看