Due to high mobility and sparse distribution of vehicle nodes,data packets transmission in VANET face great challenges.To address the problem,this paper proposes a link-ware routing protocol named as LALO. The study first introduces a distributed beacon detection scheme to gather local traffic statistics,so vehicle nodes storing packets can predict performance matrix of transmission paths and decide which path is the optimal one to choose.Results show that the proposed LALO protocol outperforms existing solutions in terms of packet delivery ratio,protocol overhead and transmission range.