A question about CIDR Mask example...
Is this a valid example? and is my thinking correct?
73.19.22.14/17 Code:
11111111.11111111.1/1111111.11111111 Here's the break down for the value of each bit Code:
128 64 32 16 8 4 2 1 127 + 256 = 383 ips - 2 which leaves 381 available IP I reserve 2 IPs for the network ID and broadcast IP. Code:
Network ID: 73.19.22.14 Code:
Network ID: 73.19.22.14 |
Hi,
you'll need not a 17bit mask here but a 23bit mask. Code:
Networkadress: 73.19.22.0/23 I think you confused Quote:
Code:
128*256 - 2 = 32766 IP-adresses Markus |
Can you explain why I would need a 23 bit mask instead of a 17 bit mask?
IP Range: 73.19.22.1 up to 73.19.23.254 That would only be 73.19.22.1 - 73.19.22.254 and 73.19.22.1 - 73.19.23.254, that's only 255 + 254 IP addresses. How can there be 32766 IP-adresses? The CIDR Mask is 73.19.22.14/17 not 73.19.22.0/23. Would 73.19.22.14/17 not be a valid subnet? |
Ah ok I think I understand why I need a 23 bit mask.
So 73.19.22.14/17 is not a valid CIDR because to have a .14 at the end I would only be left with 1 bit for the host Code:
01010011.00010011.00010110.00001110 So yes 73.19.22.0/23 would be a valid CIDR mask Code:
network ID: 73.19.22.0 Am I understanding it better? |
Quote:
Markus |
Quote:
Code:
IP range: 73.19.22.1 - 73.19.23.254 Code:
73.19.22.0/24 and |
My previous question where the IP range: 73.19.22.1 - 73.19.23.254
Code:
So then 73.19.22.255 and 73.19.23.0 are usable IPs? Code:
01001001.00010011.00010110.00000000 |
with a 17bit mask you would have
Code:
network-adress: 73.19.0.0/17 |
Ah ok I see now, that makes sense. So 73.19.22.0/17 is not possible. What confuses me is when the CIDR notation ends in anything other than 0. But I see now how you can find the possibilities given a certain subnet mask.
My previous question where the IP range: 73.19.22.1 - 73.19.23.254 (in this case this range is considered to be on one subnet correct?) Code:
So then 73.19.22.255 and 73.19.23.0 are usable IPs? |
yes, this would be useable IPs.
Markus |
Thank you Markus, you've been very helpful.
|
All times are GMT -5. The time now is 07:33 PM. |