Community discussions

 
felix84
just joined
Topic Author
Posts: 8
Joined: Thu Feb 09, 2017 4:13 pm

EOIP TCP problem

Sun Mar 10, 2019 3:31 pm

Hello. We are facing some problems trying to manage good L2 connectivity across WAN link. From one side we have CCR1009, from another x86 mikrotik kvm based VM. Fw version 6.42.12. We set up EOIP + IPsec. Both ends has static ip address, connection speed is 1Gbit/sec, latency 60ms. I know this is really bad for such network desing, but it is very bad for now. Services that relies on TCP, demonstrate very poor performance, SMB file copy - 20-30Mbit/sec, rsync, nfs, scp about the same. I know about tcp window size, and many people dealing with high latency links this way, but iperf -w does not help and shows the same result, as i mentioned above. I thought it can be MTU issue, but settings are pretty common, 1500 on lan-bridge and auto MTU on EOIP interface (1308 calculated by PMTUD). So, any help would be appreciated
Last edited by felix84 on Sun Mar 10, 2019 10:17 pm, edited 1 time in total.
 
mistry7
Forum Guru
Forum Guru
Posts: 1244
Joined: Tue Oct 13, 2009 11:57 am
Location: Germany

Re: EOIP TCP problem

Sun Mar 10, 2019 9:39 pm

Look into L2TP BCP Bridging, it works better
https://wiki.mikrotik.com/wiki/Manual:B ... _bridging)
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1698
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: EOIP TCP problem

Sun Mar 10, 2019 10:47 pm

Do you require bridging (L2 interconnect)? If not try ipsec in tunnel mode (over UDP).

With regards to throughput, verify with iperf using UDP, and then TCP. I also think it's mtu related.
 
felix84
just joined
Topic Author
Posts: 8
Joined: Thu Feb 09, 2017 4:13 pm

Re: EOIP TCP problem

Mon Mar 11, 2019 12:12 pm

Do you require bridging (L2 interconnect)? If not try ipsec in tunnel mode (over UDP).

With regards to throughput, verify with iperf using UDP, and then TCP. I also think it's mtu related.
Thank you for reply. Yes we do require L2 connectivity. I can completely disable ipsec for this tunnel, but results are the same.
 
konstantinJFK
just joined
Posts: 17
Joined: Wed Mar 08, 2017 3:44 pm
Location: Milan, Italy
Contact:

Re: EOIP TCP problem

Wed May 08, 2019 11:44 pm

I can confirm same issue with TCP sessions over EOIP links with or without IPSEC

No solution or workaround have been found so far
 
User avatar
vecernik87
Long time Member
Long time Member
Posts: 642
Joined: Fri Nov 10, 2017 8:19 am

Re: EOIP TCP problem

Thu May 09, 2019 3:08 pm

Without eoip, on the same latency, do you get better results?
I can't imagine how could you get any reasonable speed on tcp with 60ms latency. That delay is just killing it.
 
sup5
Member
Member
Posts: 322
Joined: Sat Jul 10, 2010 12:37 am

Re: EOIP TCP problem

Thu May 09, 2019 3:20 pm

As long as there is no packetloss TCP will scale up the bandwidth even on high latency links.

But every tiny bit of packetloss on high latency links will kill throughput.

Who is online

Users browsing this forum: Google [Bot] and 66 guests