|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: Qestion about the Xen network?
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
|
|
|
|
|