virt-install --virt-type kvm --name mysupername --ram 1024 --cdrom=/var/lib/libvirt/images/ubuntu-12.04.5-server-amd64.iso --disk /home/mysupername.qcow2,format=qcow2 --network bridge:br0 --vnc --vncport 65322 --os-type=linux --accelerate
#host /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback #auto eth0 #iface eth0 inet static # address 188.165.217.113 # netmask 255.255.255.0 # network 188.165.217.0 # broadcast 188.165.217.255 # gateway 188.165.217.254 auto br0 iface br0 inet static address 188.165.217.113 netmask 255.255.255.0 broadcast 188.165.217.255 gateway 188.165.217.254 bridge_ports eth0 bridge_fd 9 bridge_hello 2 bridge_maxage 12 bridge_stp off
# virtual /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet static hwaddress 02:13:11:65:8b:29 address x.y.z.s broadcast x.y.z.s netmask 255.255.255.255 post-up route add 188.165.217.254 dev eth0 post-up route add default gw 188.165.217.254 post-down route del 188.165.217.254 dev eth0 post-down route del default gw 188.165.217.254 dns-nameservers 8.8.8.8
No comments:
Post a Comment