D
danieltan
If i have a subnet mask of 255.255.255.192, how many ip can i assign to
this subnet ? Thanks
Rgds
Daniel
this subnet ? Thanks
Rgds
Daniel
255=11111111If i have a subnet mask of 255.255.255.192, how many ip can i assign to
this subnet ? Thanks
Rgds
Daniel
broadcast)David said:255=11111111
254=11111110
252=11111100
248=11111000
240=11110000
224=11100000
192=11000000
128=10000000
0=00000000
so with 255.255.255.192192, 6 bits are available for hosts => 2^(6+1)=64
Your subnet is 64 addresses
You can use all but the first(netaddress) and last(directed
broadcast)David said:255=11111111
254=11111110
252=11111100
248=11111000
240=11110000
224=11100000
192=11000000
128=10000000
0=00000000
so with 255.255.255.192192, 6 bits are available for hosts => 2^(6+1)=64
Your subnet is 64 addresses
You can use all but the first(netaddress) and last(directed
broadcast)David said:255=11111111
254=11111110
252=11111100
248=11111000
240=11110000
224=11100000
192=11000000
128=10000000
0=00000000
so with 255.255.255.192192, 6 bits are available for hosts => 2^(6+1)=64
Your subnet is 64 addresses
You can use all but the first(netaddress) and last(directed
David, how to see the first and the last address ? if 64 add, then it
should be 2^6=64, correct ? can it also be written like this
255.255.255.192/64 ? , so i have 64 IP ? Pls correct me, if i'm wrong,
thanks
Rgds
Daniel
If i have a subnet mask of 255.255.255.192, how many ip can i assign to
this subnet ? Thanks
This is an elegant and easy calculationPhillip said:Let's make this simple: 256 - 192 = 64
So you get 64 hosts.
Substract 1 for Net ID and 1 for Broadcast: 64 - 2 = 62
So you get 62 actual usuable hosts.
David Carlsson said:This is an elegant and easy calculation
KISS (Keep It Simply Stupid)
;-)
chanco2k said:Quite like the way you solved.However I think it is abit confusing.Works in
your case but suppose the subnet mask was 255.192.0.0?. That would not really
work would it?.Unless we say ((256-192)-2)+255+255,Is it?
To get the net-address you take the ip of a host and make a bit-andDavid, how to get the 26 => 192.168.1.64/26 ? is it 26 bits or what ?
Rgds
Daniel
Ex:David, u mean take the host ip and change it to bit ? also with the
netmask change it to bit ? example ?
Regards
Daniel
I'm not quite soure but searching the net i found this:David, so total is 64 IPs to be used starting from 192.168.1.65 to 127
? correct ? btw what is netaddress used for ? Thanks
Rgds
Daniel