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

Re: [Xen-users] debian wheezy bridge creation



On Fri, Feb 21, 2014 at 5:23 PM, Simon Hobson <linux@xxxxxxxxxxxxxxxx> wrote:
> chris snow <chsnow123@xxxxxxxxx> wrote:
>
>> I've installed xen on debian wheezy 7.0 virtualbox machine with three
>> network interfaces:
>>
>> echo 'xcp-networkd xcp-xapi/networking_type select bridge' |
>> debconf-set-selections
>> apt-get --no-install-recommends -q -y --force-yes install xcp-networkd
>> apt-get --no-install-recommends -q -y --force-yes install
>> linux-headers-3.2.0-4-amd64 xen-hypervisor-
>> apt-get --no-install-recommends -q -y --force-yes install xcp-xapi
>> xcp-xe xcp-guest-templates xcp-vncterm xen-tools blktap-utils
>> blktap-dkms qemu-keymaps qemu-utils
>>
>> echo "bridge" > /etc/xcp/network.conf
>> update-rc.d xendomains disable
>> echo TOOLSTACK=xapi > /etc/default/xen
>
> You say Xen, then quote what looks to me like XCP stuff. I believe there's 
> another forum for XCP.
>

Sorry - I'm fairly new to all this stuff.  The setup scripts I am
using came from the Apache Cloudstack devcloud project.

>> When the system boots,  in addition to eth0, eth1 and eth3, I have
>> three bridge interfaces xenbr0, xenbr1 and xenbr2.
>>
>> How and when are there bridges created, when xen installs, or when it
>> starts up?  Is there any documentation that describes this behavior?
>
> Standard advice these days for a **Xen** install on Debian is to let the 
> network tools take care of it - ie do NOT use the Xen scripts. There have 
> been many posts about doing this, but you just need something like this 
> (change the bridge and interface names to suit) in your 
> /etc/network/interfaces file :
>

I did see that advice, but can't remember where.  I wasn't sure that
because I was installing xen/xcp using apt-get whether this advice was
being followed by the debian scripts.  I'm guessing the scripts don't
follow the advice because the three bridges are created automatically.

> auto ethbak
> iface ethbak inet static
>   bridge_ports pethbak
>   address x.x.x.x
>   netmask 255.255.0.0
>
> After that, the bridge just automagically appears at boot.
>
>
>
> Simon Hobson
>
>

I'm wondering whether I should just try installing xen (or xcp?) from
scratch so that I have full control over what is happening, before
trying to use the distro packages?


-- 
Check out my professional profile and connect with me on LinkedIn.
http://lnkd.in/cw5k69

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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