The aim of this paper is to introduce an approach to providing connectivity on trains connecting to the wider Internet via heterogeneous networks and prioritize traffic according to service classes. In an effort to understand the characteristics of a rail network, studies on real life train demonstrations and implementations are briefly discussed. Experiments using the Ns-2 simulator to measure the performance of voice traffic with priority mechanisms are also presented.