02-13-2006 08:51 AM - edited 03-03-2019 01:48 AM
If i have a subnet of say 192.168.1.0
255.255.255.252, am I correct in saying you cant use 192.168.1.4 , 192.168.1.8 and so on as these will be the networks ?
thanks
02-13-2006 09:21 AM
Correct Carl,
With the subnet of 255.255.255.252 your subnets will be in incriments of 4.
192.168.1.0, 192.168.1.4, 192.168.1.8, 192.168.1.12 and so on.
Those will be your "wire address" or network address and can't be used for hosts.
So for the network 192.168.1.0 your valid hosts ip's will be 192.168.1.1 and 192.168.1.2. Your broadcast address will be 192.168.1.3 for the 192.168.1.0 /30 address block.
For the network 192.168.1.4, your valid ip's will be 192.168.0.5 and .6 with a broadcast address of 192.168.1.7. And so on for the other subnets
Hope this helps and please rate.
Scott
02-13-2006 09:24 AM
Hi Carl,
Yes, you are correct. With a 30 bit mask, you will wind up with 2 usable addresses, a subnet address, and a broadcast address.
For network 192.168.1.0/30 you get:
192.168.1.0 (network address)
192.168.1.1 (usable IP)
192.168.1.2 (usable IP)
192.168.1.3 (broadcast)
192.168.1.4 (network address)
...
and so on.
HTH,
Bobby
Please rate post if helpful!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide