On 27 Jul 2009, at 6:35pm, Daniel wrote:
Hi, Thanks for the reply. I want to attach a domU to a vnic which is in turn attached to an etherstub.

In general you don't add VNICs to domUs directly, rather you indicate the underlying NIC to which you want to connect the guest. In this case you want to specify the name of the etherstub as the bridge device.

If you would normally say:
        virsh attach-interface domU bridge e1000g0
you'll now use:
        virsh attach-interface domU bridge etherstub0

To connect dom0 to the etherstub you will have to create the VNIC by hand (using dladm). You'll also need to set the MTU of the etherstub to 1500 for things to work.

My ultimate goal is to privately network between the dom0 and domU in order to share a directory via NFS from the dom0 to the domU. I want to investigate whether there is a performance improvement when using an etherstub for the vnics, compared to just attaching them to the physical nic. I've tried having an NFS share using vnics attached to the physical nic, and now I want to give it a try with an etherstub but I'm running into this error.

My experience with general throughput (I've not tried NFS) is that there's no difference between the two configurations, though I'd hope for this to change when we add support for jumbo-frames (particularly for NFS).

_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to