[pve-devel] [PATCH 2/2] setup DHCP server at vm_start

Alexandre DERUMIER aderumier at odiso.com
Tue Sep 3 09:50:55 CEST 2013


>>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" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at 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. 



More information about the pve-devel mailing list