def METHOD_NAME(self,
               host=None,  # type: Optional[str]
               net=None,  # type: Optional[str]
               gw=None,  # type: Optional[str]
               dev=None,  # type: Optional[str]
               metric=1,  # type: int
               ):
    # type: (...) -> Tuple[int, int, str, str, str, int]
    from scapy.arch import get_if_addr
    if host is not None:
        thenet, msk = host, 32
    elif net is not None:
        thenet, msk_b = net.split("/")
        msk = int(msk_b)
    else:
        raise Scapy_Exception("make_route: Incorrect parameters. You should specify a host or a net")  # noqa: E501
    if gw is None:
        gw = "0.0.0.0"
    if dev is None:
        if gw:
            nhop = gw
        else:
            nhop = thenet
        dev, ifaddr, _ = self.route(nhop)
    else:
        ifaddr = get_if_addr(dev)
    return (atol(thenet), itom(msk), gw, dev, ifaddr, metric)