Here's my vif line:
vif = [ "mac=00:16:3e:40:9b:8c,bridge=xenbr0,type=ioemu",
"mac=00:16:3e:40:9b:8d,bridge=xenbr1,type=ioemu",
"mac=00:16:3e:40:9b:8e,bridge=xenbr2,type=ioemu",
"mac=00:16:3e:40:9b:8f,bridge=xenbr3,type=ioemu", ]
I chose sequential mac addresses, for no reason in particular. Xend
had assigned the first mac, so I just kept adding 1 to it.
also under etc/xen/scripts, I created this script to setup the bridges
- it only seems to work at boot, running the script after the system
is booted yielded weird results for me
# 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=eth2 bridge=xenbr2
"$dir/network-bridge" "$@" vifnum=3 netdev=dummy0 bridge=xenbr3
you also need to change /etc/xen/xend-config.sxp and tell it to run
your script, instead of the default.
Gordon
On Sat, Apr 12, 2008 at 9:02 PM, Joseph L. Casale
<jcasale@xxxxxxxxxxxxxxxxx> wrote:
> This is exactly my config, same OS etc. So in the hvm config, you dos
> something like this:
> vif = [ 'type=ioemu, mac=<mac 1>, bridge=xenbr0' , 'type=ioemu, mac=<mac 2>,
> bridge=xenbr2' , 'etc...' ]
>
> and then assume Astaro see's 4 nics?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|