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