Top "Subnet" questions

A part of the IP address identifying the whole local network (high bits as defined by netmask).

Given the IP and netmask, how can I calculate the network address using bash?

In a bash script I have an IP address like 192.168.1.15 and a netmask like 255.255.0.0. I now want to calculate the …

bash ip subnet netmask
Generate Random IP Address

I want to generate some random IP Address. But evertime this generateIPAddress function returns 0.0.0.0 string as ipAddress. But it should …

java ip subnet
python 3: ipaddr/netaddr modules

I have got to be doing something wrong here... I am at present trying to validate whether an ip is …

python python-3.x subnet cidr
What is VPC, Subnet in AWS

What are AWS VPCs (virtual private clouds)? What practical purposes do they serve? Is it mandatory to launch instances within …

amazon-web-services amazon-vpc subnet
Finding network addresses

Consider a router that interconnects three subnets: Subnet1, Subnet2, and Subnet3. Suppose all of the interfaces in each of these …

ip-address subnet
JavaScript: Is IP In One Of These Subnets?

So I have ~12600 subnets: eg. 123.123.208.0/20 and an IP. I can use a SQLite Database or an array or whatever There …

javascript sql sqlite performance subnet
Java check if IPv4 or IPv6 address is in a given subnet

How can I check if an IP address is in a given subnet? I was able to do this by …

java ipv6 ipv4 subnet
convert cidr to subnet mask in python

I have a python dictionary that I've created, this dictionary contains a list of subnets in the following format: x.…

python ip-address subnet cidr
Granting mysql access rights to all machines on subnet

I have a mysql instance (and schema) running on windows that I can access via a connection string based on …

mysql security database-permissions subnet
Calculate IP range by subnet mask

If I have a subnet mask e.g. 255.255.255.0 and an ip address 192.168.1.5, is there an easy way to determine all …

c# networking ip subnet