All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Knorr <kraxel@bytesex.org>
To: Christian Wicke <xen.christian@safersignup.com>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: Networking problems with debian packages
Date: 03 Mar 2005 15:45:11 +0100	[thread overview]
Message-ID: <87d5ugpz48.fsf@bytesex.org> (raw)
In-Reply-To: <200503031213.27518.xen.christian@safersignup.com>

Christian Wicke <xen.christian@safersignup.com> writes:

> Does anyone know what is the correct way to make this work?

The xen start script network setup doesn't work very good for me as
well.  Sometimes it works, sometimes it doesn't, havn't figured yet
why.

I simply make eth0 a bridge early in the boot process, before the
network setup.  Hooking into /etc/init.d/boot.local works for me, see
below for the few script lines.  Then let the distribution start
scripts configure the eth0 device as usual.  Disable
/etc/xen/scripts/network (by inserting "exit" at line #2 for example),
so xend will not try to do the bridge setup again.  Configure your xen
domains to use eth0, i.e. "vif = [ 'bridge=eth0' ]".  Works fine for
me.

HTH,

  Gerd

# make eth0 a bridge
ip link set name hw-eth0 dev eth0
brctl addbr eth0
brctl addif eth0 hw-eth0
ip link set up hw-eth0

-- 
#define printk(args...) fprintf(stderr, ## args)


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  parent reply	other threads:[~2005-03-03 14:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-03 11:13 Networking problems with debian packages Christian Wicke
2005-03-03 11:37 ` Leigh Brown
2005-03-03 12:58   ` Christian Wicke
2005-03-03 18:48     ` Nicholas Lee
2005-03-03 21:14       ` Christian Wicke
2005-03-04 21:15         ` Nicholas Lee
2005-03-05  9:12           ` Christian Wicke
2005-03-05  9:19             ` Nicholas Lee
2005-03-03 16:26   ` Christian Wicke
2005-03-03 17:44   ` Adam Heath
2005-03-04 16:16     ` B.G. Bruce
2005-03-03 14:45 ` Gerd Knorr [this message]
2005-03-04 21:22   ` Nicholas Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d5ugpz48.fsf@bytesex.org \
    --to=kraxel@bytesex.org \
    --cc=xen-devel@lists.sourceforge.net \
    --cc=xen.christian@safersignup.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.