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

Re: [Xen-users] Re: Setting up firewall as Dom-U


  • To: "Joseph L. Casale" <jcasale@xxxxxxxxxxxxxxxxx>
  • From: "Gordon McLellan" <gordonthree@xxxxxxxxx>
  • Date: Sat, 12 Apr 2008 15:52:56 -0400
  • Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Sat, 12 Apr 2008 12:53:26 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CWfCBay3Ly8lpHPjeRyvQRKJATVgGBYIeRRd5eXWUz61lJdXw0IxPZJuciGHtgtV8gCfulT0ww+MwY6KJ4RNC4HK4zxpw/0slw0c/333pGrhlDDz8a5Iy69yRz4lS7hyVl9zIDx007opO3TEvXxIR+GtiEWHIqUNwmC7brrjyXk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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