[libvirt] [PATCH] network: set mtu as a DHCP option when specified

2018-12-11 Thread Casey Callendrello
This adds an additional directive to the dnsmasq configuration file that notifies clients via dhcp about the link's MTU. Guests can then choose adjust their link accordingly. Signed-off-by: Casey Callendrello --- src/network/bridge_driver.c | 7 ++ .../networkxml2confdata

Re: [libvirt] Adding MTU DHCP option when specified

2018-12-11 Thread Casey Callendrello
On Mon, Dec 10, 2018 at 2:31 PM Daniel P. Berrangé wrote: > On Fri, Dec 07, 2018 at 04:29:18PM +0100, Casey Callendrello wrote: > > dhcp-option-force=option:mtu,9000 > > IIUC, this DHCP option is intended to tell the guest OS to configure its > NIC with the different MTU size,

[libvirt] Adding MTU DHCP option when specified

2018-12-10 Thread Casey Callendrello
Hi there, I was working on some MTU testing for OpenShift, and I realized that, while libvirt does allow specifying the MTU of the bridge interface, it doesn't plumb it through the DHCP server. This is really easy - it's just an extra line in the dnsmasq.conf file, e.g.: