Thanks. I thought this made sense, but I didn’t understand the docs. I found a blog post that showed some of it, though I still don't fully understand all the options. virsh net-update default add-last ip-dhcp-host '<host name="rhel7-master" mac="52:54:00:5c:1d:d7" ip="192.168.122.2"/>' --live --config virsh net-update default delete ip-dhcp-host '<host ip="192.168.122.2"/>' --live --config These seem to do what I want. John Ratliff | Pervasive Technology Institute | UITS | Research Storage - Indiana University | http://pti.iu.edu/ -----Original Message----- From: Daniel P. Berrangé <berrange@xxxxxxxxxx> Sent: Wednesday, May 2, 2018 9:54 AM To: Ratliff, John <jdratlif@xxxxxx> Cc: virt-tools-list@xxxxxxxxxx Subject: Re: edit network while running 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. It isn't well documented, but the 'virsh net-update' command is what you wnat. It allows you add/remove DHCP host mappings on the fly Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list