Question : redhat released static ip


We have a Linux Redhat Server with static IP's configured on the nics... this morning we experienced complete loss of connectivity with the following messages in the logs.  not sure why the dhcp client servicer released the ip's.

Jul 15 07:31:57  dhclient: Internet Systems Consortium DHCP Client V3.0.5-RedHat
Jul 15 07:31:57  dhclient: Copyright 2004-2006 Internet Systems Consortium.
Jul 15 07:31:57  dhclient: All rights reserved.
Jul 15 07:31:57  dhclient: For info, please visit
Jul 15 07:31:57 dhclient:
Jul 15 07:31:58  avahi-daemon[9774]: Withdrawing address record for on bond0.
Jul 15 07:31:58  avahi-daemon[9774]: Leaving mDNS multicast group on interface bond0.IPv4 with address
Jul 15 07:31:58  avahi-daemon[9774]: iface.c: interface_mdns_mcast_join() called but no local address available.

Answer : redhat released static ip

the output in the /var/log/messages is what you get when you run
[root#Server]# dhclient
from the command line.The command line hangs if you are connected via ssh,because it connects to DHCP server.But why was this done?It probably is not in some kind of monthly script,because it would have been launched earlier,and you say that this is running for 80 days.
Have you checked /var/spool/root directory for custom made crons?
Have you checked command line history?Other than root,which account has bash login enabled?You might see those account in /etc/passwd,log as them and check command line history,to see if it contains dhclient.
There might be some kind of startup or init.d script that runs dhclient. In that case, it has to be somewhere in /etc directory. You can launch a full-text search of /etc/ directorywith:
cd /etc
grep -lir "dhclient" *
...and wait....
...and wait...
...and eventually the names of files (if any) containing the text "dhclient" will pop out. I hope it will,because if it doesn't,that means somebody has messed up with your server.Services don't start by themself in Linux...

Random Solutions  
programming4us programming4us