dbw9580

Windows 终于可以在一张网卡上同时配置一个 DHCP IP 和多个静态 IP

  •  
  •   dbw9580 · Sep 17, 2017 · 8886 views
    This topic created in 3344 days ago, the information mentioned may be changed or developed.

    1703 创造者更新里微软悄悄地在netsh set interface命令里加了一个属性dhcpstaticipcoexistence,把这个属性设为enabled就可以在一张网卡上同时配置一个 DHCP 的 IP 和多个静态 IP。而在以往的 Windows 里情况是:要么只用一个 DHCP 的 IP,要么所有的多个 IP 都必须是静态的。

    只能说,这个看上去简直理所当然的功能微软花了不下 10 年来添加。

    https://arstechnica.com/civis/viewtopic.php?t=1029758

    https://www.sevenforums.com/network-sharing/149233-dhcp-static-ip-simultaneously-one-nic-2.html

    12 replies  •  2017-09-24 13:06:44 +08:00
    dbw9580
    dbw9580
    OP
    Sep 17, 2017
    1
    难道大清早就亡了??
    mhycy
    mhycy
    Sep 17, 2017
    2
    少用的功能,但。。很实用

    除了 WIN10.....
    Lentin
    Lentin
    Sep 17, 2017
    3
    其他的 OS 有支持这个功能的吗,例如 LINUX 或 Mac OS ?
    fashioncj
    fashioncj
    Sep 17, 2017 via iPhone
    4
    意思是多个 ip 同时上网么?
    mengyaoss77
    mengyaoss77
    Sep 17, 2017 via Android
    5
    @Lentin linux 有的,vlan 就是。
    Lentin
    Lentin
    Sep 17, 2017
    6
    @fashioncj 意思是可以不用来回切换了,如果有 DHCP 跟固定 IP 经常切换的网络环境这个会很方便
    lazycat
    lazycat
    Sep 17, 2017 via Android
    7
    @Lentin 这种需求可以用备用配置实现。。。
    fashioncj
    fashioncj
    Sep 17, 2017 via iPhone
    8
    @Lentin 这样啊。。我之前使用脚本解决的(◎o◎)
    Lentin
    Lentin
    Sep 17, 2017
    9
    是我没敲对还是版本号不对?
    dbw9580
    dbw9580
    OP
    Sep 17, 2017 via Android
    10
    @Lentin 是在 netsh interface ipv4/ipv6 上下文里的 set interface
    抱歉没有写准确。
    greatbll
    greatbll
    Sep 24, 2017
    11
    我的 win10 里没有这个参数

    netsh int ipv6 set interface help

    @dbw9580 你有验证成功?
    dbw9580
    dbw9580
    OP
    Sep 24, 2017
    12
    >>11
    @greatbll

    1703 的 win10
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2102 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:00 · PVG 21:00 · LAX 05:00 · JFK 08:00
    ♥ Do have faith in what you're doing.