路由综合实验错误

拓扑图

alt 路由综合实验拓扑图

要求

  1. 注意路由区域
  2. R1、R2配置RIP
  3. R4、R5、R6、R7配置OSPF
  4. R1、R2、R4只能配置一条静态路由
  5. R5、R6、R7不能配置静态路由
  6. R3只能配置静态路由
  7. 全网互通

错误

RIP配置

问题

  1. 配置结束,R1 ping 不通R2

    alt R2ping不通R1

  2. 查看路由表 没有RIP协议的路由

    alt 没有RIP路由

问题所在

  1. 路由接口地址配错

    alt RIP接口地址配错

  2. zheng

解决办法

  1. 路由接口地址应该是10段的

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    <R2>sys
    Enter system view, return user view with Ctrl+Z.
    [R2]int g0/0/0
    [R2-GigabitEthernet0/0/0]undo ip add
    [R2-GigabitEthernet0/0/0]
    Apr 16 2021 10:28:57-08:00 R2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
    on the interface GigabitEthernet0/0/0 has entered the DOWN state.
    [R2-GigabitEthernet0/0/0]ip add 10.1.1.2 30
    [R2-GigabitEthernet0/0/0]
    Apr 16 2021 10:29:05-08:00 R2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
    on the interface GigabitEthernet0/0/0 has entered the UP state.
    [R2-GigabitEthernet0/0/0]

解决之后

  1. R1中有RIP协议的路由

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    <R1>dis ip rout	
    <R1>dis ip routing-table pro rip
    Route Flags: R - relay, D - download to fib
    ------------------------------------------------------------------------------
    Public routing table : RIP
    Destinations : 1 Routes : 1

    RIP routing table status : <Active>
    Destinations : 1 Routes : 1

    Destination/Mask Proto Pre Cost Flags NextHop Interface

    2.2.2.2/32 RIP 100 1 D 10.1.1.2 GigabitEthernet
    0/0/0

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

    <R1>
  1. R1与R2能互通

    alt R1与R2能ping通

吴超 wechat
subscribe to my blog by scanning my public wechat account