V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
tanteng
V2EX  ›  macOS

Mac 的 hosts 中 broadcasthost 是什么东东?

  •  
  •   tanteng · 2015-11-07 11:53:13 +08:00 · 9293 次点击
    这是一个创建于 3114 天前的主题,其中的信息可能已经有所发展或是发生改变。
    ##
    # Host Database
    #
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    ##
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost

    我想请教一下 Mac 的 hosts 文件中这个 broadcasthost 是什么意思啊?
    5 条回复    2015-11-07 23:03:03 +08:00
    fatestigma
        1
    fatestigma  
       2015-11-07 12:16:47 +08:00 via iPhone
    好像学计网的时候讲过 255 这个子网中最后一个有特殊含义,应该是子网中的所有设备吧。
    Delbert
        2
    Delbert  
       2015-11-07 12:52:40 +08:00 via Android
    广播
    joying
        3
    joying  
       2015-11-07 13:01:59 +08:00
    对同一子网下的所有设备广播
    tanteng
        4
    tanteng  
    OP
       2015-11-07 23:02:30 +08:00
    @Delbert 我也知道字面意思是广播
    tanteng
        5
    tanteng  
    OP
       2015-11-07 23:03:03 +08:00
    @fatestigma 为何 windows 系统 hosts 文件没有这个
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3151 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 10:57 · PVG 18:57 · LAX 03:57 · JFK 06:57
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.