Hi, Is there any way to add VNIC to the domU? # virsh attach-interface mydomU network myvnic1 # libvir: XML error : missing source information for device myvnic1 It''s SXCE105. -- Regards, Piotr Jasiukajtis | estibi | SCA OS0072 http://estseg.blogspot.com
I''m also having this problem. Anyone thoughts on what this error means? -- This message posted from opensolaris.org
On 27 Jul 2009, at 5:31pm, Daniel wrote:> I''m also having this problem. Anyone thoughts on what this error > means?Can you describe what you want to achieve?
Hi, Thanks for the reply. I want to attach a domU to a vnic which is in turn attached to an etherstub. 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. -Dan -- This message posted from opensolaris.org
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).
David, thank you very much for your prompt help. This is exactly what I needed. -Dan -- This message posted from opensolaris.org
To bump this thread, did you actually get this working?
I have an etherstub with two vnic''s attached one for dom0, and I also
have one attached to a zone. These two can communicate between eachother and are
working fine.
When I create a virtual machine using virt-install I have been specifying this
etherstub as the bridge. When I run dladm show-link, it shows that the vm is
running over the etherstub.
When running ifconfig -a in the vm I get this:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
xnf0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500
index 2
with no information for xnf0 (although sometimes it has the ip address 0.0.0.0.
I have tried plumbing xnf0 to give it an ip address but the other
vnic''s still don''t recognize it.
Any insight into this would be much appreciated.
--
This message posted from opensolaris.org