+ -
当前位置:首页 → 问答吧 → 详细实用的KVM教程( 附件是思维导图,请用XMind打开 ) _1

详细实用的KVM教程( 附件是思维导图,请用XMind打开 ) _1

时间:2011-11-21

来源:互联网

论坛之前有关于 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的地址 ,如果按照上述 将不能上网,请问谁有好的解决方案么
~

作者: 397993401   发布时间: 2011-11-21

论坛之前有关于 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的地址 ,如果按照上述 将不能上网,请问谁有好的解决方案么
~

作者: 397993401   发布时间: 2011-11-21