Generate a random IP address with Bash by jon207 May 3, 2018 echo $((RANDOM%256)).$((RANDOM%256)).$((RANDOM%256)).$((RANDOM%256))