Community discussions

MikroTik App
 
User avatar
Paternot
Forum Guru
Forum Guru
Topic Author
Posts: 1059
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

GRE dont-fragment - inherit from where?

Tue Sep 10, 2019 5:02 am

Ok, I understand the concept of "don't fragment". But on a GRE interface we have two options:

1) "No". Meaning "ok, fragment if needed"
2) "inherit". Meaning "inherit the value from..." From where? That's what I want to know.

Where does the value come from, if I choose "inherit"?
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1224
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: GRE dont-fragment - inherit from where?

Tue Sep 10, 2019 9:58 am

I'm pretty sure it means the parent device' setting if there is one, otherwise yes.
 
User avatar
Paternot
Forum Guru
Forum Guru
Topic Author
Posts: 1059
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: GRE dont-fragment - inherit from where?

Tue Sep 10, 2019 1:12 pm

Which parent device? The GRE tunnel just exists, it isn't attached to some interface. Would it be the interface through the connection is made?
 
andriys
Forum Guru
Forum Guru
Posts: 1543
Joined: Thu Nov 24, 2011 1:59 pm
Location: Kharkiv, Ukraine

Re: GRE dont-fragment - inherit from where?  [SOLVED]

Tue Sep 10, 2019 2:12 pm

I always assumed it inherits it from the packet being encapsulated. Not sure this assumption is correct, though.
 
User avatar
16again
Frequent Visitor
Frequent Visitor
Posts: 78
Joined: Fri Dec 29, 2017 12:23 pm

Re: GRE dont-fragment - inherit from where?

Thu Sep 12, 2019 12:46 am

afaik, inherent indeed means "use DF flag" of original packet. Note a GRE interface is unaware of its parent interface, all you specify is an IP local/remote addresses for the tunnel
 
User avatar
Paternot
Forum Guru
Forum Guru
Topic Author
Posts: 1059
Joined: Thu Jun 02, 2016 4:01 am
Location: Niterói / Brazil

Re: GRE dont-fragment - inherit from where?

Thu Sep 12, 2019 2:30 am

Well, it makes sense, to use the flag from the encapsulated packet.
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1224
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: GRE dont-fragment - inherit from where?

Sat Sep 14, 2019 12:59 pm

Sorry, that was a bad wording... I meant the interface by which the connection was made through...
 
pe1chl
Forum Guru
Forum Guru
Posts: 10550
Joined: Mon Jun 08, 2015 12:09 pm

Re: GRE dont-fragment - inherit from where?

Sat Sep 14, 2019 2:09 pm

But I think andriys and others are right, it means to copy don't fragment from the encapsulated packet to the outer GRE packet.
(same for DSCP)