Hi there, I''d like to create a virtual network for my DomUs to comunicate with each oher without Internet or Ethernet access. Is that possible? It''s like an isolated virtual network inside Xen. Thanks. []s Ronaldo Z. Afonso _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Oct 21, 2009 at 09:34:05AM -0200, Ronaldo Zacarias Afonso wrote:> Hi there, > > I''d like to create a virtual network for my DomUs to comunicate with > each oher without Internet or Ethernet access. Is that possible? > It''s like an isolated virtual network inside Xen. >Yes. Just create another bridge, and don''t attach any physical NICs or dom0 vif''s to it. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen wrote:> On Wed, Oct 21, 2009 at 09:34:05AM -0200, Ronaldo Zacarias Afonso wrote: >> Hi there, >> >> I''d like to create a virtual network for my DomUs to comunicate with >> each oher without Internet or Ethernet access. Is that possible? >> It''s like an isolated virtual network inside Xen. >> > > Yes. Just create another bridge, and don''t attach any physical NICs or > dom0 vif''s to it. > > -- Pasi > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >I''m not sure, but maybe you can create a bridge on a virtual interface (?). I mean, on eth0:1 attach vif''s I''ll test it to see if works :) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 21 Oct 2009, at 16:00, Boris Quiroz wrote:> Pasi Kärkkäinen wrote:>> Yes. Just create another bridge, and don''t attach any physical NICs >> or >> dom0 vif''s to it. >> I''m not sure, but maybe you can create a bridge on a virtual > interface (?). I mean, on eth0:1 attach vif''s > > I''ll test it to see if works :)You can also create a dummy interface and attach a bridge to that: # modprobe dummy # ifconfig dummy0 up # I don''t know whether this is necessary # brctl addbr br1 # brctl addif br1 dummy0 Something like that :-) Thomas. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Oct 21, 2009 at 11:00:37AM -0300, Boris Quiroz wrote:> Pasi Kärkkäinen wrote: > >On Wed, Oct 21, 2009 at 09:34:05AM -0200, Ronaldo Zacarias Afonso wrote: > >>Hi there, > >> > >>I''d like to create a virtual network for my DomUs to comunicate with > >>each oher without Internet or Ethernet access. Is that possible? > >>It''s like an isolated virtual network inside Xen. > >> > > > >Yes. Just create another bridge, and don''t attach any physical NICs or > >dom0 vif''s to it. > > > >-- Pasi > > > > > > I''m not sure, but maybe you can create a bridge on a virtual interface > (?). I mean, on eth0:1 attach vif''s > > I''ll test it to see if works :)No, you shouldn''t use eth0 at all. Create a bridge called ''privatebr1'' or something, and use that. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen wrote:> On Wed, Oct 21, 2009 at 11:00:37AM -0300, Boris Quiroz wrote: >> Pasi Kärkkäinen wrote: >>> On Wed, Oct 21, 2009 at 09:34:05AM -0200, Ronaldo Zacarias Afonso wrote: >>>> Hi there, >>>> >>>> I''d like to create a virtual network for my DomUs to comunicate with >>>> each oher without Internet or Ethernet access. Is that possible? >>>> It''s like an isolated virtual network inside Xen. >>>> >>> Yes. Just create another bridge, and don''t attach any physical NICs or >>> dom0 vif''s to it. >>> >>> -- Pasi >>> >>> >> I''m not sure, but maybe you can create a bridge on a virtual interface >> (?). I mean, on eth0:1 attach vif''s >> >> I''ll test it to see if works :) > > No, you shouldn''t use eth0 at all. > > Create a bridge called ''privatebr1'' or something, and use that. > > -- Pasi > >Good to know. I wont try it. I''ll test that dummy interface =) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Oct 21, 2009 at 04:05:10PM +0200, Thomas Ronner wrote:> > On 21 Oct 2009, at 16:00, Boris Quiroz wrote: > > >Pasi Kärkkäinen wrote: > > > >>Yes. Just create another bridge, and don''t attach any physical NICs > >>or > >>dom0 vif''s to it. > > > > >I''m not sure, but maybe you can create a bridge on a virtual > >interface (?). I mean, on eth0:1 attach vif''s > > > >I''ll test it to see if works :) > > > You can also create a dummy interface and attach a bridge to that: > > # modprobe dummy > # ifconfig dummy0 up # I don''t know whether this is necessary > # brctl addbr br1 > # brctl addif br1 dummy0 > > Something like that :-) >The bridge was supposed to be private between guests, so there''s no need to have the host/dom0 in the bridge. So the ''dummy'' interface creation is not needed. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users