All of lore.kernel.org
 help / color / mirror / Atom feed
* Qestion about the Xen network?
@ 2010-10-22 14:25 Bei Guan
  2010-10-22 14:32 ` Samuel Thibault
  2010-10-22 14:56 ` Bei Guan
  0 siblings, 2 replies; 14+ messages in thread
From: Bei Guan @ 2010-10-22 14:25 UTC (permalink / raw)
  To: Xen Devel, Samuel Thibault


[-- Attachment #1.1: Type: text/plain, Size: 3595 bytes --]

Hi,

I feel confused to the xen network.
My Dom0 is fefora8 and xen is 4.0.0. My xend network configuration is
bridge. The network in the pv (which is ubuntu) configuration is like this

vif = ['bridge=virbr0']

When I start the PV, I use the command brctl to see all the bridges in my
computer. The output as following.

[root@localhost ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
eth0            8000.0024e839fa54       no              peth0
virbr0           8000.feffffffffff            no              vif1.0

So the interface vif1.0 is PV's backend network device. And vif1.0 can
access to the internet through bridge virbr0. According the description of
xen bridge in xend configuration file, which is list here, *virbr0 is the
bridge. Is it right? *

*Does the bridge virbr0 connect to outside internet through eth0? What's the
relationship between the eth0 and peth0? Which is my real network device
card? And what's role of the other one?*


(the description of xen bridge in xend configuration file)
# To bridge network traffic, like this:
#
# dom0: ----------------- bridge -> real eth0 -> the network
#                            |
# domU: fake eth0 -> vifN.0 -+

(The network interfaces on my computer are as following. )
[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:24:E8:39:FA:54
          inet addr:192.168.1.129  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:e8ff:fe39:fa54/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:421887 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21811 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:82335005 (78.5 MiB)  TX bytes:4166441 (3.9 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1474 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1474 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3466544 (3.3 MiB)  TX bytes:3466544 (3.3 MiB)

peth0     Link encap:Ethernet  HWaddr 00:24:E8:39:FA:54
          inet6 addr: fe80::224:e8ff:fe39:fa54/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:441848 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21849 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:89824688 (85.6 MiB)  TX bytes:4172186 (3.9 MiB)
          Memory:fe6e0000-fe700000

vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:90 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94 errors:0 dropped:4 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:8073 (7.8 KiB)  TX bytes:9696 (9.4 KiB)

virbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:90 errors:0 dropped:0 overruns:0 frame:0
          TX packets:129 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8073 (7.8 KiB)  TX bytes:15177 (14.8 KiB)


Any advice from you is appreciated.
Thank you very much!

Bei Guan

[-- Attachment #1.2: Type: text/html, Size: 3942 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-10-28 13:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-22 14:25 Qestion about the Xen network? Bei Guan
2010-10-22 14:32 ` Samuel Thibault
2010-10-22 15:15   ` Bei Guan
2010-10-28 13:24   ` Bei Guan
2010-10-22 14:56 ` Bei Guan
2010-10-22 15:04   ` Samuel Thibault
2010-10-22 15:26     ` Bei Guan
2010-10-22 15:50       ` Bei Guan
2010-10-22 22:26         ` Paolo Bonzini
2010-10-23 15:27           ` Bei Guan
2010-10-24 13:56             ` Paolo Bonzini
     [not found]         ` <20101023204952.GB24091@const.famille.thibault.fr>
2010-10-25  1:06           ` Bei Guan
     [not found]             ` <20101025010846.GA24091@const.famille.thibault.fr>
2010-10-25  7:08               ` Bei Guan
2010-10-25  8:05                 ` Bei Guan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.