ospf实验

要求

在这里插入图片描述

配置

R1

Public routing table : OSPF
         Destinations : 4        Routes : 4        

OSPF routing table status : <Active>
         Destinations : 4        Routes : 4

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   O_ASE   150  1           D   192.168.1.3     GigabitEthernet
0/0/0
    192.168.1.8/30  OSPF    10   2           D   192.168.1.3     GigabitEthernet
0/0/0
   192.168.1.12/30  OSPF    10   3           D   192.168.1.3     GigabitEthernet
0/0/0
   192.168.1.33/32  OSPF    10   1           D   192.168.1.2     GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

R2

Public routing table : OSPF
         Destinations : 4        Routes : 4        

OSPF routing table status : <Active>
         Destinations : 4        Routes : 4

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   O_ASE   150  1           D   192.168.1.3     GigabitEthernet
0/0/0
    192.168.1.8/30  OSPF    10   2           D   192.168.1.3     GigabitEthernet
0/0/0
   192.168.1.12/30  OSPF    10   3           D   192.168.1.3     GigabitEthernet
0/0/0
   192.168.1.17/32  OSPF    10   1           D   192.168.1.1     GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

R3

Public routing table : OSPF
         Destinations : 4        Routes : 4        

OSPF routing table status : <Active>
         Destinations : 4        Routes : 4

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   O_ASE   150  1           D   192.168.1.10    GigabitEthernet
0/0/1
   192.168.1.12/30  OSPF    10   2           D   192.168.1.10    GigabitEthernet
0/0/1
   192.168.1.17/32  OSPF    10   1           D   192.168.1.1     GigabitEthernet
0/0/0
   192.168.1.33/32  OSPF    10   1           D   192.168.1.2     GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

R4

Public routing table : OSPF
         Destinations : 4        Routes : 4        

OSPF routing table status : <Active>
         Destinations : 4        Routes : 4

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        0.0.0.0/0   O_ASE   150  1           D   192.168.1.14    GigabitEthernet
0/0/1
    192.168.1.0/29  OSPF    10   2           D   192.168.1.9     GigabitEthernet
0/0/0
   192.168.1.17/32  OSPF    10   2           D   192.168.1.9     GigabitEthernet
0/0/0
   192.168.1.33/32  OSPF    10   2           D   192.168.1.9     GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

R5

Public routing table : OSPF
         Destinations : 4        Routes : 4        

OSPF routing table status : <Active>
         Destinations : 4        Routes : 4

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

    192.168.1.0/29  OSPF    10   3           D   192.168.1.13    GigabitEthernet
0/0/0
    192.168.1.8/30  OSPF    10   2           D   192.168.1.13    GigabitEthernet
0/0/0
   192.168.1.17/32  OSPF    10   3           D   192.168.1.13    GigabitEthernet
0/0/0
   192.168.1.33/32  OSPF    10   3           D   192.168.1.13    GigabitEthernet
0/0/0

OSPF routing table status : <Inactive>
         Destinations : 0        Routes : 0

全网可达

<r1>ping 192.168.1.3
  PING 192.168.1.3: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.3: bytes=56 Sequence=1 ttl=255 time=40 ms
    Reply from 192.168.1.3: bytes=56 Sequence=2 ttl=255 time=50 ms
    Reply from 192.168.1.3: bytes=56 Sequence=3 ttl=255 time=40 ms
    Reply from 192.168.1.3: bytes=56 Sequence=4 ttl=255 time=50 ms
    Reply from 192.168.1.3: bytes=56 Sequence=5 ttl=255 time=50 ms

  --- 192.168.1.3 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 40/46/50 ms

<r1>ping 192.168.1.9
  PING 192.168.1.9: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.9: bytes=56 Sequence=1 ttl=255 time=40 ms
    Reply from 192.168.1.9: bytes=56 Sequence=2 ttl=255 time=40 ms
    Reply from 192.168.1.9: bytes=56 Sequence=3 ttl=255 time=60 ms
    Reply from 192.168.1.9: bytes=56 Sequence=4 ttl=255 time=60 ms
    Reply from 192.168.1.9: bytes=56 Sequence=5 ttl=255 time=40 ms

  --- 192.168.1.9 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 40/48/60 ms

<r1>ping 192.168.1.13
  PING 192.168.1.13: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.13: bytes=56 Sequence=1 ttl=254 time=50 ms
    Reply from 192.168.1.13: bytes=56 Sequence=2 ttl=254 time=80 ms
    Reply from 192.168.1.13: bytes=56 Sequence=3 ttl=254 time=40 ms
    Reply from 192.168.1.13: bytes=56 Sequence=4 ttl=254 time=30 ms
    Reply from 192.168.1.13: bytes=56 Sequence=5 ttl=254 time=30 ms

  --- 192.168.1.13 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 30/46/80 ms

<r1>ping 192.168.1.49
  PING 192.168.1.49: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.49: bytes=56 Sequence=1 ttl=253 time=50 ms
    Reply from 192.168.1.49: bytes=56 Sequence=2 ttl=253 time=50 ms
    Reply from 192.168.1.49: bytes=56 Sequence=3 ttl=253 time=50 ms
    Reply from 192.168.1.49: bytes=56 Sequence=4 ttl=253 time=50 ms
    Reply from 192.168.1.49: bytes=56 Sequence=5 ttl=253 time=50 ms

  --- 192.168.1.49 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 50/50/50 ms
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值