Added a helper procedure to calculate the decimal value of the passed ip address for easy configuration