> Am 27.07.2015 um 20:27 schrieb Michael Rasmussen <m...@datanom.net>: > > On Mon, 27 Jul 2015 20:08:24 +0200 (CEST) > Alexandre DERUMIER <aderum...@odiso.com> wrote: > >>>> eval { >>>> ovs-vsctl add-port $bridge vlan$port tag=$port -- set interface >>>> vlan$port type=internal >>>> }; >> >> internal interface can have a random name. >> > I know, but to keep it simple and IMHO more intuitive use a descriptive > name. > > >> 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. Martin
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel