Community discussions

MikroTik App
 
eghtedari2000
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 85
Joined: Tue Aug 11, 2009 10:11 am

GRE Tunneling

Fri Feb 12, 2010 8:52 am

hi

i wanted to say we need to GRE Tunneling in our network , but mikrotik doesnt support that.

is there any program in future OS to help us and solve this problem

Thanks
 
maco
newbie
Posts: 39
Joined: Fri Jun 19, 2009 9:02 pm

Re: GRE Tunneling

Sat Feb 13, 2010 12:37 am

Hi there,
I have done some analysis of the EoIP protocol which supposedly uses GRE RFC specification (extended GRE)
There are few things which need to be considered:

The EoIP tunnel uses GRE as a basic system of encampsulating packets, however a protocol type field (16-32 bit of the GRE header) is set to 0x6400 which is something that is not specified in GRE RFC. The key field in the GRE header consists of two bytes of some (random?) number and the other two bytes is the tunnel id.

Now as I understand correctly, the standard GRE tunnel transports IP packets - that means that GRE payload starts with IP headers (version,header length, tos...), however with EoIP the payloads starts with L2 Ethernet header. This assumably makes the difference between EoIP and standard GRE we are used to - the goal has been to make the tunnel absolutely transparent to ethernet traffic.

With this information, some user-space implementation of EoIP should be possible also in a languages like Perl with Net::Write, however I am still not sure how EoIP GRE keys are being generated (the part which is not the tunnel id, but some other value).

If anyone from Mikrotik is reading this - do you think there is a possibility to reveal the design of EoIP? At least the algorithm how GRE tunnel keys are generated :) ?

And a wee note - Cisco uses their own implementation of EoIP for theiw WLC controllers - does anyone has any experience with that?

Who is online

Users browsing this forum: AndHe, bias89, homerouter and 133 guests