def all_gateways(self): """ List of gateways on machine. Return: dict """ return netifaces.gateways()