Community discussions

 
Paternot
Long time Member
Long time Member
Topic Author
Posts: 593
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: 1218
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.
Torturing CCR1009-7G-1C-1S+, RB450G, RB750GL, RB951G-2HnD, RB960PGS, RB260GSP, OmniTIK 5HnD and NetMetal 922UAGS-5HPacD + R11e-5HnD in my home network.
 
Paternot
Long time Member
Long time Member
Topic Author
Posts: 593
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: 1132
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
newbie
Posts: 48
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
 
Paternot
Long time Member
Long time Member
Topic Author
Posts: 593
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: 1218
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...
Torturing CCR1009-7G-1C-1S+, RB450G, RB750GL, RB951G-2HnD, RB960PGS, RB260GSP, OmniTIK 5HnD and NetMetal 922UAGS-5HPacD + R11e-5HnD in my home network.
 
pe1chl
Forum Guru
Forum Guru
Posts: 5700
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)

Who is online

Users browsing this forum: No registered users and 68 guests