Implementing rule for calculating secondary host IP.