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] Both Dom0 and DomU have the same ip address...

To: trist007 <drakoth777@xxxxxxxxx>
Subject: Re: [Xen-users] Both Dom0 and DomU have the same ip address...
From: "Brian Stempin" <brian.stempin@xxxxxxxxx>
Date: Sun, 13 Apr 2008 21:53:34 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 13 Apr 2008 18:54:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=lYgaIiQ3tJOi242wYes7kQx0W4MOLjtXIJ3yoMXUV2Y=; b=oFAnsJYW3UR14CJNo91fLSRinqVO63rgVz8bcs3LSebDrNjXdObfMlIx5OrdrUrasLsHwGfDCn1GQ7AwHLQPZCkOOD0hXicSreHMRsyqShG5ae7iZxgHUo0H5TzYp7H/45VH2enqVMxoVS5z1wYTmaHNdwXDex6+DTZ/r0Judzs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=F5SQuOlKAQ/FuWdl6OGqjm0GGfhuKejH6/Q0BurYa+Dk8hRMj6v9GAddWdfF7YtgJj27QJWAtCCp5t+M413DiC8i9HxRqOVLFC5jF37Lc2Wf0pkda6Oz5YL4IycHeSYAAC2EqKT2J8OKZwZjdZsxp3qs7NwYbeo8nhx+HUP2Bt0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <16657713.post@xxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <16657713.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Ooops...forgot to post to the list....

route -n will not show your IP address.

Try using ifconfig to obtain that information.

On Sun, Apr 13, 2008 at 9:57 AM, trist007 <drakoth777@xxxxxxxxx> wrote:

How do I assign a public ip address for Dom0 and then a separate one for
DomU?  I wanna do this so I can get some practice using ssh from dom0 to
DomU.  I wanted to interact between the two to get some good networking
experience using all sorts of protocols between the two.  Anyhow, I have
eth0 on dom0 as dhcp.  So when peth0 comes up during the network-bridge
script, which then turns into eth0 on domU it comes out as having the same
ip address.  Then again I might be confused.   I have a router which has the
default gateway of 192.168.1.1 so I know that's where dom0 and domU hook up
to the internet.  So here is my confusion.  I've been using
www.whatismyip.com to find out my ipaddress.  I know this is the external ip
address.  Also, I've been using route -n to get dom0 and domU's internal ip
address.  That address would be the 1st ip address from the output in route
-n?  If that's true, they're both 198.168.1.0  But since this external ip
address is the same for both dom0 and domU, would this be the external ip
address of the router?  I guess for now, I could be using internal ips to
interact between dom0 and domU but I wanted to be able to do both.  I'd like
to interact with domU using dom0 via external ip and internal ip so I could
get all the experience.

So what should I do?  I'm guessing I need to make a static ip for eth0 on
dom0, but if I did this, wouldn't eth0 on domU be the same address?  Or do I
need to do some port forwarding, one to dom0 and one to domU, but how can I
if they both have the same internal ips.  I've been reading up different
guides online, but for some reason I can understand this section of
networking.  Could somebody please explain this.
--
View this message in context: http://www.nabble.com/Both-Dom0-and-DomU-have-the-same-ip-address...-tp16657713p16657713.html
Sent from the Xen - User mailing list archive at Nabble.com.


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

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