[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] One physical NIC and multiple bridges


  • To: Gordon McLellan <gordonthree@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.