Community discussions

MikroTik App
用户头像
homerwsmith
Member Candidate
Member Candidate
Topic Author
Posts: 166
加入: Fri Dec 02, 2011 3:01 am
Location:Ithaca, NY
Contact:

EoIP slow high latency

Fri Dec 02, 2011 4:41 am

I have two mik's connected by 3 or 4 routers and wireless radios,
call mikrp at the NOC and mikch out in the boonies. Wireless are Ubiquity Rockets running at over 100 megabits, and the routers inbetween are also miks. All
interfaces are 100 megabits, and all are clean of errors and drops.

Pings from mikrp to mikch shows about 10 to 20 ms but these pings do NOT
go over the EoIP.

PIngs to machines connected to mikch over the EoIP however are taking
200 to 400 msecs during 'heavy usage' time.

Usage is about 9 to 12 megabits download from mikrp to mikch which has
end users on it.

The results are dependable and repeatable every day during peak times. THe rest of
链接为空,如有no traffic on the link outside of the EoIP of significance.

THere is a second EoIP on the same link to yet another mik located after mikch,
and the ping times are also high there during peak times even though the
actual traffic on the EoIP is relatively low compared to the first EoIP.

This indicates that traffic on one link is enough to trouble both links, all the while
pings directly between miks remains low at all times.

mikrp -------- mikch ---------mikth
| |
customers customers
EoIP from mikrp to mikch
Eoip from mikrp to mikth

An ethernet bridge is created between mikrp and mikch and bridged so that
mikrp is a bridged extension of mikch.

The manual says the MTU of the EoIP and the bridge should be left at 1500 to
prevent fragmentation.

However the manual also says that the EoIP process adds 42 bytes to the
1500 bytes packet, 8 GRE, 20 IP, and 14 ethernet.

Since packets come into mikrp at 1500 like any other router, and mikrp
adds 42 bytes to the packet before putting it on the EoIP, it would seem
that fragmentation would have to happen at that point before putting the packet
on the EoIP.

However if the EoIP is set to 1458, then added 42 bytes makes it 1500 and
it fits on the EoIP without frag.

However since the packet came into mikrp at 1500 in the first place, it will clearly
need to be fragged to match the new 1458, so whether the MTU of the EoIP
is changed from 1500 to 1458 or not, does not change the fact that packets
will be fragged before being put on EoIP.

Is that right?

Further if the MTU of the EoIP is set to 1542, then the packets can go directly
onto the EoIP without fragging, but must be fragged before egressing that
router at 1500 on its way to the remote end of the EoIP tunnel.

Is that right?

Homer
Top
spoiler
newbie
Posts: 27
加入: Thu Mar 02, 2006 6:29 pm

Re: EoIP slow high latency

Wed Mar 21, 2012 12:15 pm

Very similar problem and same question;)
Top
sup5
Member
Member
Posts: 355
加入: Sat Jul 10, 2010 12:37 am

Re: EoIP slow high latency

Wed Mar 21, 2012 3:27 pm

we saw a similar problem with EoIP on RouterBoard hardware.
(However on decend x86 routers EoIP will run better)

Just go straight to MPLS/VPLS and/or VLANs.

This solved the issue for us.

EoIP IMO only is a quick-hack for emergency data-linking.
Top
ste
Forum Guru
Forum Guru
Posts: 1922
加入: Sun Feb 13, 2005 11:21 pm

AW: EoIP slow high latency

Wed Mar 21, 2012 4:52 pm

What kind of MT boxes do you use?
Top
用户头像
homerwsmith
Member Candidate
Member Candidate
Topic Author
Posts: 166
加入: Fri Dec 02, 2011 3:01 am
Location:Ithaca, NY
Contact:

Re: AW: EoIP slow high latency

Wed Mar 21, 2012 9:55 pm

What kind of MT boxes do you use?
The EOIP problem happened across multiple different boxes, 564's and
others.

We finally gave up the EOIP and worked a more direct line from
the end user to the internet.

The EOIP is still running from remote site to our local NOC, and
latencies are still in the 200 to 300 msecs, EVEN THOUGH the Eoip
is mostly empty.

The hardward links are not empty of course pushing 12 megs etc,
but their latencies are in the 20 msecs no matter how heavy they get.

So there is a definite problem with the EOIP that is not hardware
specific.

Homer Smith
CEO Lightlink Internet
Top
ste
Forum Guru
Forum Guru
Posts: 1922
加入: Sun Feb 13, 2005 11:21 pm

AW: EoIP slow high latency

