[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Networking problems with debian packages



Christian Wicke <xen.christian@xxxxxxxxxxxxxxx> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.