Policy Based or static route for Netflix on dual WAN

I have a dual WAN setup where I prefer WAN1 for most outbound traffic but want to force traffic to the other WAN2 for Netflix since that ISP has a peering agreement with Netflix and the performance is better.

I am not sure if I want to build static routes for Netflix and point to that gateway - which seems like it would work fine until IPs were added or changed at Netflix. Or, do I want to mark packets to content “Netflix” and route them that way through the correct gateway? If / when Netflix is using CDNs and cache servers, will that break either method?

Is there a secret option number three I am not considering?

Hi,

I’m now looking in how to route netflix trough a vpn.

What I’m doing is getting all IP’s from AS2906 (on linux you can run the command bellow)

whois -h whois.radb.net -- '-i origin AS2906'|grep ^route:|while read a b; do echo "/ip firewall address-list add address=$b list=netflix"; done

and then have a mangle rule that makrs routing with a new routing mark when src address list is netflix

hope it helps

The real challenge isn’t in finding all of Netflix’s IP addresses, but those of the various CDN providers they partner with.
It doesn’t do much good if your Netflix client opens the service via their own network, but the source for streamed media is not one of their IP addresses.