×

Cloud service packet redirection method and system and cloud gateway

  • US 9,325,565 B2
  • Filed: 10/04/2013
  • Issued: 04/26/2016
  • Est. Priority Date: 11/12/2012
  • Status: Active Grant
First Claim
Patent Images

1. A cloud service packet redirection method performed by a cloud gateway, the method comprising:

  • receiving a domain name system (DNS) packet that is forwarded by a router in a redirection manner;

    determining that the DNS packet is a cloud service-related DNS packet;

    obtaining first domain name information, first IP address information, and first DNS entry survival time information of the cloud service-related DNS packet;

    querying a cloud IP table of the cloud gateway according to the first domain name information and the first IP address information of the cloud service-related DNS packet, wherein one record in the cloud IP table corresponds to one or more policy routes of the router, wherein a record in the cloud IP table comprises domain name information, IP address information, DNS entry survival time information, and ACL entry identifier information, wherein the ACL entry identifier information is used to identify a policy route of the router that corresponds to the record in the cloud IP table;

    adding a first record in the cloud IP table, wherein no record that corresponds to the first domain name information and the first IP address information exists in the cloud IP table and wherein the first record comprises the first domain name information, the first IP address information, and the first DNS entry survival time information of the cloud service-related DNS packet;

    sending first policy route configuration information to the router to instruct the router to add a first policy route that corresponds to the first record, wherein the first policy route configuration information comprises first action information indicating addition of the first policy route, the first IP address information, and first ACL entry identifier information of the first record; and

    updating, DNS entry survival time information of an existing record in the cloud IP table that corresponds to the domain name information and the IP address information of the cloud service-related DNS packet exists, the DNS entry survival time information being updated according to the DNS entry survival time information of the cloud service-related DNS packet.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×