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

[Xen-devel] Re: Qestion about the Xen network?


  • To: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Bei Guan <gbtju85@xxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Bei Guan <gbtju85@xxxxxxxxx>
  • Date: Fri, 22 Oct 2010 23:26:35 +0800
  • Cc:
  • Delivery-date: Fri, 22 Oct 2010 08:27:29 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bUB9UF4/69A7qMt9ULbsCzG4lFJJfDEnJI2NdHYpJyS8iSGUXcIwXzwEAHRJWmjAPO pSe5KI+/cX2s3QxFbkDwMsPoDkcUOZGmsQc4wd+PRsss02PjPft6UGjHkrZtrvx1EHDi yXM7Dd04ORWbOryeykUoKQSshTHzpyto8DmEs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>



2010/10/22 Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Bei Guan, le Fri 22 Oct 2010 22:56:29 +0800, a écrit :
> root@ubuntu:~/test1# ./server 13
> Server get connection from 192.168.122.1
>
> [root@localhost test1]# ./client 192.168.122.187 13
> agrv[1] = 192.168.122.187
> I have received:Hello! Are You Fine?
>
> I can not understand why the server just print the virbr0' IP address (it is
> xen net bridge) other than Dom0's real IP, 192.168.1.129.

Because that's the IP of the Dom0 interface from which the connection is
made.  It's just the same as in a usual intranet/internet router box.

> What the relationship
> between the two IPs(192.168.1.129 and 192.168.122.1)?

None, except your dom0 has these two addresses.

> If I put server in Dom0 and the client in Ubuntu. The client can not connect to
> the server. However, I can ping Dom0's IP (192.168.1.129) successfully from
> Ubuntu. What's reason?

We can't divine, show your code / iptables configuration / tcpdump
output.  The usual network stuff, actually.

Sorry, you mean the client and server code? The iptables configurations of all the Ubuntu PV and Dom0?


 

Samuel

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

 


Rackspace

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