Top "Cidr" questions

Classless Inter-Domain Routing, a method for allocating TCP/IP network addresses and routing data packets.

How to calculate IP ranges

Hi would someone be able to assist with the following question? The question is from a past paper in preparation …

networking ip-address ip cidr
Python regex to match IP-address with /CIDR

m = re.findall("\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}",s) How do I modify it so it will match not only IPv4, …

python regex pattern-matching ip-address cidr
Bash - Convert netmask in CIDR notation?

Example: I have this netmask: 255.255.255.0 Is there, in bash, a command or a simple script to convert my netmask in …

bash cidr netmask
How to get first/last IP address of CIDR using ipaddr module

The brute force approach: from ipaddr import IPv4Network n = IPv4Network('10.10.128.0/17') all = list(n.iterhosts()) # will give …

python ip-address cidr
How to compare IP address range in C#?

If I have an IP address range (CIDR notation) and I need to know if some arbitrary IP address is …

c# ipv6 ipv4 cidr
how to convert ipaddress/mask to CIDR using c++?

I have a list of ipaddress/mask which needs to be converted to CIDR notation. for e.g. 12.174.36.240/24 needs to …

c++ ip-address subnet cidr
Is there native .NET type for CIDR subnets?

It's simple enough to code up a class to store/validate something like 192.168.0.0/16, but I was curious if a native …

c# .net ip-address subnet cidr