from typing import List


def SequenceToListInt(s: str, separator: str = '.') -> List[int]:
    """Convert '192.168.42.1' to [192,168,42,1]

    Args:
        s (str): String to convert
        separator (str, optional): Separator to use. Defaults to '.'.

    Returns:
        List[int] : List of int
    """
    return [int(item) for item in s.split(separator)]