add checks for {ip,ip6}addr in the network config