With the increasing adoption of industrial Ethernet in train communication network (TCN), the limitations of insufficient reliability and incompatibility between different Ethernet technologies have become increasingly apparent. To address these challenges, time‐sensitive networking (TSN) has emerged as a solution, enabling multi‐network convergence and enhancing data transmission determinism and reliability through techniques such as frame replication and elimination for reliability (FRER). However, the utilization of these policies will adversely affect schedulability due to increased network load. To address the issue of link failures in TCN topologies, a routing policy based on faulty link diagnosis is proposed. The proposed policy utilizes an improved max‐min ant system (IMMAS) for diagnosing and resolving faulty links. Furthermore, a routing optimization algorithm is introduced to enhance transmission reliability by planning alternative paths for traffic. To evaluate the performance of the proposed routing algorithm, multiple sets of test cases are conducted separately under different failure scenarios to compare them with other routing policies. The results demonstrate the superior reliability of the proposed routing policy over alternative approaches. Additionally, the traffic utilizing the proposed routing policy show improved schedulability following integer linear programming (ILP) scheduling. © 2024 Institute of Electrical Engineers of Japan and Wiley Periodicals LLC.