Re: edit network while running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/02/2018 09:54 AM, Daniel P. Berrangé wrote:
> On Wed, May 02, 2018 at 01:48:23PM +0000, Ratliff, John wrote:
>> Is there a way to restart dnsmasq with a new configuration in net-edit
>> without destroy/start the network?
>>
>>  
>>
>> I want to add host reservations when new machines are added, but if I do a
>> destroy/start, all the other running hosts lose networking.

With any libvirt starting with version 3.2.0, restarting libvirtd will
reconnect any disconnected guests on all active networks. virsh
net-update is the proper way to solve your problem, but in case you ever
get into a situation where your guests are disconnected from a libvirt
network's bridge just restart libvirtd and they will all be connected.
(This *should* happen when the network itself is restarted, but the
network driver currently doesn't keep enough information about connected
devices to do this by itself. That will hopefully be remedied soon).

> 
> It isn't well documented,

Well, there is this:

  https://wiki.libvirt.org/page/Networking#virsh_net-update

Not much, but better than nothing.

> but the 'virsh net-update' command is what you
> wnat. It allows you add/remove DHCP host mappings on the fly

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux