2、ubuntu下kvm網橋bridge配置:
(1) vi /etc/network/interfaces
auto br0
iface br0 inet static
address 192.168.1.10
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
dns-nameservers 202.106.196.115
(2) sudo /etc/init.d/networking restart
(3) brctl show
(4) ifconfig
(5) 在kvm裏安裝系統時選擇網橋br0