V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
webjin
V2EX  ›  问与答

三层交换机有 1 条路由看不明白

  •  
  •   webjin · 2015-01-13 14:03:23 +08:00 · 2085 次点击
    这是一个创建于 3639 天前的主题,其中的信息可能已经有所发展或是发生改变。

    <S9303>dis ip rou

    Route Flags: R - relay, D - download to fib

    Routing Tables: Public
    Destinations : 11 Routes : 11

    Destination/Mask Proto Pre Cost Flags NextHop Interface

    0.0.0.0/0   Static  60   0          RD   121.13.38.17    Vlanif1
    

    121.13.38.16/28 Direct 0 0 D 121.13.38.24 Vlanif1
    121.13.38.24/32 Direct 0 0 D 127.0.0.1 Vlanif1
    121.13.38.31/32 Direct 0 0 D 127.0.0.1 Vlanif1 #这条路由我一直想不明白是怎么回事。
    121.13.83.32/28 Direct 0 0 D 121.13.83.33 Vlanif1 #121.13.38.32/28的网段是下发网关在我们交换机上
    121.13.83.33/32 Direct 0 0 D 127.0.0.1 Vlanif1
    121.13.83.47/32 Direct 0 0 D 127.0.0.1 Vlanif1
    127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
    127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
    127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
    255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0

    <S9303>dis int vlan 1
    Vlanif1 current state : UP
    Line protocol current state : UP
    Last line protocol up time : 2014-11-24 22:54:08
    Description:
    Route Port,The Maximum Transmit Unit is 1500
    Internet Address is 121.13.38.24/28
    Internet Address is 121.13.83.33/28 Sub
    IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is e468-a3a7-b732
    Current system time: 2015-01-13 13:55:02
    Input bandwidth utilization : --
    Output bandwidth utilization : --

    <S9303>arp ip 121.13.38.31
    Error: Local IP Address!

    <S9303>ping 121.13.38.31 #只有我们交换机内能ping通外界无法ping通这个IP
    PING 121.13.38.31: 56 data bytes, press CTRL_C to break
    Reply from 121.13.38.31: bytes=56 Sequence=1 ttl=255 time=1 ms
    Reply from 121.13.38.31: bytes=56 Sequence=2 ttl=255 time=1 ms
    Reply from 121.13.38.31: bytes=56 Sequence=3 ttl=255 time=1 ms
    Reply from 121.13.38.31: bytes=56 Sequence=4 ttl=255 time=1 ms
    Reply from 121.13.38.31: bytes=56 Sequence=5 ttl=255 time=1 ms

    --- 121.13.38.31 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 1/1/1 ms

    8 条回复    2015-01-14 00:22:25 +08:00
    mhycy
        1
    mhycy  
       2015-01-13 15:28:35 +08:00
    121.13.38.31/32 Direct 0 0 D 127.0.0.1 Vlanif1
    不是转发到127.0.0.1么
    webjin
        2
    webjin  
    OP
       2015-01-13 15:33:33 +08:00
    哦有的人说那是广播地址。
    mhycy
        3
    mhycy  
       2015-01-13 15:41:49 +08:00
    @webjin 127.0.0.1这个段什么时候成广播地址了?
    bellchu
        4
    bellchu  
       2015-01-13 15:42:55 +08:00   ❤️ 1
    @webjin

    Network: 121.13.38.16/28 01111001.00001101.00100110.0001 0000 (Class A)
    Broadcast: 121.13.38.31
    bellchu
        5
    bellchu  
       2015-01-13 15:45:46 +08:00   ❤️ 1
    其实就是一个简单的例行组织广播地址泛洪
    bellchu
        6
    bellchu  
       2015-01-13 15:46:02 +08:00   ❤️ 1
    组织=阻止 笔误
    invite
        7
    invite  
       2015-01-13 17:05:26 +08:00
    Internet Address is 121.13.38.24/28
    Internet Address is 121.13.83.33/28 Sub <-- 你额外配置了一个SUB地址啊?
    webjin
        8
    webjin  
    OP
       2015-01-14 00:22:25 +08:00 via Android
    @mhycy 127.1本地还回地址
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1322 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 17:38 · PVG 01:38 · LAX 09:38 · JFK 12:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.