qemu 网络配置 问题

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
397993401
帖子: 7
注册时间: 2009-09-29 9:34

qemu 网络配置 问题

#1

帖子 397993401 » 2011-11-21 12:39

论坛之前有关于 qemu 下 虚拟机网络配置的帖子,但是安按照那个我主机 的 却不能上网,只能获取ipv6的地址,ipv4的地址 获取不到。
修改 /etc/network 下 interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp

auto tap0
iface tap0 inet manual
up ifconfig $IFACE 0.0.0.0 up
down ifconfig $IFACE down
tunctl_user fuxiang

auto br0
iface br0 inet static
bridge_ports eth0 tap0
address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1

我是教育网用户 ,可以获取ipv4 和 ipv6的地址 ,如果按照上述 将不能上网,请问谁有好的解决方案么
~
回复