-
Use bridge networking in kvm guest os - [康朴塔散思]
2009-06-16
版权声明:转载时请以超链接形式标明文章原始出处和作者信息及本声明
http://damocles.blogbus.com/logs/41091663.html
1. sudo gvim /etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet dhcp
bridge_ports eth0
2. sudo /etc/init.d/networking restart
3. install guest os
4. modify /etc/libvirt/qemu/guest_os_name.xml
<interface type='bridge'>
<mac address='your mac address'/>
<source bridge='br0'/>
</interface>
5. sudo virsh define guest_os_name.xml
6. start kvm again随机文章:
KVM switch 2008-10-29Thread Clustering 2009-06-25git commit error 2009-03-24bottom scroll bar of gvim 2009-02-20Beginners Guide to GnuPG 2009-01-07
收藏到:Del.icio.us







