What I have learnt is that whenever protocol X is encapsulated inside another protocol Y, then we say protocol X over protocol Y. eg: we say video over http or text over http, that's because video/text payload is inside of the http protocol. But when people say Ipsec over GRE or GRE over IPsec, i find it interpreted in ambiguous ways.
Can someone please tell me if I am correct?
- Ipsec over GRE means: IPSEC packet is encapsulated in GRE packet.
- GRE over IPSEC means: GRE packet is encapsulated in Ipsec packet.
If I am wrong then why it this different than the example i presented above i.e video/text over http.