Test duplicate gate interface address in local networks
ip -o addr|egrep "L.* inet"| while read t eth t ip t do echo -n "Test duplicate address "${ip%%/*}" via "$eth": " RES=$(arping -D ${ip%%/*} -I $eth -c 1 2>&1) [ $? = 0 ] && echo OK || echo FAIL done
Комментариев нет:
Отправить комментарий