# IPv6 over IPv4 GRE with IPSec

**URL:** <https://forum.networklessons.com/t/ipv6-over-ipv4-gre-with-ipsec/3151>\
**Category:** Lessons Discussion\
**Created:** [March 12, 2018, 3:16pm UTC](https://forum.networklessons.com/t/ipv6-over-ipv4-gre-with-ipsec/3151 "2018-03-12T15:16:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [March 12, 2018, 3:16pm UTC](https://forum.networklessons.com/t/ipv6-over-ipv4-gre-with-ipsec/3151/1 "2018-03-12T15:16:02Z")

</div>

This topic is to discuss the following lesson:

> **[IPv6 over IPv4 GRE with IPSec](https://networklessons.com/ipv6/ipv6-over-ipv4-gre-with-ipsec)**
>
> IPv6 over IPv4 GRE with IPSec lets you transmit IPv6 unicast and multicast packets over an IPv4 network by tunneling with GRE and encrypting with IPSec.

---

<div class="post-metadata">

**Author:** ![chrisnewnham17](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@chrisnewnham17](https://forum.networklessons.com/u/chrisnewnham17)\
**Post date:** [March 21, 2018, 1:48pm UTC](https://forum.networklessons.com/t/ipv6-over-ipv4-gre-with-ipsec/3151/2 "2018-03-21T13:48:21Z")

</div>

Quick question Rene, if you were to omit the IPv6 global unicast address on the tunnel interface, would you need to use “ipv6 enable” instead so OSPFv3 could use a link local address? Or does enabling OSPFv3 on the interface automatically generate a link local address?

---

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [March 23, 2018, 1:58pm UTC](https://forum.networklessons.com/t/ipv6-over-ipv4-gre-with-ipsec/3151/3 "2018-03-23T13:58:31Z")

</div>

Hi Chris,

You’ll need to configure an IPv6 address or use “ipv6 enable”. Without an address, you get an error:

```
R1(config)#interface GigabitEthernet 0/1
R1(config-if)#ipv6 ospf 1 area 0
% OSPFv3: IPV6 is not enabled on this interface

```

Rene

---

<div class="post-metadata">

**Author:** ![f.mbomda](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/f.mbomda/32/1168_2.png) [@f.mbomda](https://forum.networklessons.com/u/f.mbomda)\
**Post date:** [November 22, 2018, 2:37pm UTC](https://forum.networklessons.com/t/ipv6-over-ipv4-gre-with-ipsec/3151/4 "2018-11-22T14:37:24Z")

</div>

Hi Rene  
I use virtual tunnel interface and i seem to work, it is correct ?

```
IPv4 Crypto ISAKMP SA
dst src state conn-id status
192.168.12.2 192.168.12.1 QM_IDLE 1002 ACTIVE
192.168.12.1 192.168.12.2 QM_IDLE 1001 ACTIVE

IPv6 Crypto ISAKMP SA

R1#sh crypto ipsec sa        

interface: Tunnel0
    Crypto map tag: Tunnel0-head-0, local addr 192.168.12.1

   protected vrf: (none)
   local ident (addr/mask/prot/port): (192.168.12.1/255.255.255.255/47/0)
   remote ident (addr/mask/prot/port): (192.168.12.2/255.255.255.255/47/0)
   current_peer 192.168.12.2 port 500
     PERMIT, flags={origin_is_acl,}
    #pkts encaps: 256, #pkts encrypt: 256, #pkts digest: 256
    #pkts decaps: 245, #pkts decrypt: 245, #pkts verify: 245
    #pkts compressed: 0, #pkts decompressed: 0
    #pkts not compressed: 0, #pkts compr. failed: 0

```

Another question is how much mtu does IPsec Takes

Cordially

---

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [November 28, 2018, 1:38pm UTC](https://forum.networklessons.com/t/ipv6-over-ipv4-gre-with-ipsec/3151/5 "2018-11-28T13:38:48Z")

</div>

Hi Fabrice,

This is looking good, the number of packets encrypted/decrypted tells you your VPN is working.

The overhead of IPSec depends whether you use AH, ESP, AH+ESP, tunnel or transport mode, and the algorithms you use. [Cisco has a very nice calculator](https://cway.cisco.com/tools/ipsec-overhead-calc/) that shows you exactly how much overhead you’ll have. Here is a screenshot:

 ![ipsec-overhead-calculator](https://cdn-forum.networklessons.com/uploads/default/original/2X/b/bd89a4e17185f57550a5c06e398380fc6160524d.jpeg)

Rene
