[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.