Community discussions

MikroTik App
 
CateFul
just joined
Topic Author
Posts: 16
Joined: Tue Jan 27, 2015 10:58 pm

2 WAN, how to duplicate connections on both

Tue Jan 27, 2015 11:17 pm

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?
 
CateFul
just joined
Topic Author
Posts: 16
Joined: Tue Jan 27, 2015 10:58 pm

Re: 2 WAN, how to duplicate connections on both

Wed Jan 28, 2015 1:35 pm

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.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10568
Joined: Mon Jun 08, 2015 12:09 pm

Re: 2 WAN, how to duplicate connections on both

Sun May 29, 2016 8:28 pm

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?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10568
Joined: Mon Jun 08, 2015 12:09 pm

Re: 2 WAN, how to duplicate connections on both

Mon May 30, 2016 8:33 pm

I see that in iptables the target TEE could be able to do this. Maybe it could be added as an action?