[pve-devel] [PATCH v3 pve-common 5/5] Inotify : add mtu option

Alexandre DERUMIER aderumier at odiso.com
Mon Sep 3 14:21:44 CEST 2018


>>mmm,ok. I didn't known that's could work. 
>>So setting mtu to bond device, force mtu to slaves too ? 


Ok I have tried with


iface bond0 inet manual 
   slaves eth0 eth1
   mtu 9000 


with ifupdown , indeed, the slaves mtu are equal to bond mtu

but with ifupdown2, the slave still have 1500 mtu.

I'll make a bug report to ifupdown2, and improve my pve-common mtu patch.




----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "Dennis Busch" <dennis.busch at stacktrace.de>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 3 Septembre 2018 13:14:33
Objet: Re: [pve-devel] [PATCH v3 pve-common 5/5] Inotify : add mtu option

>>Just every configuration, where you change /etc/network/interfaces in a 
>>way like: 
>> 
>>------------ 
>>iface bond0 inet manual 
>>... 
>>slaves eno18 eno19 
>>mtu 9000 
>>------------ 
>> 
>>without also writing the "mtu 9000" in the eno18 and eno19 sections. It 
>>will work, but every try of changing network configuration via GUI will 
>>fail with an error message. 


mmm,ok. I didn't known that's could work. 
So setting mtu to bond device, force mtu to slaves too ? 


----- Mail original ----- 
De: "Dennis Busch" <dennis.busch at stacktrace.de> 
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com> 
Envoyé: Lundi 3 Septembre 2018 12:28:34 
Objet: Re: [pve-devel] [PATCH v3 pve-common 5/5] Inotify : add mtu option 

> 
> Currently, I think that I'm using check_mtu only on child interfaces (bond,vlan,bridgeport). 
> @Denis : do you have a sample config where it's not working ? 
> 

Just every configuration, where you change /etc/network/interfaces in a 
way like: 

------------ 
iface bond0 inet manual 
... 
slaves eno18 eno19 
mtu 9000 
------------ 

without also writing the "mtu 9000" in the eno18 and eno19 sections. It 
will work, but every try of changing network configuration via GUI will 
fail with an error message. 

_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 




More information about the pve-devel mailing list