# diff -u /var/lib/qemu-server/bridge-vlan.orig /var/lib/qemu-server/bridge-vlan

--- /var/lib/qemu-server/bridge-vlan.orig	2010-06-05 14:38:24.000000000 -0500
+++ /var/lib/qemu-server/bridge-vlan	2010-06-05 14:48:33.000000000 -0500
@@ -16,6 +16,9 @@
 
 system ("/sbin/ifconfig $iface 0.0.0.0 promisc up") == 0 ||
     die "interface activation failed\n";
+if ($vlan == 0) {
+    system ("/sbin/ifconfig $iface mtu 7200");
+}
 system ("/usr/sbin/brctl addif $bridge $iface") == 0 ||
     die "can't add interface to bridge\n";

!!WARNING!! The virtio driver for Linux (at least in Debian Lenny) doesn't support MTU > 1500… use e1000 instead.

computer/proxmox_mtu_fix.txt · Last modified: 2010/06/05 14:56 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS