WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen 4 + Debian Squeeze + one VM in route mode and anothe

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 4 + Debian Squeeze + one VM in route mode and another in nat mode
From: Thierry B <xen-users@xxxxxxxxxx>
Date: Sat, 06 Aug 2011 11:45:29 +0200
Delivery-date: Sat, 06 Aug 2011 02:46:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAMrPLWLphA7iYUnwY1GSuvCd365z2-PN9dMtwHW_sq0sO4KUwA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4E398BAE.3030606@xxxxxxxxxx> <CAMrPLWLphA7iYUnwY1GSuvCd365z2-PN9dMtwHW_sq0sO4KUwA@xxxxxxxxxxxxxx>
Reply-to: thierry@xxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
Le 04/08/2011 06:31, Todd Deshane a écrit :
> Are you able to confirm that Xen is making use of these scripts? For
> example, adding a set -x to the scripts and booting the guest to make
> sure the scripts are being called. And/or manually checking that the
> iptables rules are being put into place correctly Another approach is
> described in this thread:
> http://xen.markmail.org/search/?q=nat+networking#query:nat%20networking+page:1+mid:fksxauxxxqxotgz4+state:results
> Which links to:
> http://www.andrewsorensen.net/blog/post/nat-networking-in-debian-squeeze
> Thanks, Todd 
Yes I'm able to confirm that because it's vif-nat which give the static
ip 192.168.1.254 to vif-debianTest by modifiing that :

routing_ip()
{
  #echo $(echo $1 | awk -F. '{print $1"."$2"."$3"."$4 + 127}')
  echo $(echo $1 | awk -F. '{print $1"."$2"."$3"."254}')
}

I use a dedibox, and bridge mode is not authorized...I can only route
with an ip failover that I have to buy or nat, and I'd like to have one
VM which use an ip failover and other one NAT.

Thanks.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users