How do I setup router to prefer IPv4 over IPv6 LAN Wide on RouterOS?

  • Thread starter Thread starter JB701
  • Start date Start date
  • Replies Replies 3
  • Views Views 3,104

JB701

🇵🇸🤝🇮🇳
Messages
2,391
Location
Kochi, KL
ISP
Airtel
Hello everyone,

Recently I setup Hurricane Electric IPv6 Tunnel on my MicroTik RB750Gr1. Its all working fine but has one problem; Most major sites prefer using IPv6 over IPv4. If I have the tunnel enabled and go to google.com, it takes me to the IPv6 Version of Google , I know this because it shows Singapore version of the page (HE Closest Servers are in SG). When I ping google it shows an IPv6 Address.

Its problematic because the latency is much higher with the tunnel because the servers are far away, the speeds are also much lower through the tunnel. Another problem is that, sites like Netflix , Hotstar don't work. Netflix detects HE as a VPN IP and Hotstar doesn't work in Singapore. I have tried messing around with prefix polices in Windows and while it does work, devices like Smartphones, Android TV Box don't have the ability to change the prefix preference.

I can't find much more info about this anywhere, maybe I'm googling the wrong question but is there anyway to make it so that IPv4 is proffered over IPv6 LAN Wide?

Thanks
 
From my little search, I can't find a way to prefer IPv4 on RouterOS. However, as a workaround, since you use Pi-hole, have you tried disabling IPv6 in it?
 
Yeah, that way I can lookup IPv6 Addresses for my servers.



Thanks

Edit: I kinda have a workaround, I blocked all the Google, Netflix and Akamai (Hotstar's CDN) IPv6 Prefixes on my router, it fixed the problem. Though some other domains still go to IPv6 , I didn't want to straight up block IPv6 AAAA lookups
 
Last edited:

Top