No. Obtain the IP address from ```generate_ipaddr``` and then replace the last part with a zero. There is no need for a new IP function or private method really unless there's something special to requiring that the last part of the IP be zero and that it will be required multiple times within your tests.