[pve-devel] Network configuration

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Jul 28 08:35:13 CEST 2015


On Tue, Jul 28, 2015 at 07:27:00AM +0200, Alexandre DERUMIER wrote:
> The main problem is ip change on bridge directly, because we can't shutdown it if vms tap are plugged on it.
> So we need to do it online.

There's no need to shut it down.


On Tue, Jul 28, 2015 at 06:12:09AM +0200, Martin Waschbüsch wrote:
> >> also, we need to manage update. (ip modification for example).
> >> we could do down, up . But it's not optimal.
> > 
> > How would you do it otherwise? The only way to change IP on an
> > interface which is up is to bring it down first, change IP, and then
> > bring it up again.
> 
> Is it?
> I thought you can do
> 
> ip addr del 192.168.1.1/32 dev eth0
> 
> to remove one IPv4
> 
> or
> 
> ip addr flush dev eth0
> 
> to remove all IPs?
> 
> This way, at least, the interface is not physically down, as you only modify a single layer 3 protocol's properties.

Yes, ip addr {add|del|replace} works on running interfaces.




More information about the pve-devel mailing list