Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    IPv4/IPv6 over the same IPv4 GRE tunnel

    Scheduled Pinned Locked Moved IPv6
    2 Posts 1 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kerra
      last edited by

      I'm trying to setup a GRE tunnel between pfSense and a Cisco router. The WAN connection is IPv4 only. The GRE tunnel shall carry both IPv4 and IPv6 traffic. In my previous setup, with a Cisco router on my site as well, I could easy define one tunnel interface with both IPv4 and IPv6 adressess. Now, with pfSense on my site, as I understand it, I can't do that so I created two GRE interfaces (OPT1/OPT2). One with the IPv4 link addresses and one with the IPv6 link addresses.

      This worked fine until I upgraded to 2.3.0. Now, the IPv6 GRE tunnel (gre1/OPT2) is stuck in "pending" state and no IPv6 traffic if sent or received.

      I noticed, when showing the interface status, that the IPv6 GRE interface (gre1/OPT2) is not showing the correct MTU size and IPv6 netmask as configured on the interface. I'm not sure however, if this is something that would be resolved if the GRE tunnel was "up".

      Any hints are greatly appreciated… Thanks!

      //Staffan

      1 Reply Last reply Reply Quote 0
      • K
        kerra
        last edited by

        Running both IPv4 and IPv6 over the same IPv4 only GRE tunnel actually seems to work over the same tunnel now! The IPv6 link-local addresses that are set on the IPv4 GRE tunnel works fine to use as p2p link for IPv6 traffic. I needed to set the remote IPv6 link-local address as IPv6 default gateway, then everything started working.

        Remote end (Cisco router) is using static IPv6 routing with the Tunnel interface as route, thus using all available IPv6 addresses to route the traffic to pfsense, including the pfsense link-local address on the GRE interface.

        Success!

        //Staffan

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.