netmask Questions

7

Solved

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 start address of this network, that means using the &-operator on both addres...
Adenoidectomy asked 15/3, 2013 at 10:3

4

Solved

Example: I have this netmask: 255.255.255.0 Is there, in bash, a command or a simple script to convert my netmask in notation /24?
Matsumoto asked 18/5, 2018 at 14:27

4

Solved

How can I convert a CIDR prefix to a dotted-quad netmask in Python? For example, if the prefix is 12 I need to return 255.240.0.0.
Alethaalethea asked 28/4, 2014 at 22:9

8

Solved

When a IP-Range is written as aaa.bbb.ccc.ddd/netmask (CIDR Notation) I need to calculate the first and the last included ip address in this range with C#. Example: Input: 192.168.0.1/25 Result:...
Mcroberts asked 24/9, 2009 at 10:8

1

Solved

I have a small piece of code that converts a 32-bit unsigned integer (ie: uint32_t) into a set of four 8-bit fields, treats it like an IP address, and then reports to the client if it falls within ...
Ecclesiastes asked 25/6, 2015 at 2:27

3

Solved

Is there a way to calculate a CIDR given a Sub net mask using any Java lib/function/trick?? I have been looking for a while and all I can find is from CIDR -> Netmask and I need it the other way...
Chemash asked 23/10, 2013 at 1:52

3

Solved

I've run into a known bug with Java 6 on Windows. My understanding is that the normal way to get the netmask is to look up the network prefix length and do some bit shifts. The problem is that on W...
Prospect asked 15/2, 2012 at 19:3
1

© 2022 - 2024 — McMap. All rights reserved.