Routing network traffic based on destination
AssigneeCisco Technology, Inc.
InventorsHimanshu Shah, Murtuza Attarwala, Linus Aranha
Life of this patent
Estimating the term…
Abstract
A method may include identifying an address within a packet of a traffic flow associated with a network device. The method may also include comparing the address within the packet with a stored address, the stored address associated with a route for an alternative traffic path, where the alternative traffic path may be different from a default route of traffic passing through the network device. The method may additionally include, based on the address within the packet matching the stored address, routing the packet along the alternative traffic path instead of the default route of traffic.
Claims20
A method, comprising:
- identifying an address within a packet of a traffic flow associated with a network device;
- comparing the address within the packet with a stored address, the stored address associated with a route for an alternative traffic path, the alternative traffic path being different from a default route of traffic passing through the network device;
- based on the address within the packet matching the stored address, determining that the traffic flow is to be rerouted along the alternative traffic path instead of the default route of traffic;
- receiving a Domain Name Server (DNS) query associated with the traffic flow that is determined to be rerouted along the alternative traffic path;
- rewriting the DNS query to be routed through the alternative traffic path and to a DNS server associated with the alternative traffic path;
- receiving a DNS response from the DNS server, a resource in the DNS response being based on the DNS query;
- and
- rewriting the DNS response to yield a modified DNS response such that the modified DNS response appears to have been one or more of:
- routed along the default route of traffic or received from a default DNS server associated with the default route of traffic.
A non-transitory computer-readable medium that includes computer-readable instructions stored thereon that when executed by a processor, cause the processor to:
- identify an address within a packet of a traffic flow associated with a network device;
- compare the address within the packet with a stored address, the stored address associated with a route for an alternative traffic path, the alternative traffic path being different from a default route of traffic passing through the network device;
- based on the address within the packet matching the stored address, determining that the traffic flow is to be rerouted along the alternative traffic path instead of the default route of traffic;
- receive a Domain Name Server (DNS) query associated with the traffic flow that is determined to be rerouted along the alternative traffic path;
- rewrite the DNS query to be routed through the alternative traffic path and to a DNS server associated with the alternative traffic path;
- receive a DNS response from the DNS server, a resource in the DNS response being based on the DNS query;
- and
- rewrite the DNS response to yield a modified DNS response such that the modified DNS response appears to have been one or more of:
- routed along the default route of traffic or received from a default DNS server associated with the default route of traffic.
A system, comprising:
- one or more processors;
- and
- one or more non-transitory computer-readable media storing an address, and that include computer-readable instructions stored thereon that when executed by the one or more processors, cause the one or more processors to:
- identify an address within a packet of a traffic flow associated with a network device;
- compare the address within the packet with a stored address, the stored address associated with a route for an alternative traffic path, the alternative traffic path being different from a default route of traffic passing through the network device;
- based on the address within the packet matching the stored address, determining that the traffic flow is to be rerouted along the alternative traffic path instead of the default route of traffic;
- receive a Domain Name Server (DNS) query associated with the traffic flow that is determined to be rerouted along the alternative traffic path;
- rewrite the DNS query to be routed through the alternative traffic path and to a DNS server associated with the alternative traffic path;
- receive a DNS response from the DNS server, a resource in the DNS response being based on the DNS query;
- and
- rewrite the DNS response to yield a modified DNS response such that the modified DNS response appears to have been one or more of:
- routed along the default route of traffic or received from a default DNS server associated with the default route of traffic.
Dependencies are inferred from the claim text.