[pve-devel] [PATCH pve-container 1/8] set minimum mtu to 64

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Oct 1 10:58:26 CEST 2015


---
 src/PVE/LXC.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 46d8266..d5d1b15 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -277,6 +277,7 @@ my $netconf_desc = {
 	type => 'integer',
 	format_description => 'Number',
 	description => 'Maximum transfer unit of the interface. (lxc.network.mtu)',
+	minimum => 64, # minimum ethernet frame is 64 bytes
 	optional => 1,
     },
     ip => {
-- 
2.1.4




More information about the pve-devel mailing list