def ip4_hex(arg, delimiter=''):
    """ Convert an IPv4 address to Hexadecimal notation """
    numbers = list(map(int, arg.split('.')))
    return '{0:02x}{sep}{1:02x}{sep}{2:02x}{sep}{3:02x}'.format(*numbers,
        sep=delimiter)
