Page 1 of 1

2 WAN, how to duplicate connections on both

Posted: Tue Jan 27, 2015 11:17 pm
by CateFul
I'm running an application that's very sensitive on speed and quality over bandwidth. It sends and receives data with a dozen of different servers using udp, tcp, gre, and sctp. The connection needs to be fast, and with minimal interruptions.

Assume this application is running on 10.0.0.100.

I have 3 WAN (pppoe-out1, sstp-out1 & sstp-out2) set up. Is it possible to duplicate all traffic with src-addr of 10.0.0.100 and send them out on all 3 WANs, and the first return packet(the fastest to get back) from a remote server gets routed back to 10.0.0.100?

Currently everything goes through sstp-out1 but sometimes it gets disconnected or packet drops and my application loses a few seconds of connection. By combining the 3 wans I can minimize packet drops and it will also have autofailover.

Can someone help?

Re: 2 WAN, how to duplicate connections on both

Posted: Wed Jan 28, 2015 1:35 pm
by CateFul
or two EOIP tunnels via bonding, but the problem is it keeps receiving data from one EOIP tunnel, even if I manually break the link, the traffic does not failover to the other EOIP.

Re: 2 WAN, how to duplicate connections on both

Posted: Sun May 29, 2016 8:28 pm
by pe1chl
I would be interested in this as well.
In a router with multiple WAN connections, is there any way to create some rule to make UDP traffic from an internal
system go out in parallel over both WAN connections to the same destination?
(the destination of course will receive lots of duplicates but the application will handle that, this solution is only there
to cover packet loss or latency peaks on either of the two WAN connections)

I know about a lot of methods to re-route, re-map and otherwise manipulate traffic but is there a way to actually
duplicate packets so they can be sent two ways, inside a MikroTik router?

Re: 2 WAN, how to duplicate connections on both

Posted: Mon May 30, 2016 8:33 pm
by pe1chl
I see that in iptables the target TEE could be able to do this. Maybe it could be added as an action?