Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After a system crash happened, my connection changes from a Static IP to one obtained DHCP. I have the DHCP server set for anything above 1.105 and 1.100 - 1.104 are set up statically with a couple machines in the house. Now about once a day my connection will drop and then it will pick back up with 1.105 as my IP. According to Network-Setup it's still set as Static and within ifcfg-eth0 it has the IP set and isn't configured for DHCP. It isn't too big of a deal unless I'm downloading something large but it would be nice to fix.
Is what the ifcfg-eth0 states. But, mysteriously about every 12 hours my connection will drop and be picked up with the 192.168.1.105 address which I have set up in the router to be the starting range for DHCP; making 192.168.1.100 - 192.168.1.104 reserved for Static IPs. Sorry for the confusing post last night... I was kind of in a hurry.
I have a similar problem. The ifcfg-eth0 script doesn't seem to be the source of it, as I have it set for BOOTPROTO=none. The elusive dhclient is, however, running, and I am having a hard time trying to find out where/how to turn it off. I did do this, though:
ps ax | grep dhclient
which yielded 2 pids for /sbin/dhclient. So I issued a kill for each of these pids and now it's off.
But what, oh what, makes it turn on? Or off?
This is on an experimental server, not terribly important, but a mystery indeed. It's a headless box so I only communicate with it via ssh or Webmin.
If you or anyone else can shed some light on this, I'd be grateful. I have set it to its static IP several times, only to come back the next day to see it back to a DHCP-assigned address.
An update: it's now the next day. Since I "killed" the dhclient processes as noted above, the address has stayed at the static value that I assigned it.
But I'd still like to know, where is the on-off button(s) for this daemon??? In FC3, that is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.