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

[Xen-users] MTU-1492 Permenent Setting for Xen Specific Interfaces

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] MTU-1492 Permenent Setting for Xen Specific Interfaces
From: Steven Anderson <hikenboot@xxxxxxxxx>
Date: Mon, 19 Dec 2005 15:42:32 -0800 (PST)
Delivery-date: Mon, 19 Dec 2005 23:45:25 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=U+oU1lyOm/pNQNWKBSivJ5S65YjssrZ8H/yLgMIl6JgttgMyCB16uGnGasDbmUDuKIkN23FwORF0O5u89xEGgwB4n5FH2AZ9LURBDIDVUzzE8k+zALOp4VljXr9w8ttELZuHxZm33LI8arAshgWvJ4cU6BdLCwRCXacn1ZSq4cg= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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