中科院云平台架构师,专注于数字化、智能化,技术方向:云、Linux内核、AI、MES/ERP/CRM/OA、物联网、传感器、大数据、ML、微服务。
分类: LINUX
2016-03-16 11:24:49
#eth0 active
eth1 passive
开启:
ipwatchd -c /usr/local/etc/ipwatchd.conf
这样ipwatchd就作为守护进程跑在了后台,如果发生了IP地址冲突,则在/var/log/message中会看到类似下边的信息:
Oct 21 17:22:15 test-vm IPwatchD[31094]: IPwatchD started
Oct 21 17:23:12 test-vm IPwatchD[31094]: MAC address 0:12:4b:d3:dd:a6
causes IP conflict with address 212.12.36.12 set on interface eth1 -
passive mode - reply not sent
Oct 21 17:23:12 test-vm IPwatchD[31094]: MAC address 0:12:4b:d3:dd:a6
causes IP conflict with address 212.12.36.12 set on interface eth1 -
passive mode - reply not sent
Oct 21 17:23:13 test-vm IPwatchD[31094]: MAC address 0:12:4b:d3:dd:a6
causes IP conflict with address 212.12.36.121 set on interface eth1 -
passive mode - reply not sent