That you have to set in your client machine. The router will serve both IPv4 and IPv6 if asked for it, with no discrimination. There is no such thing as a protocol "preference" concept in a router.How to Preference IPv4 over IPv6 on Dual stack
i mean if my destination website available in IPv4 and IPv6 such as google, youtube, facebook.. if I in dual stack router.. and open one of them, my router will be directly choose their IPv6.. the problem is my IPv6 connection in my dual stack by tunnel.. so it will be slowly and high latency..What do you want to prefere ? Traffic path ? Protocol used ? What protocol your LAN clients use ?
IP6 lives in parallel with IP4 in ROS and they are separated worlds.
Okay sir.. I see.. thanks for your explanation.. so the solution is on client side or on server side..You seem to misunderstand the nature of IPv4 vs. IPv6.
They're complete parallel universes. The router doesn't evaluate routing based on "site" being visited and then decide which protocol to use to get there. The decision was already made by one of the two endpoints communicating with each other. Thus If the router receives an IPv6 packet, then it forwards that packet according to the IPv6 routing table and IPv6 firewall rules. If it receives an IPv4 packet, then it forwards the packet based on the IPv4 routing table and firewall rules. ROS has no capability to directly interwork the two protocols (with such things as NAT64, etc), anyway, so there's no way it can influence which protocol the client PCs choose to make their connections.
it's just my research sir.. i wanna deep learning about IPv6 in Mikrotik RouterOS ..If IPv6 is so problematic in your environment, why even have it enabled? Do you have IPv6-only sites you have to connect to?
Seems to be deeper problem than you ask. It is not router opening sites. Clients do so router just forwards packets from client to the Internet and back.
You want router to decide on the fly which route to the destination is better over IP4 or IP6 and then do proper masquarading or translation from IP4 to IP6 or IP6 to IP4 to achieve the fastest answer.
How do you want to rate which route is the best to download page ? What if some elements are downloaded from main site but some from other ones ? Should router split the traffic to more than one path/route/ISP to make it load faster ? That is not router job. Router is for routing. You are asking for smart load balancer or proxy splitting traffic not only to different ISP but to IP4, IP6.
I doubt if Mikrotik is the proper solution.
Well, that is a problem with IPv6 not being available native from your ISP: You can run it thru a tunnel, for research/fun, but the problem is latency and speed. However, if an OS supports IPv6, it will use it by default, even if it's not as fast as IPv4. Neither the client nor router does any checking for latency or bandwidth, just connectivity.it's just my research sir.. i wanna deep learning about IPv6 in Mikrotik RouterOS ..If IPv6 is so problematic in your environment, why even have it enabled? Do you have IPv6-only sites you have to connect to?
I don't quite agree with that statement. Thanks to MT adding piles of things onto MT, which a ROUTER is not supposed to do, it IS the MT opening sites...Seems to be deeper problem than you ask. It is not router opening sites.
Not true. Go learn how proxy servers work. The client has ZERO to do with this, if a proxy is involved.However Mikrotik offers additional funcionality of proxy which handles cache of pages so it means that it opens/loads page instead of client but it is client starting conversation so the client decides if the "talk" is handled in IP4 world or in IP6 ...
So it means that suggest that proxy could switch from IP4/IP6 on the fly as one them becomes faster ? What eg. about sessions consistency ?...You shouldn't care if it uses IPv4 or IPv6. I don't know about any standard mechanism to influence that (but I didn't really search for one).....
https://tools.ietf.org/html/rfc6555So it means that suggest that proxy could switch from IP4/IP6 on the fly as one them becomes faster ? What eg. about sessions consistency ?...You shouldn't care if it uses IPv4 or IPv6. I don't know about any standard mechanism to influence that (but I didn't really search for one).....
Asking as I do not recall using myself any proxy intentionally.