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

Re: [Xen-users] PAT NAT for my VM's?


  • To: xen-users@xxxxxxxxxxxxx
  • From: Jan Hejl <jh@xxxxxxxxxx>
  • Date: Mon, 03 Dec 2012 14:32:17 +0100
  • Delivery-date: Mon, 03 Dec 2012 13:33:42 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=excello.cz; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type; q=dns; s=default; b=SXC18tGTzzkCBWtkY/wJe7grbS8mJ rLDm/0CR/Mq2F5l/ngvI01DjB6J3C7PWbRHwyvqOKb1HOWI4dUlKQ7QYCU77F8I6 9YP9KgCAy4Xx+6dF3QbX99DwtZIDKEoiaNc
  • List-id: Xen user discussion <xen-users.lists.xen.org>

For me it sounds like that you overthought your idea with network scenario. Your setup should be "Xen Case 2: NAT'd networking". But these tutorials are someway outdated. What version of Xen do you plan to use? And what toolstack (xl, xend, ...)?

Dne 30.11.2012 21:36, dan geci napsal(a):

I saw this info http://wiki.kartbuilding.net/index.php/Xen_Networking but it doesn't cover my issue I don't think.  I want several of the same Linux OS running on xen from one server(dom0) where dom0 has the one public IP I have available to me.  From there I want to access these VM's from any where over internet with ssh and once logged in reach the internet via these same machines for tasks like apt-get.  The issue is I can't configure the default gateway to do the routing because someone else owns the network.  I just have permission to put this server in the DMZ and use a pubic IP for it and give it internet access. Basically xen needs to do routing for the vm's.   It's for a school work study. I am tasked with giving each student in Unix class their own VM with root permissions that they can log into from anywhere.  And I need apt-get to work on said VM's for when they learn package installation etc... I've never used xen so please be detailed if possible.  Basically I thought xen uses port address translation not just NAT.  In other words if my public IP is 1.1.1.1 then I could map port say 4601 to mean my first VM and 4602 for the second ect... that way I could ssh into them from home with ssh user@xxxxxxx:4601 for the first VM  and so on and  and NAT would use the PAT mappings to send traffic out for tasks like apt-get (the 4601 would point to that particular VM and the xen hyper visor would send the ssh request to that machine via ssh's normal port on said machine which is 22).  Am I wrong about how this works? If so what is my solution or how do I set up xen to do this?  Or point me to a tutorial on this scenario.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

Attachment: smime.p7s
Description: Elektronicky podpis S/MIME

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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