why can't ip address contain 256 in it ?
i have the basic knowledge as ip adress means it is a made of 4 octets.
But i have some basic doubts like below
1) why does it cannot have like 192.168.17.256 in it ..?
2) I have an example here
If i have a small organization and i want to get some public ips for all my systems from my nearest ISP
does he give a specific subnet ..? from here i need to calculate and give ips OR
or he gives a list of ips to use ..?
what is the general procedure ?
iam trying to understand the ip addressing and subnet concepts thorougly , if any body can
give some good tutorial urls it would be great help for me.
thanks in advance
255.255.255.192 number of networks / hosts in it ?
In this case i left with 6 bits
lets think that they gave public ip as 18.104.22.168 and subnet mask as
so 000000 and 111111 cannot use as it would be used for broadcast address .
from here how can i go further like number of networks and the number of hosts calculation?
if iam not wrong the number of host would be like
please correct me if iam going wrong ..
Ip range with the above subnet and IP?
If we consider our ip as 22.214.171.124 as our ip
and subnet mask as 255.255.255.192
then i feel the range of ip we can use is from 126.96.36.199 to 188.8.131.52
and 184.108.40.206 would be network address and 220.127.116.11 would be broadcast address
am i right ..?
total 30 host adress ?
do we have any formula so that i can just cross check that the number of host addresses i got is correct or not ?
calculating the subnet mask ?
if we take the above case then
Of course, you can put a router in at any time and make your own private network, e.g. using 192.168.0.1 with 255.255.255.0 for subnet, which gives you another 254 usable addresses.
first broadcast address
~mask would be 0.0.0.255
now ~mask | ip will be 192.168.0.255
now for network address mask && ip is 192.168.0.1
total from 2 to 254 which are 254 usable addresses
Now my dobut is if i have ip like 192.168.68.0 and i need calculate the subnetmask in such a way that i can only give ony 10 usable ips any shortcuts
like above ..?
The trick to find out network mask?
It would depend on the requirement in terms of 2,4, ....
if you need to give four in a class c ips then 255.255.255.252 would be the subnet mask
am i right ..?