[Bug 196011] New: if_gre tunnel works without rebooting system only in any one direction (send or receive)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 16 06:08:34 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196011

            Bug ID: 196011
           Summary: if_gre tunnel works without rebooting system only in
                    any one direction (send or receive)
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: kvas at bf.pstu.ru

Making tunnels from my FreeBSD server to cisco works only in gif-mode ("tunnel
mode ipip" in cisco terms). When tunnel was changed to gre-mode the situation
becames strange. If tunnel only receiving or only sending packets (changing it
with ipfw2 at FreeBSD and route priorities on cisco) it works great for
hundreds of hours. If usage of gre-tunnel becames bi-directional then in some
minutes (depends on load but not more then half-hour) the system reloads. After
reload there is nothing was found in logs about the reason of reload.
Bidirectional usage of gif-tunnel works fine. Unidirectional usage of
gre-tunnel works fine to. But I need to make all 3 tunnels (or at least 2 of
them) a gre-tunnels to be able to put "keepalive 1 3" in cisco configuration
making it able to detect tunnel aliveness.

I am using FreeBSD 10.1-Release (upgraded from 10.0) as router to connect LAN
to 2 (some times to 3) internet providers. Each provider gives as one white IP
(rtcom as PPPoE and saturn as /30 net in vlan). This functions works great. And
over each provider my server have to make a tunnel to our head office.
Previously it was done with cisco router and now I am trying to make this
scheme using FreeBSD as a router.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list