Hi ! I have install the xen4+centos5 on my server following the post of the kernel version is 2.6.32.27 which is download from git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git But after I reboot the server ,and run the "ifconfig", whose output likes the following [root@localhost scripts]# ifconfig eth0 Link encap:Ethernet HWaddr 00:15:C5:EB:96:C3 inet addr:192.168.1.72 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::215:c5ff:feeb:96c3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17897 errors:0 dropped:0 overruns:0 frame:0 TX packets:17091 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2009054 (1.9 MiB) TX bytes:3375426 (3.2 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:8898 errors:0 dropped:0 overruns:0 frame:0 TX packets:8898 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3501148 (3.3 MiB) TX bytes:3501148 (3.3 MiB) peth0 Link encap:Ethernet HWaddr 00:15:C5:EB:96:C3 inet6 addr: fe80::215:c5ff:feeb:96c3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17904 errors:0 dropped:0 overruns:0 frame:0 TX packets:17242 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2363666 (2.2 MiB) TX bytes:3459069 (3.2 MiB) Interrupt:16 Memory:f8000000-f8012800 virbr0 Link encap:Ethernet HWaddr 26:70:02:2E:12:AD inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:2714 (2.6 KiB) and the output of "brctl show " is: bridge name bridge id STP enabled interfaces eth0 8000.0015c5eb96c3 no peth0 virbr0 8000.000000000000 yes and the output of "xm list" is [root@localhost scripts]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 512 4 r----- 1900.3 the libvirtd''s version is 0.8.4 I cannot find the network bridge "xenbr0" and "vif0" , so Did anyone have met such problem? Please do me a favour! Thank you very much! Chqiu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Guido Hecken
2011-Jan-26 12:50 UTC
AW: [Xen-users] missing vif.0 port after install xen4+centos5
Hi, I think the standard bridge in xen 4.x is now called "eth0". Guido ________________________________ Von: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Chu Qiu Gesendet: Mittwoch, 26. Januar 2011 13:40 An: xen-users@lists.xensource.com Betreff: [Xen-users] missing vif.0 port after install xen4+centos5 Hi ! I have install the xen4+centos5 on my server following the post of the kernel version is 2.6.32.27 which is download from git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git But after I reboot the server ,and run the "ifconfig", whose output likes the following [root@localhost scripts]# ifconfig eth0 Link encap:Ethernet HWaddr 00:15:C5:EB:96:C3 inet addr:192.168.1.72 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::215:c5ff:feeb:96c3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17897 errors:0 dropped:0 overruns:0 frame:0 TX packets:17091 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2009054 (1.9 MiB) TX bytes:3375426 (3.2 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:8898 errors:0 dropped:0 overruns:0 frame:0 TX packets:8898 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3501148 (3.3 MiB) TX bytes:3501148 (3.3 MiB) peth0 Link encap:Ethernet HWaddr 00:15:C5:EB:96:C3 inet6 addr: fe80::215:c5ff:feeb:96c3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17904 errors:0 dropped:0 overruns:0 frame:0 TX packets:17242 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2363666 (2.2 MiB) TX bytes:3459069 (3.2 MiB) Interrupt:16 Memory:f8000000-f8012800 virbr0 Link encap:Ethernet HWaddr 26:70:02:2E:12:AD inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:2714 (2.6 KiB) and the output of "brctl show " is: bridge name bridge id STP enabled interfaces eth0 8000.0015c5eb96c3 no peth0 virbr0 8000.000000000000 yes and the output of "xm list" is [root@localhost scripts]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 512 4 r----- 1900.3 the libvirtd''s version is 0.8.4 I cannot find the network bridge "xenbr0" and "vif0" , so Did anyone have met such problem? Please do me a favour! Thank you very much! Chqiu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Chu Qiu
2011-Jan-26 12:55 UTC
答复: [Xen-users] missing vif.0 port after install xen4+centos5
Hi, Thank firstly so where the vif0.0? Is the output of “brctl show ” correct? bridge name bridge id STP enabled interfaces eth0 8000.0015c5eb96c3 no peth0 virbr0 8000.000000000000 yes 发件人: Guido Hecken [mailto:guido.hecken@gwsnettech.de] 发送时间: 2011年1月26日 20:50 收件人: Chu Qiu; xen-users@lists.xensource.com 主题: AW: [Xen-users] missing vif.0 port after install xen4+centos5 Hi, I think the standard bridge in xen 4.x is now called "eth0". Guido _____ Von: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] Im Auftrag von Chu Qiu Gesendet: Mittwoch, 26. Januar 2011 13:40 An: xen-users@lists.xensource.com Betreff: [Xen-users] missing vif.0 port after install xen4+centos5 Hi ! I have install the xen4+centos5 on my server following the post of the kernel version is 2.6.32.27 which is download from git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git But after I reboot the server ,and run the “ifconfig”, whose output likes the following [root@localhost scripts]# ifconfig eth0 Link encap:Ethernet HWaddr 00:15:C5:EB:96:C3 inet addr:192.168.1.72 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::215:c5ff:feeb:96c3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17897 errors:0 dropped:0 overruns:0 frame:0 TX packets:17091 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2009054 (1.9 MiB) TX bytes:3375426 (3.2 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:8898 errors:0 dropped:0 overruns:0 frame:0 TX packets:8898 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3501148 (3.3 MiB) TX bytes:3501148 (3.3 MiB) peth0 Link encap:Ethernet HWaddr 00:15:C5:EB:96:C3 inet6 addr: fe80::215:c5ff:feeb:96c3/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:17904 errors:0 dropped:0 overruns:0 frame:0 TX packets:17242 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2363666 (2.2 MiB) TX bytes:3459069 (3.2 MiB) Interrupt:16 Memory:f8000000-f8012800 virbr0 Link encap:Ethernet HWaddr 26:70:02:2E:12:AD inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:2714 (2.6 KiB) and the output of “brctl show ” is: bridge name bridge id STP enabled interfaces eth0 8000.0015c5eb96c3 no peth0 virbr0 8000.000000000000 yes and the output of “xm list” is [root@localhost scripts]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 512 4 r----- 1900.3 the libvirtd’s version is 0.8.4 I cannot find the network bridge “xenbr0” and “vif0” , so Did anyone have met such problem? Please do me a favour! Thank you very much! Chqiu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Jan-26 14:09 UTC
Re: 答复: [Xen-users] missing vif.0 port after install xen4+centos5
2011/1/26 Chu Qiu <chqiu@cuc.edu.cn>:> Hi, Thank firstly > > so where the vif0.0?Nowhere. You don''t need it anyway.> > Is the output of “brctl show ” correct? > > > > bridge name bridge id STP enabled interfaces > > eth0 8000.0015c5eb96c3 no peth0 > > virbr0 8000.000000000000 yes >Yup. The default network-bridge setup in older versions of Xen use xenbr0 as bridge name, creates vif0.x and vethx (by using netloop module), renames eth0 to peth0, and renames veth0 to eth0. Newer network-bridge setup simply uses eth0 as bridge name, not needing vif0.x and vethx anymore. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users