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/
Home Products Support Community News


[Xen-users] DomU and bridge mode, 2 intefaces.

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DomU and bridge mode, 2 intefaces.
From: jerome.gaulin@xxxxxxxxxxxxxxxxx
Date: Fri, 2 Feb 2007 09:21:32 +0100
Delivery-date: Fri, 02 Feb 2007 00:21:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: Internet Messaging Program (IMP) 3.2.3

My physical machine has 2 interfaces : 1 to LAN (eth1), 1 to WAN(eth0) and has a
public IP outside of the public ip's pool of my DomUs.
So, in order to use bridge mode, i use a dummy interface(dummy0) in Dom0 to have
the same /29 network between Dom0 and DomU.
i have created a script called by xend-config.sxp with :
#! /bin/sh
"$dir/network-bridge" "$@" vifnum=0 netdev=? bridge=XenBrWAN
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=XenBrLAN

Should i put eth0 or dummy0 as netdev ?
Should i manually put some new iptables forward rules ?
i have this for now :
ACCEPT 0 --  PHYSDEV match --physdev-in vif2.0
but why it is vif2.0 and not dummy0 or vif0.0?

Thanks in advance,


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>