Sometimes we may need multiple ethernet for guest machine, we can do that by pass the following option to qemu command line:
-net nic,vlan=0,model=virtio,macaddr=xx:xx:xx:xx:xx:xx -net nic,model=rtl8139,vlan=1,macaddr=yy:yy:yy:yy:yy:yy -net tap,script=/etc/qemu/qemu-ifup
|
阅读(1247) | 评论(0) | 转发(0) |