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

Re: [Xen-users] advanced bridging...


  • To: mpatino@xxxxxxxxxxxx, Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "louis nerion" <louis.nerion@xxxxxxxxx>
  • Date: Mon, 7 May 2007 14:15:56 +0200
  • Delivery-date: Mon, 07 May 2007 05:14:51 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=QGv/KonD06gGcqLeA9/wSQ+eYSw5FqwnHIxCMuAUhv5wa/z/1Vfo9wU5JGHokxaQgTCtpK3mWbS0mzd6GEvM3zW2+zvoW+lyOLiHgf57x6zVmQhAizECamKwqn/f+n/nP8LGjQC8cigx45TuUEGYXSksJ22/5z2/dUsNvyICM6E=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello, i've some remarks!

2007/5/3, Marc Patino Gómez <mpatino@xxxxxxxxxxxx>:
Hi again,

this is the config of xen in my Debian Etch:

/etc/xen/xend-config

(network-script network-bridge-wrapper)
(vif-script vif-bridge)
(dom0-min-mem 196)
(dom0-cpus 0)
(vncpasswd '')
---------------------------------------------------------------------------

/etc/xen/scripts/network-bridge-wrapper

/etc/xen/scripts/network-bridge start bridge=xenbr0 vifnum=0
/usr/sbin/brctl addbr xenbr1
/sbin/ifconfig xenbr1 up
----------------------------------------------------------------------------

the domu (Firewall)

/etc/xen/firewall-config.sxp


name="firewall"
kernel="/boot/vmlinuz- 2.6.16.33-xenU-x86_64"
root="/dev/hda1"
cpu=3
memory=256
disk=['file:/xen1/firewall.img,hda1,w']

vif=[
'mac=00:16:3e:70:21:02,bridge=xenbr0,vifname=firewall.eth0','mac=00:16:3e:70:32:02,bridge=xenbr1,vifname= firewall.eth1'
]
dhcp="off"
ip="XX.XX.XX.XX"
netmask="255.255.255.0"
gateway="XX.XX.XX.XX"

In my mind, there is a problem here, because you define one ip=" XX.XX.XX.XX" but you define two vif ...
So where this ip is allocated? vifname=firewall or vifname=firewall.eth1?


hostname="firewall.domain.com"

extra="3"

>on_reboot   = 'restart'
on_crash    = 'restart'
-------------------------------------------------------------------------------

in this domU (the firewall) I have a bridge between eth1 and eth0, you
can do in CentOS way (inside the domain) ;)


here is the config file of a domu behind the FW:

/etc/xen/domu-config.sxp
name="domu"
kernel="/boot/vmlinuz-2.6.16.33-xenU-x86_64"
root="/dev/hda1"
cpu=3
memory=92
disk=['file:/xen1/domu.img,hda1,w']

vif=[ 'bridge=xenbrFW , vifname=domu.eth0' ]
dhcp="off"
ip="XX.XX.XX.XX"

Here it 's good ! One ip for one vif !

netmask="255.255.255.0"
gateway="XX.XX.XX.XX"
hostname="domu.domain.com"

extra="3"


on_reboot   = 'restart'
on_crash    = 'restart'
----------------------------------------------------------------------------------------------------


> 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

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