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

Re: [Xen-users] nat


  • To: mattias <mj@xxxxxx>
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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