[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] any idea?
> On Thu, Mar 22, 2007 at 05:36:46PM +0100, jez wrote: > > > > Well, there's really only two options: > > > > Option 1: Two Bridges - xenbr0 for all eth0 traffic, and xenbr1 for > > all eth1 traffic. > > Option 2: Two Bridges - xenbr0 for all VM1 traffic, and xenbr1 for > > all VM2 traffic. > > > > > > -- BOTH OPTIONS -- > > > > 1. edit /etc/xen/xend-config.sxp: > > > > (network-script network-multi-bridge) > > > > 2. create and edit /etc/xen/scripts/network-multi-bridge: > > > > #!/bin/sh > > dir=$(dirname "$0") > > "$dir/network-bridge" "$@" vifnum=0 > > "$dir/network-bridge" "$@" vifnum=1 > > > > chmod +x /etc/xen/scripts/network-multi-bridge > > > > 3. # /etc/init.d/xend restart > > # brctl show > > bridge name bridge id STP enabled interfaces > > xenbr0 8000.feffffffffff no vif0.0 > > peth0 > > xenbr1 8000.feffffffffff no vif0.1 > > peth1 > > > > -- OPTION 1 -- > > > > 4. edit /etc/xen/vm1.cfg: > > > > vif = [ 'bridge=xenbr0', 'bridge=xenbr1' ] > > > > edit /etc/xen/vm2.cfg: > > > > vif = [ 'bridge=xenbr0', 'bridge=xenbr1' ] > > > <snip/> On Thu, Mar 22, 2007 at 01:10:03PM -0300, Nicolas wrote: > THANKS jez my config is your option 1 > but howto apply to server > Also from Nicolas (reply to the list *not* me): > > yes this does, but i wana redirect trafic of eth1 of dom0 to eth1 of all > vm. > this is to security config to postfix and bla bla bla What are you saying? Do you want to port-forward traffic coming in on dom0's eth1 to different VMs? Dom0 (eth1) DomU --------- ---------- -> port 25 -> VM1 port 25 -> port 80 -> VM2 port 80 -> port 143 -> VM3 port 143 Also, what distribution are you running Nicolas: Debian, Fedora, ...? _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |