Community discussions

MikroTik App
 
SomeYoungGuy
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Mon Oct 22, 2012 10:18 am

GRE Sequencing

Mon Jun 30, 2014 2:00 pm

This document:
http://en.wikipedia.org/wiki/Generic_Ro ... apsulation
makes reference to an optional sequence number, and if i inspect the GRE packets on the Mikrotik, i notice that outgoing packets have an incrementing sequence number referred to as an "Identifier" (if memory serves).

I'm using a PPTP VPN, and the problem im seeing is that this value in the GRE packets seems to be stripped (zeroed) on the other side, for either the client or server side.

So my questions are:
Is this normal behavior?
How would the other side know if the packets are in sequence or not?
Am I just misunderstanding this?
Is there a buffer on the recipient side to re-order the packets?
 
reinerotto
Long time Member
Long time Member
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

Re: GRE Sequencing

Mon Jun 30, 2014 3:29 pm

AFAIK, a sequence is optional, but has to be "signalled" in GRE-header:
S, Sequence Number present. 1 bit.
If set then the Sequence Number field is present and contains valid information.

Otherwise, sequencing is also done on the TCP/IP-layer, wrapping GRE. So within GRE, is seems to be redundant, usually. Unless highest data integrity required.

Who is online

Users browsing this forum: beeman, eworm, GoogleOther [Bot], lurker888 and 205 guests