WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Changing MTU of vif

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Changing MTU of vif
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Wed, 26 Mar 2008 21:49:04 -0400
Delivery-date: Wed, 26 Mar 2008 18:49:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47EA8B0A.4010800@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47E8A423.4020504@xxxxxxxxxxxxxxx> <008901c8a786$6c3ca870$27c909c0@xxxxxxxxxxxx> <47EA8B0A.4010800@xxxxxxxxxxxxxxx> (sfid-20080326_135202_864824_515B3AC0)
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.9
On Wednesday 26 March 2008 01:42:34 pm Tracy R Reed wrote:
> case "$command" in
>      online)
>          setup_bridge_port "$vif"
>          add_to_bridge "$bridge" "$vif"
>          if [ ${bridge} = "stbr0" ]; then
>              ip link set ${dev} mtu 9000
>          fi

Your cron idea is nice. Have you tried just changing the order of setting the 
MTU, ie - before it is added to the bridge?:


case "$command" in
     online)
         setup_bridge_port "$vif"
         if [ ${bridge} = "stbr0" ]; then
             ip link set stbr0 mtu 9000
             ip link set ${dev} mtu 9000
         add_to_bridge "$bridge" "$vif"
         fi

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users