Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is wrong with the following IP, 135.12.222.213.1?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

I've been given this IP as abn assignment and can not figure out why this would not be correct.. Any Ideas?

thanks,

~IrishBrat~
 
What is wrong with the following IP, 135.12.222.213.1?

For one it has too many octets. The IP address represents 4 octets separated by periods. It should look like x.x.x.x where x represents a number between 1 and 254 (i.e. 135.12.222.213)

What are you trying to reach?
 
well actually its between zero 0 and 256 because an ip is made of 4 times 4 bits and with 4 bits the max is 256 in binary
 
2Bemcse.


The key here is useable IP Addresses, 0 and 255 are not useable as an ip address (within a standard subnet class) 0 being the network address and 255 being the Broadcast address. Now the 256 is a new one to me, If you place all "1's" in the an octet you get 255. 256 in Binary would use the 256 would push it over the maximum number of bits within an octet. The maximum number you should be able to achieve is...

255 = 11111111 or 128+64+32+16+8+4+2+1

Please explain the 256 a little more (I'm a sick puppy..I love subnetting) :)


david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
yesyes i admit i meant 0 to 256 and 8 bits of course sorry posted this early morning :)
you are completly wright
 
Not a problem, though I was going crazy there for a bit (no pun intended). Totally understand about Monday mornings :)

david e
*end users are just like computers, some you can work with...others just need a simple reBOOTing to fix their problems.*
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top