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!
-Gordon
On Sat, Nov 15, 2008 at 8:41 AM, Tom Lobato <tomlobato@xxxxxxxxx> wrote:
>
> Hi all!
>
> There are several docs teaching how to configure multiple bridges
> for Xen when you have multiple NICs.
> Well, I want to simulate a environment with 4 machines, but only 2
> must have internet access (through physical NIC on dom0), and others can
> comunicate with each other. So, I need to make some additional bridges
> UNrelated to my physical NIC on dom0.
>
> I tried to create it manually using:
> brctl addbr br1
> then, in domU 1 config:
> vif = ... bridge=br1 ...
> then, in domU 2 config:
> vif = ... bridge=br1 ...
>
> When domU 1 and 2 boots up, it is attached to this bridge, as hoped,
> but cant ping another domU connected to the same bridge.
> A simple map of my domUs:
>
> domUs
> ----------------------------------------
> | isp1_server----|---physical_NIC
> | | |
> | client-----lan_server |
> | | |
> | isp2_server----|---physical_NIC
> |________________________|
>
> Im I forgetting something? If you has a better approach to setup it,
> please tell me.
>
>
>
>
> Tom Lobato
>
>
> _______________________________________________
> 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
|