sshnuke
V2EX  ›  Windows

windows 上的 qemu 如何配置 nat 网络

  •  
  •   sshnuke · Dec 14, 2022 · 1645 views
    This topic created in 1257 days ago, the information mentioned may be changed or developed.
    我在 windows 上用 qemu 模拟了 arm64 机器并且安装了 arm64 linux 系统
    现在的问题是
    我的物理网络是绑定 ip 的,所以没法通过桥接方式把虚拟机桥接到物理网络中直接访问而必须通过 nat 转发
    那么 windows 上的 qemu 如何配置 nat 网络呢?
    这个难到我了
    搜了一圈都只有通过 tap0 桥接的方式
    sshnuke
        1
    sshnuke  
    OP
       Dec 14, 2022
    搞定了 直接-net nic -net user,id=net0 默认的就是 nat
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2823 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 11:40 · PVG 19:40 · LAX 04:40 · JFK 07:40
    ♥ Do have faith in what you're doing.