Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
fujrkx
V2EX  ›  Linux

KVM 怎么配置内部隔离网络?

  •  1
     
  •   fujrkx · Mar 26, 2020 · 3412 views
    This topic created in 2290 days ago, the information mentioned may be changed or developed.

    我想配置一个内部的网络,只有虚拟机之间可以互相通信,这些虚拟机不能访问外网,也不能访问宿主机,就像 VMware 的 LAN 模式一样。

    2 replies    2020-03-27 10:08:00 +08:00
    inwar
        1
    inwar  
       Mar 26, 2020 via Android
    建桥,在把虚拟机的网卡挂上去
    rihkddd
        2
    rihkddd  
       Mar 27, 2020
    新增网桥,宿主机配置 iptables 规则。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   886 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 20:20 · PVG 04:20 · LAX 13:20 · JFK 16:20
    ♥ Do have faith in what you're doing.