GLENDALE, Ariz. -- James Loney slugged a three-run homer and Ted Lilly tossed four scoreless innings as the Dodgers beat the Rangers on Friday, 5-2.

Loney followed a second-inning leadoff double by Andre Ethier and a walk to Juan Rivera with his first home run of the spring, off starter Greg Reynolds.

The Dodgers scored again in the third inning on a leadoff double by Mark Ellis and a sacrifice fly by Ethier. In the sixth, Juan Uribe singled in a run off Mark Lowe.

Lilly retired the last 11 batters he faced, striking out two and allowing only one hit.

Brandon Snyder and Alberto Gonzalez hit their first spring homers for the Rangers off Kenley Jansen in the fifth inning. Jansen, who allowed only three homers in 76 regular-season Major League appearances, said it was the first time he's ever allowed two homers in an inning at any level.

Up next for Rangers: Outfielder Josh Hamilton will try to get untracked when the Rangers face the Ciubs at 3:05 p.m. CT on Saturday in Las Vegas. Hamilton is 3-for-22 at the plate in nine Cactus League games. Derek Holland is scheduled to start. The game will be broadcast back to Texas on KSEN 103.3 and FOX Sports Southwest, and it's on MLB.TV. The Rangers also have a split-squad game in Surprise, Ariz., also at 3:05, with Scott Feldman pitching against the D-backs.