|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] One physical NIC and multiple bridges
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
|
|
|
|
|