How do I convert a string ip, e.g. "1.2.3.4", to an ipaddress.ip_network with netmask "255.255.255.0", e.g. to get ip_network("1.2.3.0/24") using t