zoukankan      html  css  js  c++  java
  • [2016-06-28]dhclient命令的进程没杀死,导致不断在向DHCP服务器获取IP

    # Date:2016-06-28

    # 问题:主机的配置文件/etc/sysconfig/network-scripts/ifcfg-eth0 已经配置好了静态的IP。

                  但隔几分钟主机的IP就自己变化了...

    # 解决:

    查看日志/var/log/messages

             

    发现主机总是在获得DHCP分配的地址......

    查看进程:

    [root@localhost 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

    好吧...kill掉...

    [root@localhost network-scripts]# kill  -9  4857

  • 相关阅读:
    ACM学习
    吴翼大神
    心急的C小加(两种解法)
    万圣节派对(水题)
    poj 1163 The Triangle
    POJ 1088滑雪
    1690 开关灯
    908. 校园网
    STL之stack栈
    1163 访问艺术馆
  • 原文地址:https://www.cnblogs.com/snsdzjlz320/p/5622539.html
Copyright © 2011-2022 走看看