Hello, I''m using Nevada 75a and trying make virtual network between dom0 (opensolaris) and domU (linux). When domU network card is bridged with bge0 there no problem, but when I try use vnic0 (which is plumbed and up) I have Environment error. Or ss there another way to have private network, which is behind NAT ? Regards, Maciej This message posted from opensolaris.org
On 30 Oct 2007, at 10:43am, Maciej Browarski wrote:> I''m using Nevada 75a and trying make virtual network between dom0 > (opensolaris) and domU (linux). When domU network card is bridged > with bge0 there no problem, but when I try use vnic0 (which is > plumbed and up) I have Environment error. > Or ss there another way to have private network, which is behind NAT ?We don''t have a way to do that right now. You could perhaps put something together by using xnbu rather than xnbo for the backend network driver, but I haven''t tried it. dme. -- David Edmondson, Solaris Engineering, http://dme.org
On 30 Oct 2007, at 2:45pm, David Edmondson wrote:> On 30 Oct 2007, at 10:43am, Maciej Browarski wrote: >> I''m using Nevada 75a and trying make virtual network between dom0 >> (opensolaris) and domU (linux). When domU network card is bridged >> with bge0 there no problem, but when I try use vnic0 (which is >> plumbed and up) I have Environment error. >> Or ss there another way to have private network, which is behind >> NAT ? > > We don''t have a way to do that right now.Oh, it occurred to me that you could use an otherwise unused physical NIC as the place to create the VNICs for the guest domains, create a VNIC for dom0 on that physical NIC and then route packets from a connected NIC to the VNICs through IP (with NAT). dme. -- David Edmondson, Solaris Engineering, http://dme.org
Thanks for your reply. I changed in config file in vif the type to netfront (bridge parameter must be set thought that default-nic in xend is also set). After that I see xnbu0 in dladm show-link. When I plumbed, uped and correct set up xnbu0 card I have connection with Linux box. But after short time (2-5 minutes) connection is lost. When I try ping from linux box (domU) to solaris (dom0) I see that arp-reguest is send to solaris (on Linux tcpdump and snoop on solaris) and solaris do not reply this arp-req. I think this is not deterministic what exactly is incorrect but for me this not working. Is there any chance to have this network ? Regards, Maciej This message posted from opensolaris.org
On 31 Oct 2007, at 8:28am, Maciej Browarski wrote:> I changed in config file in vif the type to netfront (bridge > parameter must be set thought that default-nic in xend is also set).It would also be useful to write (and use) and alternative ''script'', similar to vif-vnic, but that''s not essential.> After that I see xnbu0 in dladm show-link. > When I plumbed, uped and correct set up xnbu0 card I have > connection with Linux box. But after short time (2-5 minutes) > connection is lost. > When I try ping from linux box (domU) to solaris (dom0) I see that > arp-reguest is send to solaris (on Linux tcpdump and snoop on > solaris) and solaris do not reply this arp-req. I think this is not > deterministic what exactly is incorrect but for me this not working. > Is there any chance to have this network ?What you''ve described looks like a valid configuration, so it should work. Can you show the IP address configuration, etc. of the links, both in dom0 and domU? dme. -- David Edmondson, Solaris Engineering, http://dme.org