(OK)(OK) QEMU-KVM —— HOST AND GUEST can ping each other


----------------------------------------
OK HOST AND GUEST can ping each other
----------------------------------------
HOST
---------
bridge=br0
brctl addbr ${bridge}
ifconfig ${bridge} 192.168.0.1 up

ifconfig ${bridge} down
brctl delbr ${bridge}

---------
GUEST
---------
virt-manager

网络源:指定共享设备名称
网络名称:br0
设备型号:virtio  or  rtl8139  or  e1000

ifconfig eth0 192.168.0.2 up

---------
then, can ping each other
---------

----------------------------------------

posted @ 2016-07-07 22:24  张同光  阅读(83)  评论(0编辑  收藏  举报