tedd
V2EX  ›  问与答

懂网络的童鞋能帮忙看看这两个内网IP地址为啥ping不通呢

  •  
  •   tedd · Oct 23, 2013 · 3674 views
    This topic created in 4780 days ago, the information mentioned may be changed or developed.
    inet addr:10.30.5.75 Bcast:10.30.5.127 Mask:255.255.255.128

    10.30.6.135 subnetmask 255.255.255.128

    在后者中ping 10.30.5.75怎么都ping不通,是因为IP地址中的.5和.6是不在同一网段?

    但是我在10.30.6.135中却能ping通10.30.5.18这个地址...10.30.5.18也能ping通10.30.5.75...
    4 replies  •  1970-01-01 08:00:00 +08:00
    initialdp
    initialdp
    Oct 23, 2013
    1
    将子网掩码(MASK)都设置为255.255.8.0试试
    xujialiang
    xujialiang
    Oct 23, 2013
    2
    不再一个网段当然不能ping通。你所说的不在一个网段也能ping通,可能是延迟缓存之类的。
    yushiro
    yushiro
    Oct 23, 2013
    3
    2台机器经过路由器吗?可能需要在路由上设置一下静态路由。
    msg7086
    msg7086
    Oct 24, 2013
    4
    同网内错误配置子网掩码会造成无法预期的结果
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1007 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 19:16 · PVG 03:16 · LAX 11:16 · JFK 14:16
    ♥ Do have faith in what you're doing.