IP address can be recalculated to a single number by multiplying the first part by 16777216, multiplying the second by 65536, multiplying the third by 256, multiplying the fourth by 1 -- and now add all the values together.