ipv4 generator in bash