The railroad satellite channel is characterized by frequent signal outages due to tunnels, bridges and electrical trellises. While for medium/long tunnels the main option to offer reliable and uninterrupted connectivity deals with the adoption of gap-filling techniques, signal outages due to small bridges/tunnels or electrical trellises can be faced with ad-hoc recovery techniques. In this paper, we face the problem from a link layer perspective, showing how a proper design of an erasure correcting code operating at link layer represents a valuable countermeasure against short outage events. The performance evaluation is developed in comparison with a more traditional technique based on physical layer coding in combination with a long channel interleaver. Advantages of the link layer coding scheme will be shown.