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-devel

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

To: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>, Bei Guan <gbtju85@xxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: Qestion about the Xen network?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=2NKswXXz8ZFl7rl1TxHYbWxFqJWx4PVzP68FE6mQ1yc=; b=dbpVp81TjPcGrr9uqFOmRFvwI49EXid9uBuzz6F3rk0EsO/M6322crclvukaF+uJMI cIEnVjyj6PCOvGSLw9/FrCtk7U/EkVY7/0SRA9FRPoHZrwSx/LnJPbKSeqe+UbeuwAIJ p0hE+M9xeOtaZgzsfrwLctM4D82ur0i2K5ZYw=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20101022143251.GB5227@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikju8iBPZ+RTNOnCsOfpCvQwcxi3c0+pHFb_6+F@xxxxxxxxxxxxxx> <20101022143251.GB5227@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


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