T159 said:Its a network address but can i use it as a host address, in other words can i assign 192.168.0.0 to my PC.
If yes then whats the advantage ?
No, you can't in most cases, but there are some exceptions!T159 said:Its a network address but can i use it as a host address, in other words can i assign 192.168.0.0 to my PC.
If yes then whats the advantage ?
Zeeshan Quireshi said:No, you can't in most cases, but there are some exceptions!
Also , there's no advantage in having this IP address , it's as normal as any IP address in a network .
mediator said:Where did u read that?
SE><IE said:Lets go to the basics. A 192.168.0.0 in binary is 11000000.10101000.00000000.00000000
Since last 20 bits are all 0 you must use a mask which covers 4 bits maximum of the second octet. i.e., you can use only 128, 192, 224 or 240 in the second octet.
Hope you got it
edit:
Oh! BTW, remmeber you can put the value of a bit in a subnet mask as 1 only if all bits on its left are also 1. So the valid values are 128, 192, 224,240, 248, 252, 254, 255
SE><IE said:ma bad, its 19 actually. Anyway, the point is that there must be atleast one bit in the IP that is not masked. If you use 248 then we get
11000000.10101000.00000000.00000000 << IP
11111111.11111000.00000000.00000000 << Mask
Clearly there's just no bit that stands apart hence you can use only 240 as max value for second octet.
Hope this makes it clear