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] MTU-1492 Permenent Setting for Xen Specific Interfaces

To: Steven Anderson <hikenboot@xxxxxxxxx>
Subject: Re: [Xen-users] MTU-1492 Permenent Setting for Xen Specific Interfaces
From: Erik <erik@xxxxxxxxxxx>
Date: Tue, 20 Dec 2005 08:58:25 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Dec 2005 08:01:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051219234232.42973.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
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: <20051219234232.42973.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Steven,

Why would you want to change the MTU, som applications won't like a non 
standard (<1500) MTU, we use a MTU of 1504 on our 802.1q interface (an e1000)
in Dom0 to bridge vlan interfaces to domU and preserve a 1500 byte mtu, mtu 
1504 should work without setting it as the kernel support 802.1q framing
(1500 byte + 4 byte vlan tag).

Erik


Steven Anderson wrote:
> Been investigating perminetly changing the MTU size in the setup scripts.
> 
> This is what I have tried but failed to get it to make changes
> 
> added wherever #added appears (note did not use "#added" in the actual
> scripts)
> 
> 
> The vif-route script in /etc/xen/scripts contains
> __________________________________________________
> dir=$(dirname "$0")
> . "$dir/vif-common.sh"
> 
> main_ip=$(dom0_ip)
> 
> case "$command" in
>     online)
>         ifconfig ${vif} ${main_ip} netmask 255.255.255.255 up
>   #added          if [[ "${vif}" == "peth0" ]] ; then
>    #added         else
>     #added         ifconfig ${vif} mtu 1492
>      #added        fi
>         echo 1 >/proc/sys/net/ipv4/conf/${vif}/proxy_arp
>         ipcmd='a'
>         ;;
>     offline)
>         ifdown ${vif}
>         ipcmd='d'
>         ;;
> ___________________________________________________
> 
> I tried adding the lines above but it had no effect on the interface. I
> guess i dont understand when this scipt is run or some other fundamental
> components....I'm no programmer. Can anyone tell me why it only changes
> the eth0 interface on dom0?????
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


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