script run but don't work

the target IP has /32 at the end… so is not $hostIP but is “$hostIP/32” (with quotes)