Davidson Rodrigues Paulo
2008-Jan-19 11:34 UTC
[Xen-users] eth0 disabled when xend starts up
Hi, I was using xend 3.0.3 on CentOS 5 so I decided upgrade it to 3.1.2. Before the update, I was using the following network configuration: (network-script ''network-bridge'') (vif-script ''vif-bridge'') Where bridge''s name was ''xenbr0'' and netdev was ''eth0''. After I upgraded xen, eth0 was disabled when xend was started. Running ''service network restart'' enabled it up again. So, I changed my xend-config.sxp as follows: (network-script ''network-bridge netdev=eth0'' So my pain started. When xend starts, eth0 was totally removed from system, which can''t detect it anymore, even stopping xend and running ''service network restart''. Moreover, xend created a tmpbridge which assumed the IP address previosly used by eth0, but the network can''t be reached. Analising /etc/xen/scripts/network-bridge I''ve found the correct way to configure a bridge to use with Xen: # /etc/xen/scripts/network-bridge start netdev=eth0 bridge=eth0 Running that command creates a peth0 interface and a eth0 bridge, the IP previously used by eth0 is preserved and the network can be reached. Changing ''start'' by ''stop'' the network configuration is restored for it''s defaults, all fine. So I''ve changed xend-config.sxp: (network-script ''network-bridge netdev=eth0 bridge=eth0'') (vif-script ''vif-bridge bridge=eth0'') So, I''ve started xend and for my surprise I got the same result, that is, a xenbr0 and a tmpbridge bridges, a disabled eth0 and a network out of reach. It''s the second time I face this type of problem. On the first time I was using Fedora 8, I was with no patience so I have just reinstalled the system, but I hated to do that, I want to know how to fix this problem. If you can help me in any form, I thank you. Regards, -- Davidson Paulo http://fedoraproject.org/wiki/DavidsonPaulo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Davidson Rodrigues Paulo
2008-Jan-20 02:00 UTC
Fwd: [Xen-users] eth0 disabled when xend starts up
---------- Forwarded message ---------- From: Davidson Rodrigues Paulo <davidsonpaulo@gmail.com> Date: 19/01/2008 21:44 Subject: Re: [Xen-users] eth0 disabled when xend starts up To: deshantm@gmail.com 2008/1/19, Todd Deshane <deshantm@gmail.com>:> Sometimes Network-Manager causes some problems when working with Xen did you > try removing it and manually configuring your network card?I''ve found the solution in a previous post in this list. I just changed ONBOOT parameter from "yes" to "no" in /etc/sysconfig/network-scripts/ifcfg-eth0 configuration file, what disable eth0 startup at boot time. When xend starts up, it configure the bridge and so brings up eth0 accordingly with the configuration found in ifcfg-eth0. Thanks, Davidson Paulo http://fedoraproject.org/wiki/DavidsonPaulo _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users