python - Check if IP is in list of IPNetworks using netaddr -
If I have many problems without statements I
pseudo code: < pre> Does anyone know that this is the correct way to use IPadresser and IP networkwork from NetAdractor? You can use the Google from the command line ips = [... list of approximately 1000 IP] cidr_list = ['192.168.10.0/24', '10.10.10.0 / 24 for IP in IP ',' 192.168.3.0/ 24 ']: If the IP is cidr_list: Print IP
ipaddr package for this < pre>
pipe installation ipaddr
Comments
Post a Comment