Abstract:There is frequent handover of links between Low Earth Orbit(LEO)satellite and gateway station. In addition, equipment on the satellite has limited processing capacity. In view of the question above, this paper raises a routing protocol between satellite and gateway station based on SDN (Software Defined Network). Routing calculation is the focus of this paper. Considering the law of satellite operation, control center on the earth calculate the coverage time of every satellite. The satellite which covers the gateway station for the longest time is arranged to establish connection with the gateway station instead of the original satellite. And then the time of handover can be predicted. Then the routing between satellite and gateway station is transmitted to the satellite. When it reaches the predicted handover time, the routing transmitted to the satellite is triggered. According to the simulation result, compared with the routing protocol that calculates the routing between satellite and gateway station after handover, the routing protocol raised in this paper can rebuild touting quickly. It has a distinct advantage in packet loss rate. It reduces the impact of handover on routing between LEO satellite and gateway station.