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] One physical NIC and multiple bridges

To: Gordon McLellan <gordonthree@xxxxxxxxx>
Subject: Re: [Xen-users] One physical NIC and multiple bridges
From: Tom Lobato <tomlobato@xxxxxxxxx>
Date: Sat, 15 Nov 2008 19:57:56 -0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 15 Nov 2008 13:58:41 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=SpiI+CSRRGXLOJb88hyDa+wfDVqp+xQnoL+6D5IkULw=; b=PnGacnqfScij4iTDsX1hthIIo67dJhgIbH4MYiLs0eKDroOY0dHpxQKtj1B5W0RahS IFdlvAa1wqTgUuyBSVPYGP6bNa5VK/5bzVHUhPHK4jEp7SSxcjpjI2wD6Dvz9DOWLwo4 diLr+K23HvQQ7wz9X4Tu6+tdYQEBV8Uh66R2A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=igJoo63uVsar9S3Rj6e76eSI9Zo7bHXxwADtU5zheK3Kli3NnaPzlQPkJT5TXtgley VAyXd0WPEfysxLItgJc4X5Z85AVFOeN/ctCMnZJLPSuVGQqaySZyF1aBgYd7U+6FBIkO 5OBe9zIoEPJna18xhXlKIzcYW8NfFAPmaA5/4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f64d94760811150628q7dd5b0ancc5bfbd3870942a7@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <491ED174.1010704@xxxxxxxxx> <f64d94760811150628q7dd5b0ancc5bfbd3870942a7@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (X11/20080925)
Gordon McLellan escreveu:
> What does your network setup script look like in /etc/xen/scripts?
>
> As far as I know, a bridge has to be tied to a device on the host, but
> that physical device doesn't need to be real.  My host has four
> bridges on it, three of which are bound to real ethernet devices, the
> fourth is bound only to a dummy ethernet device.
>
> here's my network setup script, it lives in /etc/xen/scripts and gets
> auto-executed when xend starts up.
>
> # 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=eth3 bridge=xenbr2
> "$dir/network-bridge" "$@" vifnum=3 netdev=dummy1 bridge=xenbr3
>
> bridge3 is my 100% virtual network, which exists only in the memory on
> the host and not on my physical network.  It's connected to my
> phyiscal network via a firewall DomU which only allows certain traffic
> to cross over.
>
> I hope this helps!
>   

thank you very much,
sure it helps me :)

Before I tried to use custom my-network-script, but was not sure
how to configure it for this setup. With your working config I can try
again.

I will try it and post results.


Tom Lobato


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

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