Is it possible to have a prolonged traffic stream above certain speed (use connection rate in mangle) to jump to another default gateway? Will the date stream/connection break?
On public side of router traffic will pass through other routers depending on policy routing decicion before hitting ISp network. One router will provide local IP with new public fixed client IP, second router will do general client NAT. (different ISP anyway)
In download or streaming (http) video with buffering a short break in data stream will not be such a problem.
But will the connection survive? Src.IP will change so probably remote server will disconnect?
And Conn.tracker? Will connection survive but become dead since new connection will be build? (With new src port?)
Connection tracker in QoS router will have local client IP address/port and remote dst-address/port info
By jumping public interface in router the src-ip/dst-ip stays the same.
Example:
Client opens http download > normal default route to HQ lease line but limit in speed.
Routing gateway will mangle this new traffic and with connection rate change routing mark with result that data stream will pass to different WAN interface. (LQ line)
From remote file internet server following happens:
Client with IP xxx.xxx.xxx.xxx request download.
Server respond “ok” and send data to xxx.xxx.xxx.xxx
After some secs. traffic stream from src IP xxx.xxx.xxx.xxx is halted. But new request is made from new src-ip. (client comes from other ISP connection.)
I presume Server will not proceed with sending data stream to this ´for him´ new host?
Is there a way we can make client make new request to same src-address/dst-address (not port) combination in the local router that now will be processed on basis of previous connection, and thus immediately get routing mark leading to LQ WAN interface?
Maybe put dst-address for that traffic coming from client X in address list and make new routing rule for src-dst address list combination that will survive some time (30 secs?) so traffic from that combination will be forced to LQ gateway?
In MT manual it is explained that we can make change in priority on heavy_traffic_connection compared to normal.
But here the conn.tracking data (src-IP+port<>dst-IP+port combination) stays intact.
It would be nice if I could set something up so I can use same to change route to remote server via other gateway and not break the connection completely.
The more I think about it, the lesser change I see for an solution. But maybe anyone has an idea?
(Maybe something with ECMP or BGP?)