GRE

GRE

GRE over IPsec

Example: HostA is sending a packet over the WAN to HostB. RouterA and RouterB have already established a GRE over IPsec tunnel between the two sites.

  1. HostA prepares a packet for transmission and sends it to the RouterA
  2. RouterA uses GRE to encapsulate the original packet with a GRE header and a new IP header
  3. RouterA uses IPsec to encapsulate and encrypt the GRE packet with an IPsec VPN header and new IP header
  4. RouterA sends the GRE-encapsulated packet over the IPsec-encrypted tunnel to RouterB
    1. See what I did there? GRE over IPsec?
  5. RouterB decrypts the IPsec packet, then decapsulates the GRE packet
  6. RouterB delivers the original data packet to HostB

Metadata

OSI or TCP/IP Layer

CCNA Exam Topic

Contributors

Sources