On 23 June 2014 14:14, Tony Gacheru <tonygacheru@gmail.com> wrote:

One site would be online.citibank.com

 

Seem your client is a heavy-weight :). Akamai is a distributed content delivery network AND has massive network(IPs) and multiple ASN distributed accross the globe. You are better off not trying unless you route (https) traffic via "B" for all Akamai IPs which you can get by looking up the Autonomous System Numbers. I have dug the Akamai IPs for you below :) You can cluster them into supernets.


If your router is "smart" (doubt in this case), you can filter at ASN level preferably if you are pulling internet table to yourself.
You may also use this to get IPs originating from specific ASN:

whois -h whois.ripe.net -i origin -T route ASnumber | grep -w "route:" | awk '{print $NF}' |sort -n
EG:
whois -h whois.ripe.net -i origin -T route AS16625 | grep -w "route:" | awk '{print $NF}' |sort -n


If there is a URL based routing device you can get locally - go that path.

Maybe also you can try force your DNS to resolve to specific IPs (not sure under the distributed content if might always give desired results)

Kind Regards,
Wilson./

 

From: Thuo Wilson [mailto:lixton@gmail.com]
Sent: Monday, June 23, 2014 1:32 PM
To: Skunkworks Mailing List
Cc: Tony Gacheru
Subject: Re: [Skunkworks] url based routing

 

 

On 23 June 2014 11:55, Tony Gacheru <tonygacheru@gmail.com> wrote:

Skunks,

I've a network with two internet links. I'm trying to route any traffic
destined to domain.xyz.com to linkB will all other traffic goes to LinkA.
Traffic type is https and domain.xyz.com is a conical name which translates
to different IP addresses which change regularly and randomly(it's
impossible to get all the IP's for static routes).

Does anyone know of a device that can resolve an url and then route based on
that resolution? Or how can I achieve the same using cisco?

TG.

 

Have never done URL resolving (and use $x) on cisco to achieve exactly what you need but one thing am sure of, IPs do not change infinitely (even youtube, gmail etc has a limit) so you still can get all the IPs. If you have all IPs talk to be, i can help you to route-maps on cisco to achieve that. Have never done URL resolving on cisco to achieve exactly what you need.

 

See also Cisco Content Services Switch.

 

If you gave the actual name of the site, we might help dig.



Kind Regards,

Wilson./