>>The VM config can change completely, for example use vmbr1 instead of vmbr0. 

ok, so in this case, the ip shouldn't work anymore. (dhcp listen on a different 
pool of ip on each bridge right? and dhcp need an ip in the range of the pool).

So we should deny changing bridge without changing ip.



(BTW, I we can force a renew of dhcp with qmp netlink off|on)

----- Mail original ----- 

De: "Dietmar Maurer" <diet...@proxmox.com> 
À: "Alexandre DERUMIER" <aderum...@odiso.com> 
Cc: pve-devel@pve.proxmox.com 
Envoyé: Mardi 3 Septembre 2013 09:07:08 
Objet: RE: [pve-devel] [PATCH 2/2] setup DHCP server at vm_start 

> Do you mean, modify bridge configuration ? or change the vm network nic 
> config ? 

The VM config can change completely, for example use vmbr1 instead of vmbr0. 

> 
> Libvirt do it like this, setup bridges/dhcp/ippool (restart dnsmasq) , and vm 
> get ip through dhcp-config (without restart) 
> 
> I don't have tried your patches yet, I need to look a little bit how 
> ressources 
> pool work. 
_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to