[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:15:22 +0800
  • Cc:
  • Delivery-date: Fri, 22 Oct 2010 08:16:22 -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=YXVC+ceGmKHNmZe4RNqnxwUD4iRFDoIG6kHyg4g+/GLJhM1C39vYaYwOd9chlD+VkX y1ohWvpJOciDOMAtBTbkHpxnG8QsSSJ5/YYKVW9K3aHNFkjBURHJ3NA4YLq4YxxSgI4Q 9tBkDu2Vfk1+0h/ObZB3RsmyCs8+jgeYchUR0=
  • 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:25:02 +0800, a écrit :
> What's the relationship between the eth0 and peth0? Which is my real
> network device card?

That's what you missed in the scheme: the xen scripts rename your real
network device card into peth0, and puts it into a bridge called eth0.
So you need to use the bridge called "eth0" in your PV scripts.

I update the Ubuntu's network configuration as
vif = ['bridge=eth0']

And after the Ubuntu booting, I set its IP as 192.168.1.20
However, I can access to the outside network.

root@ubuntu:~/test1# ping 61.135.169.125
connect: Network is unreachable

root@ubuntu:~/test1# ping 192.168.1.166
PING 192.168.1.166 (192.168.1.166) 56(84) bytes of data.
>From 192.168.1.129 icmp_seq=1 Destination Host Prohibited
From 192.168.1.129 icmp_seq=2 Destination Host Prohibited
From 192.168.1.129 icmp_seq=3 Destination Host Prohibited
From 192.168.1.129 icmp_seq=4 Destination Host Prohibited

But if PV use the virbr0 bridge, it can access to outside network successfully with IP 192.168.122.187.





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®.