cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
220
Views
0
Helpful
2
Replies

subnets

carl_townshend
Spotlight
Spotlight

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

2 Replies 2

sevans1979
Level 4
Level 4

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

Bobby Thekkekandam
Cisco Employee
Cisco Employee

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!