[PVE-User] Networking, external IP and KVM guest help request

Matthew Edmondson suitable.name at googlemail.com
Sat Nov 27 12:45:28 CET 2010


I apologise for asking a networking question, I seen a few of them in
the FAQ, the wiki, the forum and the mail list, but I am stumped and
about to give up, and am hoping that you might be able to help.

I use Debian and want to run a number of full KVM guests each with its
own public IP address.   

The fine material I have found uses private IP address's in the
examples.  I have tried several of the methods I have found online but
have yet to get this working.

In the attempt below I found that the client still had a dhcp private

What should I be trying to do in order to get a full KVM debian guest?

tips or pointers to the relevant documentation much appreciated, 

thank you


qemu -curses -net nic -net tap,ifname=tap0 debian_lenny_i386_small.qcow2

auto lo
iface lo inet loopback

iface eth0 inet manual
	address  *.*.179.94
	gateway *.*.179.65

auto eth0:1
iface eth0:1 inet static 
	address *.*.186.24

auto br0
iface br0 inet manual
   	pre-up /usr/sbin/tunctl -u tapuser -t tap0
   	pre-up ifconfig tap0 up
   	bridge_ports eth0:1 tap0
	post-down ifconfig tap0 down
   	post-down tunctl -d tap0

More information about the pve-user mailing list