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

RE: [Xen-users] Dummy ethernet device setup


  • To: "Philipp JÃggi" <philipp.jaggi@xxxxxxx>
  • From: "John Cianfarani" <jcianfarani@xxxxxxxxxx>
  • Date: Mon, 13 Mar 2006 11:32:16 -0500
  • Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 13 Mar 2006 16:33:36 +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=c946zF7nio7xoL8wLQOyqIXLxdCKi13zsgn+G+YnHd4SyiRWxgUbAPEQykJiZ5TiJPsDqPvNVqsQq5UtgNGahQOF8bC65L6R0yE/BQVsPV+iwZvYeCf9h/oaqEQkNG+0q59pLX+0RI2bafQSLpRi3vNp/L5XFPFHmQfl/D+wZCg= ;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AcZGueACOEPwPSlrR9y1Xt+/nUi8KwAAZzow
  • Thread-topic: [Xen-users] Dummy ethernet device setup

You can look at this for a bridging guide

 

http://www.linux.com/howtos/BRIDGE-STP-HOWTO/practical-example.shtml

 

Which also has some init scripts.

 

John

 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of "Philipp JÃggi"
Sent: Monday, March 13, 2006 10:44 AM
To: Patrick Wolfe
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Dummy ethernet device setup

 


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äi <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äi 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ä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
--
Patrick Wolfe  (pwolfe@xxxxxxxxxxxxxx)

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

 


Rackspace

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