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: Patrick Wolfe <pwolfe@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Dummy ethernet device setup
From: Philipp Jäggi <philipp.jaggi@xxxxxxx>
Date: Mon, 13 Mar 2006 16:44:08 +0100
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 13 Mar 2006 16:19:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1142260156.20084.36.camel@xxxxxxxxxxxxxxxxxxxxx>
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

Hello Patrick

Thanks a lot for this input, but my question goes more in the direction, how you should setup your system, so that everything starts up automatically. I can't execute your steps by hand on a productive server and to write a shell script, which I let run in rc.local, is from my view also not so a clean solution. That's why my question goes for a definite guide to setup such network configurations.

Can I do this steps with ifcfg-xxxx files, how do I create a second bridge in a clean way and how do I arrage the assignement of the vif to the bridges. All this is just about the setup of dom0.

So, the question is not how to do it, it how to do it clean and propper on a Fedora Core 4 system. Thanks a lot for all ideas. If a lot of good proposal will come in, I will try to find the time to write such a guide and post it to this mailing list. Thanks a lot for all the hints and links.


bye Philipp


 


Patrick Wolfe <pwolfe@xxxxxxxxxxxxxx>

03/13/2006 03:29 PM

To
Philipp Jäggi <philipp.jaggi@xxxxxxx>
cc
Subject
Re: [Xen-users] Dummy ethernet device setup





Just use veth1/vif0.1 as your connection from dom0 to xenbr1:

                brctl addif vif0.1
                ip link set veth1 address 00:16:3e:f1:e2:d3 arp on up
                ip addr add 192.168.1.1/24 dev veth1

to remove it:

                ip link set veth1 down
                ip addr flush dev veth1
                brctl delif vif0.1

On Mon, 2006-03-13 at 10:09 +0100, Philipp Jäggi wrote:
>
> 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                        | instead of dummy
> |----------------------------------------------------------        |
> |        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äggi
> 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
--
Patrick Wolfe  (pwolfe@xxxxxxxxxxxxxx)


Attachment: signature.asc
Description: Binary data

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