• OSPF路由协议(二)


    实验要求:使用OSPF路由协议,使每个路由器都能收集到所有网段

    拓扑如下:

    配置如下:

    R1
    enable
    configure terminal
    interface l0
    ip address 192.168.10.1 255.255.255.0
    interface s0/0/0
    ip address 192.168.1.1 255.255.255.252
    no shutdown
    exit
    router ospf 1
    network 192.168.10.0 0.0.0.255 area 0
    network 192.168.1.0 0.0.0.3 area 0


    R2
    enable
    configure terminal
    interface s0/0/0
    ip address 192.168.1.2 255.255.255.252
    clock rate 64000
    no shutdown
    interface s0/0/1
    ip address 192.168.1.5 255.255.255.252
    clock rate 64000
    no shutdown
    exit
    router ospf 1
    network 192.168.1.0 0.0.0.3 area 0
    network 192.168.1.4 0.0.0.3 area 0

    R3
    enable
    configure terminal
    interface s0/0/1
    ip address 192.168.1.6 255.255.255.252
    no shutdown
    interface s0/0/0
    ip address 192.168.1.9 255.255.255.252
    clock rate 64000
    no shutdown
    exit
    router ospf 1
    network 192.168.1.4 0.0.0.3 area 0
    network 192.168.1.8 0.0.0.3 area 0

    R4
    enable
    configure terminal
    interface l0
    ip address 192.168.20.1 255.255.255.0
    interface s0/0/0
    ip address 192.168.1.10 255.255.255.252
    no shutdown
    exit
    router ospf 1
    network 192.168.1.8 0.0.0.3 area 0
    network 192.168.20.0 0.0.0.255 area 0

  • 相关阅读:
    ArrayList.sort & Collections.sort
    preliminary->advanced exam coding part
    Spring JDBC的使用
    Spring之面向切面编程(AOP)
    Spring静态代理与动态代理
    Spring之JDBC的连接与注解的使用
    Spring入门之Bean的实例化方式
    Mybatis入门(二)
    Mybatis入门(一)
    正则表达式——转载
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9229683.html
Copyright © 2020-2023  润新知