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