In the cloud computing environment, the use of software component become an important part for forwarding inside-network packets. Click is a modular software router and can be very goodly accessed to any network. By extending its modules, click router can achieve any complicated scheduling strategy. This thesis researches on how to design and implement a priority-based forwarding router and use it in the cloud computing environment. In the event of multiple service request at the same time, the router can forward these packets by priority. This method is used to solve the problem of important service with slow response time.