Debian和Ubuntu下对KVM虚拟机的网桥配置

cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0

能正常启动

关于网桥,在 Linux基金会的网站上有个详细的说明

http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge

bridge_ports all 是不是更好?

郑重声明:资讯 【Debian和Ubuntu下对KVM虚拟机的网桥配置】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——