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] nat

To: mattias <mj@xxxxxx>
Subject: Re: [Xen-users] nat
From: Mark Pryor <tlviewer@xxxxxxxxx>
Date: Sat, 15 Jan 2011 11:58:57 -0800 (PST)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 15 Jan 2011 12:01:18 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1295121537; bh=t2aJxqy+J0ZLNjVdbXmt8VsxI9VwBfbHRbSvkwjqzlA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=vzmRZ72Xn1dJbFbsbCbXD/GDtQvY2PGSooEtad2nF+G8Fy+ViIsQXOBr7gCVfHsfnw1ikvI0KZtJNweXwJxPQFs73kBSgYwfFcfUVT74JWWvzaThAtO/ejyijXchm/tiU3G+xVKe/QEITOCSjDok5g/Yn3DWwgyBLwGh7Pj9suk=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=spv1gzGw2KJgSkte31QBnZXpv6y+86hgI+bNyRY6sVP1bpiJiwrGgMej/K/vIF55mX26CDCLit/9gG/p8vIW32znNEAKDraLY2xcEnrwRmAxn9AkCiTsZ5dmNK5w6KgOIun4JwGyEO190FyDx/HY4Wo5cobOt8QYKDZfieB15j4=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
--- On Sat, 1/15/11, mattias <mj@xxxxxx> wrote:

> From: mattias <mj@xxxxxx>
> Subject: [Xen-users] nat
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Date: Saturday, January 15, 2011, 11:43 AM
> If i will use a vm with nat
> Wich interface?

In dom0
-------
uncomment only these two for network and vif

---------/etc/xen/xend-config.sxp-------
(network-script network-nat)

(vif-script vif-nat)
------------------ snip ------

in Vm config
vif = ['ip=10.0.0.1']

in domU
-------
append these lines to
-----------/etc/network/interfaces---------
auto eth0
iface eth0 inet static
address 10.0.0.1
gateway 10.0.0.254
netmask 255.255.255.0

----------- snip -------------

-- 
Mark
ChmEarl ##xen@xxxxxxxxxxxx



      

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

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