V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
webjin
V2EX  ›  问与答

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

  •  
  •   webjin · Jan 4, 2015 · 6385 views
    This topic created in 4144 days ago, the information mentioned may be changed or developed.

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

    11 replies    2015-01-04 22:00:19 +08:00
    bugeye
        1
    bugeye  
       Jan 4, 2015
    ICMP没有端口的概念。
    Draplater
        2
    Draplater  
       Jan 4, 2015 via Android
    端口是TCP/UDP的概念
    zent00
        3
    zent00  
       Jan 4, 2015
    ICMP 只有 Type,没有端口的概念,比如我们平常发出去的 ping 请求就是 Type 8
    dant
        4
    dant  
       Jan 4, 2015 via iPhone
    ICMP 协议和 IP 协议同级
    riaqn
        5
    riaqn  
       Jan 4, 2015 via iPhone
    楼上说错了吧 icmp是ip之上的,和tcp/udp同级。
    damngood
        6
    damngood  
       Jan 4, 2015
    @riaqn
    @dant
    icmp 是 ip 的上层协议, 但是总感觉也不能就说和 tcp/udp 同级, tcp/udp 的实现蛮依赖 icmp 的呢
    lixm
        7
    lixm  
       Jan 4, 2015
    icmp igmp 是网络层协议
    riaqn
        8
    riaqn  
       Jan 4, 2015
    @damngood TCP/UDP的实现依赖ICMP? 没听说过,求解释.
    damngood
        9
    damngood  
       Jan 4, 2015
    @riaqn 我记得主要是在 tcp 流量控制, 差错处理和keep alive 这些地方吧.
    icmp 作为网络层控制管理协议, 被使用到的地方很广
    riaqn
        10
    riaqn  
       Jan 4, 2015
    @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  
       Jan 4, 2015
    @riaqn 翻翻 TCP/IP 协议卷一看看, 我记得里面有提到
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3067 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 12:57 · PVG 20:57 · LAX 05:57 · JFK 08:57
    ♥ Do have faith in what you're doing.