[systemd-devel] [networkd] Set MTU of disconnected OVS bridge

Lennart Poettering lennart at poettering.net
Fri Apr 1 10:04:23 UTC 2016


On Thu, 24.03.16 09:52, Ian Pilcher (arequipeno at gmail.com) wrote:

> I have a "disconnected" Open vSwitch on my system named ovs1.  By
> "disconnected" I mean that it is not connected to any physical
> interface, bond, etc.; it exists only for inter-VM communication.
> 
> I just discovered that jumbo frames (anything larger than 1528 bytes)
> are being dropped when traveling across the bridge.  I need to set the
> MTU of the bridge (actually its internal port) to a larger value.
> 
> I haven't been able to figure out a way to get systemd-networkd to do
> this.  I tried creating /etc/systemd/network/ovs1.link, but it had no
> effect:
> 
>   [Match]
>   OriginalName=ovs1
> 
>   [Link]
>   MTUBytes=9000

Does "networkctl status" on the interface show that the .link file got
applied?

Are you sure ovs doesn't patch the MTU on its own after creating the
iface, and thus races against udev (which applies the .link files)?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list