IP del mistak

This commit is contained in:
Tristan Le Chanony 2019-11-08 08:22:41 +01:00
parent 0745ab92b5
commit 284744f9ac
1 changed files with 3 additions and 2 deletions

View File

@ -57,10 +57,11 @@ do
done
echo ${LAST_DIGIT_NEW_IP}
info "Setting new IP"
ip -6 addr add ${NEW_IP}/65 dev eth0
ip addr add ${NEW_IP}/65 dev eth0
info "Remove last IP"
ip -6 addr del ${RANGE}:${LAST_DIGIT}/65 dev eth0
#ip addr del 2a01:4f8:161:2269:8000:c01d:c01a:cb06/65 dev eth0
ip addr del ${RANGE}:${LAST_DIGIT}/65 dev eth0
echo ${LAST_DIGIT_NEW_IP} > last_digit.txt