:: setup qemu bridged network
+ make / setup bridge on interface
+ restarting network interfaces
:: starting qemu
add network options:
:: link
+ googlelinux
+ iank
+ make / setup bridge on interface
$ sudo vi /etc/network/interfaces
# setup like :
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
address 10.100.100.81
netmask 255.255.255.0
network 10.100.100.0
broadcast 10.100.100.255
gateway 10.100.100.1
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
+ restarting network interfaces
$ sudo /etc/init.d/networking restart
:: starting qemu
add network options:
-net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=/etc/qemu-ifupex:
$ sudo qemu -cdrom install-x86-minimal-20110111.iso -hda gentoo -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=/etc/qemu-ifup
:: link
+ googlelinux
+ iank
Comments
Post a Comment