diff --git a/creationRoutesVM.sh b/creationRoutesVM.sh index 65916ce..b1b9f02 100755 --- a/creationRoutesVM.sh +++ b/creationRoutesVM.sh @@ -241,14 +241,14 @@ for ID_RANGE_V6 in ${ID_RANGES_V6}; do fi GW_IPv6="fe80::204:92:100:1" + + # Send ICMP to update ARP/NDP cache + send-icmp.py ${MAC} ${IFACE} ${VM_IPV4} ${GW_IPv4} ${VM_NH} ${GW_IPv6} & else # En cas d'echec, on continue de parcourir les autres RANGES echo "Valeur vide ou ne correspond pas à un range IPV6" fi done -# Send ICMP to update ARP/NDP cache -send-icmp.py ${MAC} ${IFACE} ${VM_IPV4} ${GW_IPv4} ${VM_NH} ${GW_IPv6} - write_log INFO 'Script ended' exit 0