Community discussions

 
homerwsmith
Member Candidate
Member Candidate
Topic Author
Posts: 143
Joined: 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
the link is empty, as there is 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
 
spoiler
newbie
Posts: 27
Joined: 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 ;)
 
sup5
Member
Member
Posts: 322
Joined: 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.
 
ste
Forum Guru
Forum Guru
Posts: 1815
Joined: 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?
 
homerwsmith
Member Candidate
Member Candidate
Topic Author
Posts: 143
Joined: 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
 
ste
Forum Guru
Forum Guru
Posts: 1815
Joined: 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.
 
plankanater
Member Candidate
Member Candidate
Posts: 166
Joined: 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.
 
User avatar
gustkiller
Member
Member
Posts: 418
Joined: 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.
Mikrotik Certified Consultant
 
patrickmkt
Member Candidate
Member Candidate
Posts: 157
Joined: 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.
 
User avatar
gustkiller
Member
Member
Posts: 418
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: EoIP slow high latency

Fri Oct 05, 2012 11:54 pm

Here I discovered the root cause of that issue with tunnels. UBNT airmax, when I turned the AIRMAX off, the ping latency time get the same inside the tunnel than outside.
Mikrotik Certified Consultant
 
patrickmkt
Member Candidate
Member Candidate
Posts: 157
Joined: 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...
 
plankanater
Member Candidate
Member Candidate
Posts: 166
Joined: 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.
 
hzdrus
newbie
Posts: 40
Joined: 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.
 
User avatar
ScottReed
Member Candidate
Member Candidate
Posts: 111
Joined: 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

Who is online

Users browsing this forum: No registered users and 57 guests