<div dir="ltr">I need to configure some veth interfaces with jumbo frames.  I can setup everything properly on the host where the interfaces all have mtu 9000:<div><div>2: enp0s20f0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9000 qdisc mq master team0 state UP mode DEFAULT qlen 1000</div><div>    link/ether 0c:c4:7a:6b:95:55 brd ff:ff:ff:ff:ff:ff</div></div><div><div>3: enp0s20f1: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9000 qdisc mq master team0 state UP mode DEFAULT qlen 1000</div><div>    link/ether 0c:c4:7a:6b:95:55 brd ff:ff:ff:ff:ff:ff</div></div><div><div>4: enp0s20f2: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9000 qdisc mq master team0 state UP mode DEFAULT qlen 1000</div><div>    link/ether 0c:c4:7a:6b:95:55 brd ff:ff:ff:ff:ff:ff</div></div><div><div>5: enp0s20f3: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9000 qdisc mq master team0 state UP mode DEFAULT qlen 1000</div><div>    link/ether 0c:c4:7a:6b:95:55 brd ff:ff:ff:ff:ff:ff</div></div><div><div>7: team0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9000 qdisc noqueue state UP mode DEFAULT</div><div>    link/ether 0c:c4:7a:6b:95:55 brd ff:ff:ff:ff:ff:ff</div></div><div><div>46: team0.97@team0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9000 qdisc noqueue master vmbr97 state UP mode DEFAULT</div><div>    link/ether 0c:c4:7a:6b:95:55 brd ff:ff:ff:ff:ff:ff</div></div><div><div>47: vmbr97: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9000 qdisc noqueue state UP mode DEFAULT</div><div>    link/ether 0c:c4:7a:6b:95:55 brd ff:ff:ff:ff:ff:ff</div></div><div><br></div><div>When I start a container with a veth interface on vmbr97, the bridge interface falls back to mtu 1500:<br></div><div><div><br></div><div>[root@cluster-02 network-scripts]# prlctl start <a href="http://ha21t02dh.tech.abc.org">ha21t02dh.tech.abc.org</a></div><div>Starting the CT...</div><div>The CT has been successfully started.</div></div><div><div>[root@cluster-02 network-scripts]# ip link show vmbr97</div><div>47: vmbr97: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UP mode DEFAULT</div><div>    link/ether 0c:c4:7a:6b:95:55 brd ff:ff:ff:ff:ff:ff</div></div><div><br></div><div>brctl shows that this container is the only one on this network:</div><div><br></div><div><div>[root@cluster-02 network-scripts]# brctl show vmbr97</div><div>bridge name     bridge id               STP enabled     interfaces</div><div>vmbr97          8000.0cc47a6b9555       no              team0.97</div><div>                                                        veth42f2f0a5</div></div><div><br></div><div>The container is running centos7.  I have setup mtu 9000 inside the container:</div><div><br></div><div><div>CT-6598defa /# cat /etc/sysconfig/network-scripts/ifcfg-eth1</div><div>DEVICE=eth1</div><div>BOOTPROTO=none</div><div>ONBOOT=yes</div><div>HOSTNAME=<a href="http://ha21t02dh-c.tech.abc.org">ha21t02dh-c.tech.abc.org</a></div><div>NM_CONTROLLED=no</div><div>TYPE=Ethernet</div><div>MTU=9000</div><div>IPADDR=10.1.28.9</div><div>PREFIX=22</div><div>DEFROUTE=no</div><div>IPV6INIT=no</div><div>IPV6_AUTOCONF=no</div><div>DOMAIN=&quot;...&quot;</div><div>DNS1=10.0.20.250</div><div>DNS2=10.0.20.252</div></div><div><br></div><div>I can manually fix the issue by setting the mtu to 9000 on the veth interface after the container is started as follows.</div><div><br></div><div><div><div><div>[root@cluster-01 ~]# ip l show vmbr97</div><div>47: vmbr97: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc noqueue state UP mode DEFAULT</div><div>    link/ether 0c:c4:7a:6b:92:56 brd ff:ff:ff:ff:ff:ff</div></div></div><div>[root@cluster-01 ~]# ip link set dev veth42346d2f mtu 9000<br></div></div><div><div>[root@cluster-01 ~]# ip l show vmbr97</div><div>47: vmbr97: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9000 qdisc noqueue state UP mode DEFAULT</div><div>    link/ether 0c:c4:7a:6b:92:56 brd ff:ff:ff:ff:ff:ff</div></div><div><br></div><div>The problem with having to do this each time a container is stopped/started should be obvious.</div><div><br></div><div>My question is this: how do I configure the host and guest so the mtu settings for jumbo frames are setup properly at container start time for the veth interface on the host.</div><div><br></div><div>Axton Grams</div></div>