LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2068|回复: 1

该如何理解KVM请教关于KVM-net的一些问题该如何理解

[复制链接]
发表于 2007-5-25 15:48:36 | 显示全部楼层 |阅读模式
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net user[,vlan=n][,hostname=host]
                connect the user mode network stack to VLAN 'n' and send
                hostname 'host' to DHCP clients
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=/etc/qemu-ifup);
                use 'script=no' to disable script execution;
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
-net none       use it alone to have zero network devices; if no -net option
                is provided, the default is '-net nic -net user'
发表于 2007-6-17 18:49:14 | 显示全部楼层
这是qemu提供的不同网卡连接方式(kvm/kqemu)用的都是qemu前台。英文例子参见:
http://www.gnome.org/~markmc/qemu-networking.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表