Tools for network tomography