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

ICMP 协议是用的几号什么端口通信

  •  
  •   webjin · 2015-01-04 11:20:20 +08:00 · 5903 次点击
    这是一个创建于 3420 天前的主题,其中的信息可能已经有所发展或是发生改变。

    ICMP协议是用的几号什么端口通信

    11 条回复    2015-01-04 22:00:19 +08:00
    bugeye
        1
    bugeye  
       2015-01-04 11:27:37 +08:00
    ICMP没有端口的概念。
    Draplater
        2
    Draplater  
       2015-01-04 11:34:52 +08:00 via Android
    端口是TCP/UDP的概念
    zent00
        3
    zent00  
       2015-01-04 11:48:32 +08:00
    ICMP 只有 Type,没有端口的概念,比如我们平常发出去的 ping 请求就是 Type 8
    dant
        4
    dant  
       2015-01-04 12:02:01 +08:00 via iPhone
    ICMP 协议和 IP 协议同级
    riaqn
        5
    riaqn  
       2015-01-04 12:23:49 +08:00 via iPhone
    楼上说错了吧 icmp是ip之上的,和tcp/udp同级。
    damngood
        6
    damngood  
       2015-01-04 12:50:52 +08:00
    @riaqn
    @dant
    icmp 是 ip 的上层协议, 但是总感觉也不能就说和 tcp/udp 同级, tcp/udp 的实现蛮依赖 icmp 的呢
    lixm
        7
    lixm  
       2015-01-04 13:55:31 +08:00
    icmp igmp 是网络层协议
    riaqn
        8
    riaqn  
       2015-01-04 18:47:07 +08:00
    @damngood TCP/UDP的实现依赖ICMP? 没听说过,求解释.
    damngood
        9
    damngood  
       2015-01-04 21:46:30 +08:00
    @riaqn 我记得主要是在 tcp 流量控制, 差错处理和keep alive 这些地方吧.
    icmp 作为网络层控制管理协议, 被使用到的地方很广
    riaqn
        10
    riaqn  
       2015-01-04 21:55:50 +08:00
    @damngood 额..我谷歌了一下搜不到啊..你说的这些东西我记得都是tcp自己就能解决的啊..我找到的唯一把tcp和icmp关联起来的是:
    In current TCP networks, TCP relies on packet drops as the indication of congestion. TCP implementation also respond to ICMP source quench messages, but they are rarely used because they consume network bandwidth in times of congestion.
    damngood
        11
    damngood  
       2015-01-04 22:00:19 +08:00
    @riaqn 翻翻 TCP/IP 协议卷一看看, 我记得里面有提到
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3509 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:14 · PVG 19:14 · LAX 04:14 · JFK 07:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.