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-devel

Re: [Xen-devel] how to setup NAT for domU?

To: Grzegorz Milos <gm281@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] how to setup NAT for domU?
From: Andrew Theurer <habanero@xxxxxxxxxx>
Date: Thu, 27 Jan 2005 10:09:30 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 28 Jan 2005 15:39:10 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <200501261135.23170.gm281@xxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <9cde8bff050126022375e27d89@xxxxxxxxxxxxxx> <200501261135.23170.gm281@xxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Gregor, in your xmexample script you have:

vif = [ 'ip=192.168.%d.1/24' % (vmid)]

I have a much simpler config file, which has:

vif = [ 'ip=192.168.2.1/24']

...which I tried to use but I get an error from xm create. Looking at create.py (xen-unstable) , I don't see a provision to parse assignment for ip= for vif:

gopts.var('vif', val="mac=MAC,bridge=BRIDGE,script=SCRIPT,backend=DOM",

Am I missing something, or is it possible you are using this on an unreleased build?

Thanks,

Andrew Theurer

Grzegorz Milos wrote:

I've created scripts to do that. Should they be included in the repositories (Ian, Keir)?
Here are they again.

(configure your xend-config.sxp to use them instead of the default ones, place them at /etc/xen/scripts)

Cheers
Gregor

hello,

I want my domU to use NAT, so it can access the internet with private
IP address, but dont know how to do that. I looked at the Xen user
manual, but it doesnt mention the solution for this problem either.

Thank you a lot,
AQ


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>