Pick the valid host IP addresses
1) 192.168.200.87
2) 194.10.10.104
3) 223.168.210.100
4) 220.100.100.154
5) 200.152.2.160
6) 196.123.142.190
If you can't use the calculator it's still just as easy.
255 in the subnet ususally means the netblock can't change.
go to the first netblock in the subnet without 255 and solve
255 254 252 248 240 224 192 128 right.
0 1 2 4 8 16 32 64
It's always easier to write it out. ALWAYS! I still do.
Everyone makes mistakes.
Two IPs are for NetID and broadcast so just subtract by two.
248 = 4
1. is a wan link. 2 ips / 80 is divisible by 4 so .84 to .87
.85 & .86 usuable
2. .104 is the NetID
3. .100 is the NetID
4. .154 is usuable w/ .155
5. 160 is NetID
6. .190 is usuable with.189
CIDRs will do the same as subnets but notate them in shorthand.
All IPs listed above have a CIDR of 30
shown as "192.168.200.87/30"
Use a subnet calculator
http://www.google.com/search?source=ig&hl=en&q=subnet+calculator
you may use a subnet calculator . If you require a subnet calculator ,do write to me at prabu.r@gmail.com or alternatively you may also chat with me in sarancheck@yahoo.com ...
you can also join in the cisco group ,
http://groups.yahoo.com/group/certify-cisco
Regards
Prabu R
If you want to use a subnet calculator go ahead, but what if you need to know by hand.
Converted in binary, the subnet mask is such:
1111 1111. 1111 1111. 1111 1111. 1111 1000
This means that you have 5 bits borrowed from the 4th octet to make your network id. Remember that all bits represented by a 1 in your subnet mask make up the network id
to figure out whether those ip addresses are valid, convert them to binary and see if the network id fits
192.168.200. 0101 0 | 111
(87)
the first 5 bits tell you it is on the 10th subnet, and the final three tell you it is beyond the range of that subnet. It is not valid.
To calculate your ranges, start with 00001 on the left side of the | and 001 for the first then 110 for the last on the right side. Then convert all 8 bits to decimal. Your IP addresses are valid if they fit within these ranges.
Hope this helps.
Please correct me if i'm wrong, it has been a little while since i've had this
learn subnetting. its tough... but here's the best practice tool I've found online. see the sources for my answer.
Steve has an explanation and a practice tool.
http://www.kehlet.cx/articles/79.html
These are the answers:
1) 192.168.200.87 no that's broadcast for .80 subnet
2) 194.10.10.104 no that's a subnet network address
3) 223.168.210.100 yes, that's in .96 subnet
4) 220.100.100.154 yes, that's in .152 subnet
5) 200.152.2.160 no, that's a subnet network address
6) 196.123.142.190 yes, that's in .184 subnet
I recommend these subnetting resources:
http://www.subnettingquestions.com/custom/bren/
The second one is completely free.
No comments:
Post a Comment