var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Centos automatically changing from static to DHCP
So, atleast every week on the same day, my server resets it's IP address in eth0 from static to dhcp.. causing my server to become unresponsive to pinging, i have to contact the datacenter to get them to go in via local console and change the ip address and power cycle the server... which obviously causes heaps of downtime for our customers.
I initally thought it was a cronjob, but i've looked and cannot find much.
Could this be a faulty nic?
Try disabling and stop the network manager service.
Hello, Thanks for the response.. NetworkManager is already disabled..
what do you have in that file?
Yes, sounds correct (bootproto=none).
How about uninstalling the dhcp client?
[email protected] ~]# service dhcpd status
dhcpd (pid 19209) is running...
[ [email protected] ~]# service dhcpd stop
Shutting down dhcpd: [ OK ]
[ [email protected] ~]# chkconfig dhcpd off
Seems it was running... lets see how this goes.
dhcpd is dhcp Server. You need to remove the dhcp client, not server.
yum remove dhcp
But if you don't need the dhcp server you could remove that too.
Ah i see my bad, anyway, i removed both of them dhcp and dhpcd, hopefully this sorts it.. been a real pain to say the least.
Thanks for the advice.
BOOTPROTO should be set to "static"
Originally Posted by
Any idea why it keeps changing? pretty sure the guys at the DC changed that..
AFAIK 'none' is the documented setting for static, although 'static' works as well. This has nothing to do with the issue at hand... it's probably the fact that dhcpcd was running.
Fast Serv Networks, LLC | AS29889 | Fully Managed Cloud, Streaming, Dedicated Servers, Colo by-the-U
Since 2003 - Ashburn VA + San Diego CA Datacenters
By jonessc in forum Employment / Job Offers
Last Post: 07-25-2010, 01:59 PM
By r0kawa in forum VPS Hosting
Last Post: 11-20-2008, 04:55 AM
By N8Webs in forum Web Design and Content
Last Post: 12-28-2005, 01:29 AM
By VolkNet in forum Programming Discussion
Last Post: 02-02-2005, 12:18 AM
By l45tor in forum Programming Discussion
Last Post: 01-10-2003, 07:05 AM