
Is there a way to configure MTU on a guest by guest basis? All our bond interfaces are configured as 9000 byte MTU, but we have a few guests that don't support that and need 1500 byte setting. -Nathan

On 29/03/12 22:16, Nathan Stratton wrote:
Is there a way to configure MTU on a guest by guest basis? All our bond interfaces are configured as 9000 byte MTU, but we have a few guests that don't support that and need 1500 byte setting.
Hi Nathan, There are patches in Gerrit for configuring the MTU on a Network basis. I hope these patches will be merged next week. http://gerrit.ovirt.org/#change,2207 Any reason you want to configure it on a guest by guest basis and not on a network basis? Thanks, Livnat
-Nathan _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Fri, 30 Mar 2012, Livnat Peer wrote:
On 29/03/12 22:16, Nathan Stratton wrote:
Is there a way to configure MTU on a guest by guest basis? All our bond interfaces are configured as 9000 byte MTU, but we have a few guests that don't support that and need 1500 byte setting.
Hi Nathan,
There are patches in Gerrit for configuring the MTU on a Network basis. I hope these patches will be merged next week.
Great!!
http://gerrit.ovirt.org/#change,2207
Any reason you want to configure it on a guest by guest basis and not on a network basis?
Sure, some of our VMs such as Acme Packet OSE have custom kernels and don't support jumbo frames. -Nathan

----- Original Message -----
On Fri, 30 Mar 2012, Livnat Peer wrote:
On 29/03/12 22:16, Nathan Stratton wrote:
Is there a way to configure MTU on a guest by guest basis? All our bond interfaces are configured as 9000 byte MTU, but we have a few guests that don't support that and need 1500 byte setting.
Hi Nathan,
There are patches in Gerrit for configuring the MTU on a Network basis. I hope these patches will be merged next week.
Great!!
http://gerrit.ovirt.org/#change,2207
Any reason you want to configure it on a guest by guest basis and not on a network basis?
Sure, some of our VMs such as Acme Packet OSE have custom kernels and don't support jumbo frames.
Have you encountered any issues with it? although the bond supports 9000, sending a 1500 packet from the guest should work just fine. The only way I can think of to control this per guest would be to configure the tap device of the vNIC, however, all devices connected to a bridge have to have the same mtu so changing one tap device would require changing them all which would beat the purpose. So I'm not sure what you're actually asking for here.
-Nathan _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Fri, 30 Mar 2012, Ayal Baron wrote:
Have you encountered any issues with it? although the bond supports 9000, sending a 1500 packet from the guest should work just fine.
Right, the issue I am having is larger then 1500 packet being sent to the guest.
The only way I can think of to control this per guest would be to configure the tap device of the vNIC, however, all devices connected to a bridge have to have the same mtu so changing one tap device would require changing them all which would beat the purpose. So I'm not sure what you're actually asking for here.
Today what I do is this. Fire up the VM, find out what host its on, figure out the vnet interface and then ifconfig it with smaller MTU if it is say vnet1 I would: ifconfig vnet1 mtu 1500 This seams to be working, other hosts that have vnet interfaces at 9000 bytes still work and nothing larger then 1500 bytes is sent to the vnet I lower to 1500. I now just need a way to keep from doing this every time manually. -Nathan

----- Original Message -----
On Fri, 30 Mar 2012, Ayal Baron wrote:
Have you encountered any issues with it? although the bond supports 9000, sending a 1500 packet from the guest should work just fine.
Right, the issue I am having is larger then 1500 packet being sent to the guest.
The only way I can think of to control this per guest would be to configure the tap device of the vNIC, however, all devices connected to a bridge have to have the same mtu so changing one tap device would require changing them all which would beat the purpose. So I'm not sure what you're actually asking for here.
Today what I do is this. Fire up the VM, find out what host its on, figure out the vnet interface and then ifconfig it with smaller MTU if it is say vnet1 I would:
ifconfig vnet1 mtu 1500
This seams to be working, other hosts that have vnet interfaces at 9000 bytes still work and nothing larger then 1500 bytes is sent to the vnet I lower to 1500. I now just need a way to keep from doing this every time manually.
So if I have 3 VMs that require 1500 and I have 3 hosts and they just happen to be scheduled one per host, my other 100 VMs that do support 9000 would be degraded. Instead, separate these 3 VMs to a different vnet and everything just works. When you change the vnet you're degrading all the VMs running on this host using this network.
-Nathan

On 03/30/2012 06:58 PM, Nathan Stratton wrote:
On Fri, 30 Mar 2012, Livnat Peer wrote:
On 29/03/12 22:16, Nathan Stratton wrote:
Is there a way to configure MTU on a guest by guest basis? All our bond interfaces are configured as 9000 byte MTU, but we have a few guests that don't support that and need 1500 byte setting.
Hi Nathan,
There are patches in Gerrit for configuring the MTU on a Network basis. I hope these patches will be merged next week.
Great!!
http://gerrit.ovirt.org/#change,2207
Any reason you want to configure it on a guest by guest basis and not on a network basis?
Sure, some of our VMs such as Acme Packet OSE have custom kernels and don't support jumbo frames.
I think you would need to separate these to another logical network with a non jumbo frames mtu size. you can use vlan's and connect both logical networks to the same physical interface.
participants (4)
-
Ayal Baron
-
Itamar Heim
-
Livnat Peer
-
Nathan Stratton