By Mathieu Rosemain and Andrés González
Iliad burned through 1.44 billion euros in cash in 2018, twice as much as in 2017, and has lost half its market value over the last year.
The deal by billionaire Niel, considered a maverick in France's telecoms sector, follows a similar one by French rival Bouygues Telecom in 2017 under which it sold about 3,000 mobile sites to Cellnex for 900 million euros.
For Spanish towers group Cellnex, the acquisitions of thousands of new sites in the three countries allow it to extend its reach in Europe, where it has grown considerably over the past few years and is now seen as a key player in a potential consolidation of the telecoms infrastructure market.
Iliad shares were 5.6 percent up at 0926 GMT, while Cellnex's were 6.6 percent higher.
"This is quite a sensible move for them for two reasons: one is that it gives Iliad the financing to roll out in Italy, second ... Cellnex will end up having much better utilization of the infrastructure," said Karen Egan, an analyst at Enders.
Iliad, which has shaken up the French mobile market since 2012 with low-cost services, is facing aggressive fixed and mobile discounts from rivals in its home country.
Part of the proceeds from the towers sale will help to cut its debt and invest in networks in both France and Italy, it said. The deal was announced hours before Iliad's investor day in Paris on Tuesday.
Analysts say the 2.7 billion euro investment is transformational for Cellnex, increasing by 75 percent earnings before interest, tax, depreciation and amortization (EBIDTA) and doubling its recurrent leveraged free cash flow.
It would allow the Spanish group to take control of Iliad's 5,700 sites in France and the 2,200 in Italy. It would also take control of the mobile towers of Salt, the Swiss telecom operator privately-owned by Niel.
Cellnex also intends to spend an additional 1.35 billion euros on the roll-out of 2,500 new sites in France, 1,000 sites in Italy and 500 in Switzerland between 2020 and 2027.
"This is a big deal for Cellnex and materially increases the scale. We further believe there remains further opportunities for Cellnex to continue to do deals," said Credit Suisse in a note to clients.
Cellnex Chief Executive Tobias Martinez said on a conference call Britain's CTIL would be an appealing target but reiterated it could not afford to invest in France's TDF, which Spanish newspaper Expansion said it was considering.
Iliad, whose first-quarter sales grew by 7.7 percent to 1.29 billion euros, said it targeted a return to revenue growth in France in 2019 and an acceleration of its core operating profit growth in the second-half of the year.
(Reporting by Mathieu Rosemain in Paris and Andres Gonzales in Madrid; Additional reporting by Paul Day; Editing by Sudip Kar-Gupta and Emelia Sithole-Matarise)
By Mathieu Rosemain and AndrÃ©s GonzÃ¡lez