def METHOD_NAME(self, vlan: int, subnet: str) -> dict:
    network = ip_network(subnet, strict=False)
    if self.shared_utils.mlag_role == "secondary":
        ip = str(network[3])
    else:
        ip = str(network[2])
    ip_address = f"{ip}/{network.prefixlen}"
    gateway = str(network[1])
    return strip_empties_from_dict(
        {
            "name": f"Vlan{vlan}",
            "description": self.shared_utils.inband_mgmt_description,
            "shutdown": False,
            "mtu": self.shared_utils.inband_mgmt_mtu,
            "vrf": self.shared_utils.inband_mgmt_vrf,
            "ip_address": ip_address,
            "ip_virtual_router_addresses": [gateway],
            "ip_attached_host_route_export": {
                "enabled": True,
                "distance": 19,
            },
        }
    )