@staticmethod
def incr_ip(ip_addr, offset=1):
    """Helper function to increase IP address
        """
    lst_ip = ip_addr.split('.')
    b_1 = format(int(lst_ip[0]), '08b')
    b_2 = format(int(lst_ip[1]), '08b')
    b_3 = format(int(lst_ip[2]), '08b')
    b_4 = format(int(lst_ip[3]), '08b')
    b_ip = b_1 + b_2 + b_3 + b_4
    b_newip = format(int(b_ip, 2) + offset, '032b')
    newd1 = int(b_newip[0:8], 2)
    newd2 = int(b_newip[8:16], 2)
    newd3 = int(b_newip[16:24], 2)
    newd4 = int(b_newip[24:32], 2)
    return '%s.%s.%s.%s' % (newd1, newd2, newd3, newd4)
