All of lore.kernel.org
 help / color / mirror / Atom feed
* connecting dom0 directly to the bridge (was: performance problems...)
@ 2006-01-12 12:32 Goetz Bock
  0 siblings, 0 replies; 4+ messages in thread
From: Goetz Bock @ 2006-01-12 12:32 UTC (permalink / raw)
  To: Xen-devel


On Thu, Jan 12 '06 at 12:24, Ian Pratt wrote:
> You haven't connected dom0 directly to the bridge rather than vif0.0
> to the bridge have you?
I've been doing that with xen 2.0 and xen 3.0.0, what's bad about doing
this?
--  
/"\ Goetz Bock at blacknet dot de  --  secure mobile Linux everNETting
\ /       (c) 2006 Creative Commons, Attribution-ShareAlike 2.0 de
 X   [ 1. Use descriptive subjects - 2. Edit a reply for brevity -  ]
/ \  [ 3. Reply to the list - 4. Read the archive *before* you post ]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: connecting dom0 directly to the bridge (was:performance problems...)
@ 2006-01-12 13:16 Ian Pratt
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Pratt @ 2006-01-12 13:16 UTC (permalink / raw)
  To: Goetz Bock, Xen-devel

 
> On Thu, Jan 12 '06 at 12:24, Ian Pratt wrote:
> > You haven't connected dom0 directly to the bridge rather 
> than vif0.0 
> > to the bridge have you?
> I've been doing that with xen 2.0 and xen 3.0.0, what's bad 
> about doing this?

You shouldn't connect directly if you run services in dom0 for the
domU's. Using vif0.0 prevents a possible deadlock.

Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: connecting dom0 directly to the bridge(was:performance problems...)
@ 2006-01-12 21:00 James Harper
  2006-01-12 21:44 ` Goetz Bock
  0 siblings, 1 reply; 4+ messages in thread
From: James Harper @ 2006-01-12 21:00 UTC (permalink / raw)
  To: Ian Pratt, Goetz Bock, Xen-devel

> > On Thu, Jan 12 '06 at 12:24, Ian Pratt wrote:
> > > You haven't connected dom0 directly to the bridge rather
> > than vif0.0
> > > to the bridge have you?
> > I've been doing that with xen 2.0 and xen 3.0.0, what's bad
> > about doing this?
> 
> You shouldn't connect directly if you run services in dom0 for the
> domU's. Using vif0.0 prevents a possible deadlock.
> 

I must be missing something here... doesn't the init script itself add
eth0 to xen-br0??? Does dom0 somehow internally create vif0.0 as a
mirror of eth0?

You said 'You haven't connected dom0 directly to the bridge rather than
vif0.0 to the bridge have you?'... I took that to mean 'You haven't
connected eth0 in dom0 directly to the bridge rather than vif0.0 to the
bridge have you?'... was that the right interpretation?

My DomU is a mail server, so it needs to connect to the external
network, not just Dom0.

Thanks

James

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: connecting dom0 directly to the bridge(was:performance problems...)
  2006-01-12 21:00 connecting dom0 directly to the bridge(was:performance problems...) James Harper
@ 2006-01-12 21:44 ` Goetz Bock
  0 siblings, 0 replies; 4+ messages in thread
From: Goetz Bock @ 2006-01-12 21:44 UTC (permalink / raw)
  To: Xen-devel


On Fri, Jan 13 '06 at 08:00, James Harper wrote:
> > > On Thu, Jan 12 '06 at 12:24, Ian Pratt wrote:
> > > > You haven't connected dom0 directly to the bridge rather than
> > > > vif0.0 to the bridge have you?
> > >
> > > I've been doing that with xen 2.0 and xen 3.0.0, what's bad
> > > about doing this?
> > 
> > You shouldn't connect directly if you run services in dom0 for the
> > domU's. Using vif0.0 prevents a possible deadlock.
> > 
> 
> I must be missing something here... doesn't the init script itself add
> eth0 to xen-br0??? Does dom0 somehow internally create vif0.0 as a
> mirror of eth0?
What the init script does is:
- rename eth0 to peth0
- make a bridge xen-br0
- add peth0 to the bridge
- create a virtual interface (vif0.0?) add it to the bridge
- (some how create a new interface named eth0 and connect it (via
  vif0.0?) to the bridge too)
- configore the old IP to this new interface

What I've been doing on all my xen and uml boxes, ever since:
- make a bridge: xen-br0
- add eth0 to the bridge
- configure the systems (dom0) IP to xen-br0

Seamed to work fine. But now that I think of it, I might have some
deadlocks, but they always locked up eth0 in a way that I had to
unload/reload the module...

BTW: when replying to my mails, could you PLEASE not also CC me. I read
     this list. If time permits all posts.
--  
/"\ Goetz Bock at blacknet dot de  --  secure mobile Linux everNETting
\ /       (c) 2006 Creative Commons, Attribution-ShareAlike 2.0 de
 X   [ 1. Use descriptive subjects - 2. Edit a reply for brevity -  ]
/ \  [ 3. Reply to the list - 4. Read the archive *before* you post ]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-12 21:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-12 21:00 connecting dom0 directly to the bridge(was:performance problems...) James Harper
2006-01-12 21:44 ` Goetz Bock
  -- strict thread matches above, loose matches on Subject: below --
2006-01-12 13:16 connecting dom0 directly to the bridge (was:performance problems...) Ian Pratt
2006-01-12 12:32 connecting dom0 directly to the bridge (was: performance problems...) Goetz Bock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.