hxkhust
2011-Nov-01 02:37 UTC
[Xen-users] Re: Re: I have no xenbr0 and peth0 with bridge-utils package
Fajar, Thanks for your proposal. because I plan to make some development in the xen source codes,I cannot use distro-bundled Xen and have to compile them by myself. I install xen on CentOS 6.0 .When i try to set up xend ,there is something wrong happening.The following is about the outcome of some commands(including "brctl show")just after opening the gnome-terminal. [root@localhost ~]# brctl show bridge name bridge id STP enabled interfaces [root@localhost ~]# service xencommons start Starting xenstored... Setting domain 0 name... Starting xenconsoled... [root@localhost ~]# service xend start RTNETLINK answers: Device or resource busy [root@localhost ~]# service xendomains start [root@localhost ~]# brctl show bridge name bridge id STP enabled interfaces tmpbridge 8000.000000000000 no [root@localhost ~]# I can do nothing about this and this problem have influence on vms' creation.Help please. ********************************************************************************************************************** //The words below are previous.> Dear list members, > > I have a problem when i finish installing the xen 4.1.2 and linux kernel > 3.0.4. > > After I start the services of xencommons,xend and xendomains, I cannot find > the xenbr0 and peth0 using the command 'ifconfig'.Meanwhile new vms cannot > be set up normally. I confirm that i have installed the package of > bridge-utils and the line "(network-script network-bridge)" in > xend-config.sxp is without the beginning of "#". > > This problem is important to me and i have taken a lot of time on it. > I need your advice.please help me.Short answer: don't bother. Just use distro-bundled Xen, and if there's a problem people using the same distro can help you. Long answer: Newer version of Xen won't have xenbr0. This is normal. The bridge will be eth0 (or whatever your primary network device is). What is the output of "brctl show"? Also, the current recommended way to setup bridge is to use your distro's mechanism (e.g. /etc/network/interfaces, /etc/sysconfig/network-scripts/*), so you shouldn't use network-bridge script. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Nov-01 03:07 UTC
[Xen-users] Re: Re: I have no xenbr0 and peth0 with bridge-utils package
2011/11/1 hxkhust <hxkhust@126.com>:> [root@localhost ~]# brctl show > bridge name bridge id STP enabled interfaces > [root@localhost ~]# service xencommons start > Starting xenstored... > Setting domain 0 name... > Starting xenconsoled... > [root@localhost ~]# service xend start > RTNETLINK answers: Device or resource busySomething''s wrong there.> [root@localhost ~]# service xendomains start > [root@localhost ~]# brctl show > bridge name bridge id STP enabled interfaces > tmpbridge 8000.000000000000 noYou can try to look at network-bridge script and figure out what''s wrong, but IMHO it''s better to just create bridges using OS config files in RHEL6. An example for KVM (which should also work on xen): http://www.techotopia.com/index.php/Creating_an_RHEL_6_KVM_Networked_Bridge_Interface . In that example the bridge name is bridge0, but you can change it to whatever you want (including xenbr0). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hxkhust
2011-Nov-03 03:37 UTC
[Xen-users] Re:Re:Re: Re: I have no xenbr0 and peth0 with bridge-utils package
Thank you for your help. /etc/xen/scripts/network-bridge hasn't been changed since the xen source package is extracted.Someone else install xen successfully without changing that script ,according to my observation.Is there something wrong with my network device?Or my network driver doesn't support my network device well?(When the error happen after "launching service xend start", my network connection is also broken.) hxk At 2011-11-01 11:07:13,"Fajar A. Nugraha" <list@fajar.net> wrote:>2011/11/1 hxkhust <hxkhust@126.com>: >> [root@localhost ~]# brctl show >> bridge name bridge id STP enabled interfaces >> [root@localhost ~]# service xencommons start >> Starting xenstored... >> Setting domain 0 name... >> Starting xenconsoled... >> [root@localhost ~]# service xend start >> RTNETLINK answers: Device or resource busy > >Something's wrong there. > >> [root@localhost ~]# service xendomains start >> [root@localhost ~]# brctl show >> bridge name bridge id STP enabled interfaces >> tmpbridge 8000.000000000000 no > >You can try to look at network-bridge script and figure out what's >wrong, but IMHO it's better to just create bridges using OS config >files in RHEL6. An example for KVM (which should also work on xen): >http://www.techotopia.com/index.php/Creating_an_RHEL_6_KVM_Networked_Bridge_Interface >. In that example the bridge name is bridge0, but you can change it to >whatever you want (including xenbr0). > >-- >Fajar_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Flavio
2011-Nov-03 08:36 UTC
Re: [Xen-users] Re:Re:Re: Re: I have no xenbr0 and peth0 with bridge-utils package
2011/11/3 hxkhust <hxkhust@126.com>:> Thank you for your help. > /etc/xen/scripts/network-bridge hasn''t been changed since the xen source > package is extracted.Someone else install xen successfully without changing > that script ,according to my observation.Is there something wrong with my > network device?Or my network driver doesn''t support my network device > well?(When the error happen after "launching service xend start", my network > connection is also broken.) > hxkBy the way, if you stop using xend and you migrate to the new XL toolstack, the network-bridge script is no longer needed. -- Flavio _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hxkhust
2011-Nov-08 03:31 UTC
Re:Re: [Xen-users] Re:Re:Re: Re: I have no xenbr0 and peth0 with bridge-utils package
oh,yeah~Before i set up the service of xend ,i ifdown the eth0 then everthing is OK.That''s weird... hxk At 2011-11-03 16:36:15,Flavio <fbcyborg@gmail.com> wrote:>2011/11/3 hxkhust <hxkhust@126.com>: >> Thank you for your help. >> /etc/xen/scripts/network-bridge hasn''t been changed since the xen source >> package is extracted.Someone else install xen successfully without changing >> that script ,according to my observation.Is there something wrong with my >> network device?Or my network driver doesn''t support my network device >> well?(When the error happen after "launching service xend start", my network >> connection is also broken.) >> hxk >By the way, if you stop using xend and you migrate to the new XL toolstack, the >network-bridge script is no longer needed. > >-- >Flavio_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users