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] to access 4 Virtual Hosts from a public IP

To: Tapas Mishra <mightydreams@xxxxxxxxx>
Subject: Re: [Xen-users] to access 4 Virtual Hosts from a public IP
From: Grant McWilliams <grantmasterflash@xxxxxxxxx>
Date: Sat, 10 Apr 2010 01:53:57 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 10 Apr 2010 02:00:34 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type; bh=ibqTs5/IOQEGUnP7fVVsoPGI1J098vYAoBoXB67cPL4=; b=df6HtYg5EfMLb6+oXRDNZW/bQyPjHOsDb7PkchaT21JXKdw8yz3v5rO3IRc5KaslC7 qYLigfyP9HxQxRvtuN5lQYVWJBflAa3j11X9DaKTvRdlE23oVfh/gcFbJYo2iHJs6Jkh YVMOfxGTE/onnKLMdXqnvn2cR0NDfthOrDv40=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=H8UhzNW31hPzixg6U5dl/AwudN4ioa3AGFlim+MNSKcDn/+nG+D9DoCCmdWNhZlR74 ZWfnUvrqr/m5kOpU9u43cZueWbHB2goD1SrkiBduz99G+XQGfHZ6dgX+N3xCV5U37TRt vuRfWFuforcblb/7gYU6yI+1tpdB5p6mHJumY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <k2oe2d2e5831004092309mb8c10a65r15b7cc7f0962779@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: <m2pe2d2e5831004092306g78700b63g45c595d54117146b@xxxxxxxxxxxxxx> <k2oe2d2e5831004092309mb8c10a65r15b7cc7f0962779@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

On Fri, Apr 9, 2010 at 11:09 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
I have installed Debian and Xen and 4 Virtual Hosts are up which can
be accessed via doing and SSH to Dom0.
I  have a few questions.
1) I do not want to do an SSH to Dom0 always directly want to access
DomU's how to go for that?
2) Want to have 4 websites running on these 4 virtual hosts but they
should be accessible on a public IP which Dom0 has so how should I go
for it?

Completely depends on your internernal network setup. If you have all of your vifs on the default bridge
then they'll have addresses on the same range as your Dom0 and the public IPs will have to be routed through to the
internal private IPs the same way the Dom0 is.

However, if you've managed to put all the vifs on their own bridge (different than the one that Dom0's peth0 is on) then you need to set up iptables to route between the outside interface and the inside interface.


Grant McWilliams
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>