Hi, I have a CentOS server with 4 CentOS domU''s, of which I rebooted the one domU and now this particular domU''s eth0 device is missing. The other 3 domU''s eth0 devices still work fine. I then rebooted the host server to see if there''s anything weird going on, but this particular domU, which was working fine before the reboot, still doesn''t have a working domU. The other 3 domU''s networking is still working fine. Does anyone know what exactly could cause this, or how to fix it? I''ve googled this a bit and the results I got all suggest I need to install a bridge, which is already installed and working. Any suggestions, or pointers would be appreciated. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Cell: 082 554 7532 Fax: 086 268 8492 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
El 21/01/13 15:38, Rudi Ahlers escribió:> I have a CentOS server with 4 CentOS domU''s, of which I rebooted the one > domU and now this particular domU''s eth0 device is missing.Does really missing (not shown by "ifconfig -a") or maybe it''s name has changed.> The other 3 domU''s eth0 devices still work fine.The missing one, is it the only eth interface within that DomU? (...and you happen to have others DomUs with their own eth''s). Or this DomU have more ethernet interfaces, which works fine? Does the problematic DomU even boots?> Does anyone know what exactly could cause this, or how to fix it?Under some conditions, the interface within DomU might have changed it''s name. Can you please post your DomU config file contents, from Dom0? And "ifconfig -a" output from your DomU. -- Alexandre Kouznetsov
On Mon, 2013-01-21 at 23:38 +0200, Rudi Ahlers wrote:> Hi, > > > I have a CentOS server with 4 CentOS domU''s, of which I rebooted the > one domU and now this particular domU''s eth0 device is missing. > >I don''t know if this is your problem, but CentOS guests do really weird things with the network configuration. Check the guest in /etc/sysconfig/network-scripts and make sure that the ifcfg-eth0 file still has the correct information in it. I''ve had mine (seemingly) randomly switch back to default DHCP from a fixed IP configuration. This happens often enough that all my guests have a ifcfg-eth0.bak file so that I can easily copy back the old configuration when this happens. I have never seen this happen with a native CentOS, only when CentOS is a Xen guest. If anyone knows why that happens, I would love to know as it is a major annoyance. --Greg
On Tue, Jan 22, 2013 at 5:14 PM, Greg Woods <woods@ucar.edu> wrote:> On Mon, 2013-01-21 at 23:38 +0200, Rudi Ahlers wrote: > > Hi, > > > > > > I have a CentOS server with 4 CentOS domU''s, of which I rebooted the > > one domU and now this particular domU''s eth0 device is missing. > > > > > I don''t know if this is your problem, but CentOS guests do really weird > things with the network configuration. Check the guest > in /etc/sysconfig/network-scripts and make sure that the ifcfg-eth0 file > still has the correct information in it. I''ve had mine (seemingly) > randomly switch back to default DHCP from a fixed IP configuration. This > happens often enough that all my guests have a ifcfg-eth0.bak file so > that I can easily copy back the old configuration when this happens. > > I have never seen this happen with a native CentOS, only when CentOS is > a Xen guest. If anyone knows why that happens, I would love to know as > it is a major annoyance. > > --Greg > > >Thanx Greg, This didn''t happen in my case. There was just no eth0 / eth1 device at all, even though the XEN .cfg file had the vif line in. I rebooted the server since it didn''t want to automatically increase the RAM, and after that there was no network interface. I downloaded the latest kernel rpm and installed that, thinking the kernel was corrupt or something but that didn''t even help. At the end of the day I ended having to create a new domU and copy the website and MySQL data across manually. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Cell: 082 554 7532 Fax: 086 268 8492 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
> Thanx Greg, > > This didn''t happen in my case. There was just no eth0 / eth1 device at > all, even though the XEN .cfg file had the vif line in. I rebooted the > server since it didn''t want to automatically increase the RAM, and > after that there was no network interface. > > I downloaded the latest kernel rpm and installed that, thinking the > kernel was corrupt or something but that didn''t even help. At the end > of the day I ended having to create a new domU and copy the website > and MySQL data across manually. > > > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Cell: 082 554 7532 > Fax: 086 268 8492 > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-usersHi Rudi, Are you setting a MAC address in the vif line of the config? If you aren''t, I would suggest adding it and ensuring ifcfg-eth0.cfg contains that HWADDR. Tait _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Tue, Jan 22, 2013 at 5:30 PM, Tait Clarridge <tait@taiter.com> wrote:> > Thanx Greg, > > This didn''t happen in my case. There was just no eth0 / eth1 device at > all, even though the XEN .cfg file had the vif line in. I rebooted the > server since it didn''t want to automatically increase the RAM, and after > that there was no network interface. > > I downloaded the latest kernel rpm and installed that, thinking the kernel > was corrupt or something but that didn''t even help. At the end of the day I > ended having to create a new domU and copy the website and MySQL data > across manually. > > > > -- > Kind Regards > Rudi Ahlers > SoftDux > > Website: http://www.SoftDux.com > Technical Blog: http://Blog.SoftDux.com > Cell: 082 554 7532 > Fax: 086 268 8492 > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users > > > Hi Rudi, > > Are you setting a MAC address in the vif line of the config? > If you aren''t, I would suggest adding it and ensuring ifcfg-eth0.cfg > contains that HWADDR. > > > Tait > > _______________________________________________ > >Hi Tait, Yes the config file had the MAC address and the ifconfig-eth0 file had a HWADDR as well. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Cell: 082 554 7532 Fax: 086 268 8492 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users