WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Dummy ethernet device setup

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Dummy ethernet device setup
From: "John Cianfarani" <jcianfarani@xxxxxxxxxx>
Date: Mon, 13 Mar 2006 11:24:21 -0500
Cc: "Philipp Jäggi" <philipp.jaggi@xxxxxxx>
Delivery-date: Mon, 13 Mar 2006 16:27:10 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:MIME-Version:Content-Type:Content-class:Date:X-MimeOLE:Message-ID:X-MS-Has-Attach:X-MS-TNEF-Correlator:Thread-Topic:thread-index:From:To:Cc; b=ZzOVItDGAvUJeecXoIjyEXR4Rv0XJ/iziAdCfrbW0L8uBW4KnNBmV+Cc+xuBgHk84PYMb2+0UXQNbpGZX5sIp8vmP/QnK5GB1M+27Yhn6e5zNC43KKFILKdUpfRn7dSEKrXb69+eSe2VtaICpQB8fQGyWYceuVG/dYdWlWOjOvM= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZGhrsNbic4EYnST2W+8a0JRFLYoAAMEjow
Thread-topic: [Xen-users] Dummy ethernet device setup

Never tried it but could you do it with bridges?

 

You can add the ip to the xenbr1 with

brctl addbr xenbr1

ifconfig xenbr1 192.168.10.1 netmask 255.255.255.0 up

 

John

 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of "Philipp Jäggi"
Sent: Monday, March 13, 2006 4:09 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Dummy ethernet device setup

 


Hello you all out there

Does anybody know the definite guide to create a dummy ethernet device?

So, what I want to have is an ethernet device, without a physical link, or so called a dummy device. My goal is to have apache with mod_proxy and balancer running on peth0 in dom0. Apache is spreading my connection to the backend domU's, where the webservices are running. The connection between the dom's should go on dom0 over the dummy interface and they are all connected over a bridge. Hope the following ascii-art explains it a little bit better:


                   
-------------------------------------------------------------
|                peth0                        |
|                DOM0                        |
|                                         |
|                tun0 (dummy dev)        |
|                  xenbr1                        |
|----------------------------------------------------------        |
|        eth0        |        eth0                |
|        domU        |        domU                |
| _____________|____________________|


I tried with tun to setup the stuff, but I've got several problems. I search a lot in the internet, but I didn't find a good documentation. So my question is, how to setup cleanly such a dummy device. Any help or link to documentation is welcome! Thanks a lot for your help


bye Philipp

===============================================
Philipp J
䧧i
SNCT Sandweiler
bp 23
L-5230 Sandweiler

mailto: philipp [dot] jaeggi [at] snct [dot] lu

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users