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] Re: Setting up firewall as Dom-U

To: "Joseph L. Casale" <jcasale@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: Setting up firewall as Dom-U
From: "Gordon McLellan" <gordonthree@xxxxxxxxx>
Date: Sun, 13 Apr 2008 08:21:10 -0400
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 13 Apr 2008 05:21:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=SdAQptuxVm5UhrnAkP4u0ghsm+heSIwR3xbMNJ/vBZc=; b=x0kSG9Hlp2XfB0OetElDN89a1EhjhMENUIPLzTn9ZOIOnPWTnRccbU0Rmz7oa076uWArTsTevmdJtvklYjst4r+nt6KB69hDbUDwvUENnaynjJp4+2Kqzk6O+WG/MudoINkdF07xr+jOuY3XOV0McI+pKuqBOV5qjueH0cpArPE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BjJWJbhj+GUQaRRTQdR6QuXwzcn1iw9dRQ2QHofEWv9BZzvx2FtGHVoAmMwZLUrvHNeJJwK5SmWdyzuk7ggtdWK3D6oleTF2CXy1xYgypK5xYsKMllkZjgK2Tyg9vZvS4P52LvOigwvG0lHnpO3NtoCeU9D++kaQIKrBqzzQOzU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1C8CF1EA1A5B5940B81B0710B2A4C93857F239C1A6@xxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <1C8CF1EA1A5B5940B81B0710B2A4C93856C03FE2DB@xxxxxxxxxxxxxxxxxxxxxxx> <ftpspo$920$1@xxxxxxxxxxxxx> <1C8CF1EA1A5B5940B81B0710B2A4C93856C03FE2DC@xxxxxxxxxxxxxxxxxxxxxxx> <f64d94760804121116o15962f13jde06e002ae5cdada@xxxxxxxxxxxxxx> <1C8CF1EA1A5B5940B81B0710B2A4C93856C03FE2E0@xxxxxxxxxxxxxxxxxxxxxxx> <f64d94760804121252s6948098ncb6feddf26ec05d2@xxxxxxxxxxxxxx> <1C8CF1EA1A5B5940B81B0710B2A4C93857F239C1A6@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
The default script isn't going anywhere ... the new script is just a
'wrapper' of sorts, which calls the default script several times, once
for each bridge.  By default, xend just calls it once to setup br0.

On Sat, Apr 12, 2008 at 11:51 PM, Joseph L. Casale
<jcasale@xxxxxxxxxxxxxxxxx> wrote:
> >also under etc/xen/scripts, I created this script to setup the bridges
>  >- it only seems to work at boot, running the script after the system
>  >is booted yielded weird results for me
>  >
>  ># cat my-network-script
>  >#!/bin/sh
>  >dir=$(dirname "$0")
>  >"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0
>  >"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1
>  >"$dir/network-bridge" "$@" vifnum=2 netdev=eth2 bridge=xenbr2
>  >"$dir/network-bridge" "$@" vifnum=3 netdev=dummy0 bridge=xenbr3
>  >
>  >you also need to change /etc/xen/xend-config.sxp and tell it to run
>  >your script, instead of the default.
>
>  Gordon,
>  What version of Xen are you using? I am using 3.2 and my original network 
> script is significantly more complicated than this, are there any issues I 
> face not using that existing script in my version?
>
>  Also, I disabled libvirtd and pointed my vifs to eth0 as my bridge currently 
> while I test and this is working well so far. Will your script work with that 
> service disabled?
>
>  Thanks for all your help!
>  jlc
>

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