【问题标题】:How do you create a virtual network interface on Windows?如何在 Windows 上创建虚拟网络接口?
【发布时间】:2010-09-08 01:14:23
【问题描述】:

在 linux 上,可以使用 tun 驱动程序创建一个 tun 接口,该驱动程序提供了一个可以被视为常规网络接口的“网络接口伪设备”。有没有办法在 Windows 上以编程方式执行此操作?有没有办法在不编写我自己的驱动程序的情况下做到这一点?

【问题讨论】:

标签: windows networking


【解决方案1】:

您可以在 XP 上使用 Microsoft Loopback Adapter 执行此操作,它是虚拟网卡的驱动程序。

在较新的 Windows 版本上:Installing the Microsoft Loopback Adapter in Windows 8 and Windows Server 2012

【讨论】:

  • 有什么更好的吗,好像需要重启?正如我所见,Virtualbox 无需重新启动即可创建适配器。
  • 适用于 windows 7/8 superuser.com/questions/339465/…
  • 不能投票,因为我没有足够的声誉,但链接不再有效。
【解决方案2】:

@蒂姆
根据许可,您或许可以使用 OpenVPN 中的 TUN/TAP 驱动程序,详情请参阅here

【讨论】:

    【解决方案3】:

    在 Singularity 项目中,Microsoft Research 通过“环回”适配器与 Singularity VM 进行通信。也许这会有所帮助?

    运行它很容易,所以无论如何它可能会很有趣。 :)

    http://research.microsoft.com/os/Singularity/

    【讨论】:

      猜你喜欢
      • 2012-07-11
      • 1970-01-01
      • 2016-02-15
      • 2021-09-16
      • 2014-02-21
      • 2020-06-17
      • 2021-05-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多