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

Re: [Xen-users] (no subject)



I have my Debian Dom0 setup in a similar fashion with multiple working HVM's, your configuration is missing or has an invalid bridge.

If you haven't already, install bridge-utils and modify your interfaces file to this:

auto lo xenbr0
iface lo inet loopback
iface eth0 inet manual
iface xenbr0 inet static
bridge_ports eth0
address 222.28.246.107
netmask 255.255.255.248
gateway 222.28.246.105
bridge_hello 2
bridge_maxage 12
bridge_fd 0
bridge_stp off


To add this network bridge to your HVM's the "vif" would be:

vif=['bridge=xenbr0,model=e1000']


The bridge "static" IP will apply to your Dom0 instead of the Eth0 static IP.  The bridge will connect both HVM's to the same network as your Dom0.


On Wed, Apr 11, 2012 at 5:16 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
On Wed, 2012-04-11 at 10:07 +0100, Simon Hobson wrote:
> Chen Fu wrote:
>
> >iface eth0 inet static
> >address 222.28.246.107
> >netmask 255.255.255.248
> >gateway 222.28.246.105
> >bridge_ports eth0
> >bridge_hello 2
> >bridge_maxage 12
> >bridge_fd 0
> >bridge_stp off
> >auto eth0
>
> I don't know if it is the problem or not, but you are creating a
> bridge called eth0, with an interface called eth0 attached to it.
> Try editing /etc/udev/rules.d/70-persistent-net-rules and changing
> eth0 to peth0 - and of course editing /etc/network/interfaces to
> suit. Ie, change "bridge_ports eth0" to "bridge_ports peth0".

Or call the bridge "xenbr0" which is the other normal way to do things.

Ian.


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

_______________________________________________
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®.