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

Re: [Xen-users] Virtual switches



Hi,

Could this be what your asking? This sounds like something i've just setup with vlans using this guide and scripts
http://renial.net/weblog/2007/02/27/xen-vlan/

I edited the script "scripts/network-multi-vlan" to look like

   dir=$(dirname "$0")
   "$dir/network-bridge" "$@" vifnum=0
   "$dir/network-bridge-vlan" "$@" vlan=2

i then removed eth0.2 from the vlanbr2 which prevents the rest of my physical machines reaching the ip's and created a domU named gateway with 2 vifs one connected to xenbr0 and one connected to vlanbr2 like this.

vif = [ 'mac=00:16:3E:00:00:26, bridge=xenbr0, vifname=gateway.0','mac=00:16:3E:00:02:10, bridge=vlanbr2, vifname=gateway.1' ]

then i have 2 more domU's connected to the vlanbr2 that appear only to be accessible from by passing through the gateway or internally. Its all new to me though and i dare not say its secure any further advice would be welcome on that.

xen5etch:~# brctl show
bridge name     bridge id               STP enabled     interfaces
vlanbr2         8000.feffffffffff       no              gateway.1
netserv.0 net1.0
xenbr0          8000.feffffffffff       no              vif0.0
peth0 gateway.0

Hopefuly this is helpful.

Geoff

karhong.ng@xxxxxxx wrote:

Hi,

[1]
Are there guides for setting up a virtual switch for use in between guest domains in Xen ?

[2]
In Xen, is it possible for a guest domain to perform a initial dhcp IP lookup from another guest domain ?
How are the configurations like ?

Are there references or step procedures ?

Kindly advice.
Thanks.

------------------------------------------------------------------------

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


_______________________________________________
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®.