Thread: IP addresses
View Single Post
Old 11-11-2008, 02:57 PM   #1 (permalink)
xStevey_Bx
 
Newb Techie

Join Date: May 2005

Posts: 33

xStevey_Bx

Default IP addresses

I have a university project that I need to work on and part of it will require me assigning users a specific avatar when they log into the site.

To shake things up a little and remove the totally random aspect I want to set up ranges of IP addresses which each correspond to one of the avatars. This means that users from different areas will have a higher probability of recieving an avatar than users in another.

There are 4,200,000,000 odd Ip4 addresses and I need to split them up into 1000 ranges. How do Ip addresses incriment?

They start at 0.0.0.0, but is the next one 0.0.0.1?

What happens once the address reaches 0.0.0.255? Is the next one 0.0.1.0?

Any help or suggestions would be greatly appreciated!!
xStevey_Bx is offline