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