Thu Mar 22, 2012 1:01 am

Rb5xx might be to slow to get reasonable EOIP throughput.
Top
plankanater
Member Candidate
Member Candidate
Posts: 171
加入: Wed Mar 14, 2012 3:56 am

Re: EoIP slow high latency

Tue Jul 24, 2012 6:37 pm

Has there been any improvement on this? we are seeing the same issue using RB450G's at two locations connecting over EOIP to a RB493AH. All the addresses for all the sites are held on the 493. Pinging the external interface (not over EOIP) we get 3-5ms but going over eoip we get 30-60ms.
Top
用户头像
gustkiller
Member
Member
Posts: 418
加入: Sat Jan 07, 2006 5:15 am
Location:Brazil
Contact:

Re: EoIP slow high latency

Wed Oct 03, 2012 6:10 pm

Having the same problem here.
Top
patrickmkt
Member Candidate
Member Candidate
Posts: 198
加入: Sat Jul 28, 2012 5:21 pm

Re: EoIP slow high latency

Thu Oct 04, 2012 12:15 am

I have two RB2011 linked by a pair of ubnt Nanobridge. I have two EOIP tunnel on this link. I get a good steady 4~6ms response from both side of the tunnel from end devices.
Top
用户头像
gustkiller
Member
Member
Posts: 418
加入: Sat Jan 07, 2006 5:15 am
Location:Brazil
Contact:

Re: EoIP slow high latency

Fri Oct 05, 2012 11:54 pm

在这里,我发现这个问题的根源h tunnels. UBNT airmax, when I turned the AIRMAX off, the ping latency time get the same inside the tunnel than outside.
Top
patrickmkt
Member Candidate
Member Candidate
Posts: 198
加入: Sat Jul 28, 2012 5:21 pm

Re: EoIP slow high latency

Sat Oct 06, 2012 2:35 am

weird, I'm using Airmax on my link and I'm not seeing this problem...
Top
plankanater
Member Candidate
Member Candidate
Posts: 171
加入: Wed Mar 14, 2012 3:56 am

Re: EoIP slow high latency

Thu Mar 07, 2013 4:25 pm

I upgraded to version 6.0 RC11 and I am still having the issues.
Top
hzdrus
Frequent Visitor
Frequent Visitor
Posts: 51
加入: Mon May 14, 2012 3:58 pm

Re: EoIP slow high latency

Fri Mar 08, 2013 1:20 am

Did you check what is the CPU load? EoIP is very CPU hungry.
Top
用户头像
ScottReed
Member Candidate
Member Candidate
Posts: 114
加入: Thu Sep 24, 2009 9:47 pm
Location:Montana / Western Massachusetts

Re: EoIP slow high latency

Mon Oct 28, 2013 11:10 pm

I know this is an older post, but we were struggling with the same issue of high latency across EoIP tunnels via wireless UBNT links. In a nutshell, we are using EoIP to tunnel legacy gear running in a flat layer 2 network across all our new routed links.

After a lot of screwing around we found the issue to be with a wireless RTS setting in the software running on our legacy WiFi gear. Default was RTS 2300 and we went in and set them all to RTS 256 - problem solved.

Scott
Top
用户头像
homerwsmith
Member Candidate
Member Candidate
Topic Author
Posts: 166
加入: Fri Dec 02, 2011 3:01 am
Location:Ithaca, NY
Contact:

Re: EoIP slow high latency

Mon Feb 24, 2020 11:25 pm

I know it has been 6 years on this, but I started the thread, so here is my wisdom over the years.

The MTU HAS to be set on the eoip interface to 1500 at both sides, as I remember the default at one time was
something other. Just fix it manually.

Second dont fragment has to be no.

Third there is some possibility that on high usage links over ubiquiti airmax, the frame aggregation, if on, will cause only huge
accumulated packets to be sent, thus increasing ping times, but not lowering bandwidth.

Fourth EOIP is simply slow, during afternoons with us normal pings are 6ms, and EOIP pings are 20ms. But during heavy airtime on the airmax radios, EOIP goes to 100 to 200 ms, while normal pings remain well normalish.

The advantage of EOIP is it allows a single subnet to be shared across two or more sites. That's important for us because although the server farm has all the servers on the same subnet, (probably a really bad idea), if one machine goes down, I can bring it home and put it on our network at home with the same IP. No need to renumber.

Homer W Smith
CEO Lightlink
Top

Who is online

Users browsing this forum:Ahrefs [Bot],Bing [Bot]and 38 guests