KVM Network Configuration ???

XZed

Member
Sep 20, 2009
74
0
6
For testing purposes i decided to create a VE based on KVM.

I filled ip address / dns.

But, once created, i couldn't anymore change this from proxmox gui !!!!

After reading manuals, i decided to look at :

/etc/qemu-server/conf : i've a file but juste with few info as cdrom, etc...

/etc/vz/conf/ : no file as supposed by many docs...

And i read that vzctl isn't effective on KVM containers.

So on my linux guest, i've eth0 on dhcp : and at each boot it retrieves the initial IP and restore dns catched by dhcp...

How to change KVM's network properties ???

Thank you

P.S. : i studied it a little more and understood a little more the functionment :

I create a virtual interface (vmbr0-9) which acts like a virtual switch, and correctly forward broadcast packets...

But as soon as i specify a static IP to the KVM, it doesn't come up on my linux guest..

Myconfig :

vmbr0 attached to eth0.

And need to setup proxmox as 192.168.1.1 and KVM as 192.168.1.2, let's say
 
Last edited:
Well forget...misunderstood some network models on proxmox.

(Was misunderstanding how eth0 could be allocated to a linux guest.)

It's simple.

Sincerely,