Hello everyone, Apologies for re-posting this, I''d originally posted this in OpenSolaris-help and then realized I''d picked the wrong forum, this one seems more appropriate. I''ve just installed SXDE 1/08 as my domU. When I boot into the xVM option, my dom0 has network connectivity and is able to connect to the outside world. However, the domUs (also Solaris, 79a or 89b) I create are unable to do so. After searching around, it seems the problem is that dom0 doesn''t create a bridge, xbr0. After reading several posts/threads on this topic, I''m under the impression that it needs to create a bridged network to enable domUs to be able to communicate on the network. On dom0, the config/default-nic property is set to bnx. Here''s the output of ''ifconfig -a'' on my dom0. ifconfig -a lo0: flags=2001000849 mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 bnx0: flags=201000843 mtu 1500 index 4 inet 1xx.xx.207.212 netmask ffffff00 broadcast 142.58.207.255 bnx1: flags=201000802 mtu 1500 index 2 inet 0.0.0.0 netmask 0 bnx2: flags=201000802 mtu 1500 index 3 inet 0.0.0.0 netmask 0 lo0: flags=2002000849 mtu 8252 index 1 inet6 ::1/128 How do I enable bridging in dom0 and/or get networking connectivity in my domUs? I''m wondering if anyone can tell me what I''m doing wrong and guide me in the right direction. Thanks for reading this, Viren This message posted from opensolaris.org
On 3 Jun 2008, at 10:51pm, VIREN KUMAR wrote:> After searching around, it seems the problem is that dom0 doesn''t > create a bridge, xbr0. After reading several posts/threads on this > topic, I''m under the impression that it needs to create a bridged > network to enable domUs to be able to communicate on the network.Solaris and Linux differ over how dom0 networking should work. Solaris doesn''t use bridging (or at least, not in a manner similar to Linux).> On dom0, the config/default-nic property is set to bnx.This should be ''bnx0'' (or bnx1, ...).> How do I enable bridging in dom0 and/or get networking connectivity > in my domUs? I''m wondering if anyone can tell me what I''m doing > wrong and guide me in the right direction.Do your guest domains have network interfaces defined? I.e. is there a ''vif'' line in the .py file (if you used virt-install to create the guests then they should have the relevant bits)?
> > On 3 Jun 2008, at 10:51pm, David Edmondson wrote: > Solaris and Linux differ over how dom0 networking > should work. Solaris > doesn''t use bridging (or at least, not in a manner > similar to Linux). > > > On dom0, the config/default-nic property is set to > bnx. > > This should be ''bnx0'' (or bnx1, ...).Thanks for the reply, David. I made it bnx0 and re-installed my guest with the following command: sudo virt-install --nographics -n domu1 -p -f /tmp/domu1.img -s 12 -r 1024 -l /Images/sol-nv-b89-x86-dvd.iso -b bnx0 This creates an xnf0 in my domU and I can ping dom0. DomO can ping the domU as well, but the domU is unable to ping anything else. Perhaps I need to define a default route within the domU. Thanks, Viren This message posted from opensolaris.org
Does crossbow have anything to do with xVM (Xen) on Solaris? James On Jun 4, 2008, at 12:35 AM, David Edmondson wrote:> > On 3 Jun 2008, at 10:51pm, VIREN KUMAR wrote: >> After searching around, it seems the problem is that dom0 doesn''t >> create a bridge, xbr0. After reading several posts/threads on this >> topic, I''m under the impression that it needs to create a bridged >> network to enable domUs to be able to communicate on the network. > > Solaris and Linux differ over how dom0 networking should work. Solaris > doesn''t use bridging (or at least, not in a manner similar to Linux). > >> On dom0, the config/default-nic property is set to bnx. > > This should be ''bnx0'' (or bnx1, ...). > >> How do I enable bridging in dom0 and/or get networking connectivity >> in my domUs? I''m wondering if anyone can tell me what I''m doing >> wrong and guide me in the right direction. > > Do your guest domains have network interfaces defined? I.e. is there a > ''vif'' line in the .py file (if you used virt-install to create the > guests then they should have the relevant bits)? > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org
Hi James,> Does crossbow have anything to do with xVM (Xen) on Solaris?Yes. We have integrated the VNIC functionality from Crossbow into xVM on Solaris.> > James-- Best regards -Michael Sun Microsystems, Inc.
On 4 Jun 2008, at 11:32pm, VIREN KUMAR wrote:>> On 3 Jun 2008, at 10:51pm, David Edmondson wrote: >> Solaris and Linux differ over how dom0 networking >> should work. Solaris >> doesn''t use bridging (or at least, not in a manner >> similar to Linux). >> >>> On dom0, the config/default-nic property is set to >> bnx. >> >> This should be ''bnx0'' (or bnx1, ...). > > Thanks for the reply, David. I made it bnx0 and re-installed my > guest with the following command: > > sudo virt-install --nographics -n domu1 -p -f /tmp/domu1.img -s 12 - > r 1024 -l /Images/sol-nv-b89-x86-dvd.iso -b bnx0 > > This creates an xnf0 in my domU and I can ping dom0. DomO can ping > the domU as well, but the domU is unable to ping anything else. > Perhaps I need to define a default route within the domU.How did you assign an IP address to the guest domain?
On 5 Jun 2008, at 1:50am, James Cornell wrote:> Does crossbow have anything to do with xVM (Xen) on Solaris?The xVM integration into Nevada included an early version of the Crossbow VNIC implementation. It''s that which is used to provide ethernet sharing for guest domains.
> > On 4 Jun 2008, at 11:32pm, VIREN KUMAR wrote: > >> On 3 Jun 2008, at 10:51pm, David Edmondson wrote: > >> Solaris and Linux differ over how dom0 networking > >> should work. Solaris > >> doesn''t use bridging (or at least, not in a manner > >> similar to Linux). > >> > >>> On dom0, the config/default-nic property is set > to > >> bnx. > >> > >> This should be ''bnx0'' (or bnx1, ...). > > > > Thanks for the reply, David. I made it bnx0 and > re-installed my > > guest with the following command: > > > > sudo virt-install --nographics -n domu1 -p -f > /tmp/domu1.img -s 12 - > > r 1024 -l /Images/sol-nv-b89-x86-dvd.iso -b bnx0 > > > > This creates an xnf0 in my domU and I can ping > dom0. DomO can ping > > the domU as well, but the domU is unable to ping > anything else. > > Perhaps I need to define a default route within the > domU. > > How did you assign an IP address to the guest domain? >I typed it in during the install manually and I set the default route to be the IP address of the dom0. Thanks, Viren This message posted from opensolaris.org