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

[Xen-users] Changing MTU of vif



Anyone know how I can automatically set the MTU on a vif when I create the domain? I am using AoE to provide a SAN for my virtual machines and I create a bridge called stbr0 which I connect to eth1 in my domU. I want it to have an mtu of 9000 for performance reasons.

I am using CentOS 5 and I see that the default vif creation script is vif-bridge. I have tried changing vif-bridge like so:

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

so if the bridge we are adding the vif to is stbr0 then we set the mtu to 9000. But this causes the xm create command to hang and I'm not sure why.

Any suggestions on how to get a vif set up with an mtu of 9000? It doesn't seem that I can just say mtu= in the vif= line in my domain config file.

--
Tracy R Reed                  Read my blog at http://ultraviolet.org
Key fingerprint = D4A8 4860 535C ABF8 BA97  25A6 F4F2 1829 9615 02AD
Non-GPG signed mail gets read only if I can find it among the spam.

_______________________________________________
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®.