Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   xen virtual network (http://www.linux-archive.org/debian-user/244716-xen-virtual-network.html)

Freddy Freeloader 02-13-2009 12:03 AM

xen virtual network
 
I'm trying to figure out how to create both frontend and backend
networks in xen. By that I mean a publicly available network for
internet access and a virtual network for communication between guests
only that has no internet or other network access.


Here's what I've done in attempting to add the second virtual network.

1. Created dummy0 interface in /etc/network/interfaces in Dom0.
2. In /etc/xen/xend-config.sxp pointed (network-bridge) to the script
below.
3. Created a script in /etc/xen/scripts to start up both xenbr0 and
xenbr1. xenbr0 is the default bridge and xenbr1 is created on dummy0.
The script is from an example in Running Xen on how to create multiple
bridges.
4. Added the mac and xenbr info for xenbr1 to the "vif = (blah, blah,
blah)" line in the domain.cfg file in /etc/xen.


This results in losing all network connectivity to and from the guest
OS. It also leads me to believe I should probably be creating this
second interface in /etc/xen-tools/xen-tools.conf so that the second
interface would be created in the guest by xen-create-image, but I can
find no documentation on how to do this.


The guest only shows eth0 and lo in /etc/network/interfaces.

"brctl show" lists two bridges.


bridge name bridge id STP enabled interfaces
eth1 8000.00e04da05951 no peth1
xenbr1 8000.feffffffffff no vif2.0


Can anyone either give me an example to look at or point me to a how-to
on this?



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 12:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.