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

Re: [Xen-users] Both Dom0 and DomU have the same ip address...


  • To: trist007 <drakoth777@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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