[The process of the 2016-06-28]dhclient command did not kill, resulting in constant IP access to the DHCP server

Source: Internet
Author: User

# date:2016-06-28

# problem: The configuration file of the host/etc/sysconfig/network-scripts/ifcfg-eth0 has been configured with a static IP.

But every few minutes the host's IP has changed itself ...

Solution

View Log/var/log/messages

Discover that hosts are always getting DHCP-assigned addresses ...

To view a process:

[[Email protected] network-scripts]# PS aux | grep client
Root 4857 0.0 0.0 9116 1008? Ss 08:52 0:00 dhclient eth0
Root 7870 0.0 0.0 103252 840 PTS/7 s+ 10:01 0:00 grep Client

All right ... kill the dead.

[Email protected] network-scripts]# kill-9 4857

[The process of the 2016-06-28]dhclient command did not kill, resulting in constant IP access to the DHCP server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.