Hello, I have 4 virtual machine and wanted to place in all of them 2 cards of network for each one, manages to do it with a single machine. It is for a servant of hosting, the second card has qeu to be equal for all the virtual machines since I can do? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Nicolas On Wed, Mar 21, 2007 at 06:15:40PM -0300, Nicolas wrote:> Hello, I have 4 virtual machine and wanted to place in all of them 2 > cards of network for each one, manages to do it with a single machine.Each domU will have two network cards if you put this in their configuration file: vif = [ '''', '''' ]> It is for a servant of hosting, the second card has qeu to be equal for > all the virtual machines since I can do?I don''t understand. What does "qeu" mean? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Debian sarge, howto configure? thanks :D _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jez, thank for anwer- My problem, is config two netcards to all vms please see the example _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 3/22/07, Nicolas <ngliksberg@uruhost.com.uy> wrote:> Jez, thank for anwer- > My problem, is config two netcards to all vms > please see the exampleFor that, you need a custom bridge script. See http://wiki.xensource.com/xenwiki/XenNetworking and the comments in xend-config.sxp jerry -- "Oh joy! Rapture! I''ve got a brain" -Scarecrow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Please reply to the list, not directly to me. On 3/22/07, Nicolas <ngliksberg@uruhost.com.uy> wrote:> Jerry Amundson wrote: > > On 3/22/07, Nicolas <ngliksberg@uruhost.com.uy> wrote: > >> Thanks, this no problem, the problem is traffic to eth1 redirect to eth1 > >> of all vm machines.. > > > > That''s what the bridge does, right? > > > > jerry > > > Yes, but el problems is config two cards, to traffic distint, is to > server host, thanksUm, what? jerry -- "Oh joy! Rapture! I''ve got a brain" -Scarecrow _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
THANKS jez my config is your option 1 but howto apply to server _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Mar 22, 2007 at 09:24:13AM -0500, Jerry Amundson wrote:> Please reply to the list, not directly to me. > > On 3/22/07, Nicolas <ngliksberg@uruhost.com.uy> wrote: > >Jerry Amundson wrote: > >> On 3/22/07, Nicolas <ngliksberg@uruhost.com.uy> wrote: > >>> Thanks, this no problem, the problem is traffic to eth1 redirect to eth1 > >>> of all vm machines.. > >> > >> That''s what the bridge does, right? > >> > >> jerry > >> > >Yes, but el problems is config two cards, to traffic distint, is to > >server host, thanks > > Um, what? >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'' ] -- OPTION 2 -- 4. edit /etc/xen/vm1.cfg: vif = [ ''bridge=xenbr0'', ''bridge=xenbr0'' ] edit /etc/xen/vm2.cfg: vif = [ ''bridge=xenbr1'', ''bridge=xenbr1'' ] -- END -- Is this Okay? jez _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> 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 blaWhat 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@lists.xensource.com http://lists.xensource.com/xen-users
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 >Continued on original thread - please look there. Try to fix your mail user agent Nicolas? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Mar 22, 2007 at 01:52:07PM +0100, xdie wrote:> Debian sarge, howto configure? thanks :DFollow the Instructions I gave you Nicolas, that will work with Debian Sarge! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users