Pipes for water and gas distribution