Project

General

Profile

Actions

Bug #9471

closed

GIF tunnel not added to interface group after reboot

Added by Foster Snowhill about 5 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
-
Start date:
04/12/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4-p2
Affected Architecture:

Description

Hello!

I have a GIF tunnel (gif0, opt4, TUN_6IN4_HE) configured as part of an interface group (PFORWARD_WAN). It gets added successfully when configured from the web interface, however it's not added to an interface group after reboot, so I have to manually remove and readd it again from the web interface.

pfSense version 2.4.4-p2 running on ESXi.

Snippet from config.xml:

<opt4>
    <descr><![CDATA[TUN_6IN4_HE]]></descr>
    <if>gif0</if>
    <enable></enable>
    <blockpriv></blockpriv>
    <blockbogons></blockbogons>
    <spoofmac></spoofmac>
    <mtu>1480</mtu>
</opt4>

<ifgroups>
    <ifgroupentry>
        <members>opt7 opt3 opt4 opt2 opt1 wan</members>
        <descr><![CDATA[Interfaces to allow forwarded traffic on (WAN)]]></descr>
        <ifname>PFORWARD_WAN</ifname>
    </ifgroupentry>
    ...
</ifgroups>

gif0 after reboot:

gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1480
    ...
    groups: gif

Same interface after removing/readding in the web UI:

gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1480
    ...
    groups: gif PFORWARD_WAN

Didn't find anything in system.log, dmesg or in other logs that could be related to the issue.

Actions #1

Updated by Viktor Gurov almost 4 years ago

no such issue on 2.4.5-p1,
I added the GIF, GRE, VTI, and OPT1 interface to the group of interfaces and can see them after rebooting with `ifconfig`. GIF and GRE interface uses WAN (DHCP or PPPoE) source interface.

but this issue can be caused by track interface, see #8273

Actions #2

Updated by Viktor Gurov over 2 years ago

  • Status changed from New to Feedback
  • Affected Version set to 2.4.4-p2

Could you test it on the latest development snapshot?

Actions #3

Updated by Alhusein Zawi almost 2 years ago

  • Status changed from Feedback to Resolved

added GIF,LAN,PPPoE and GRE to the group of interfaces, GIF is added to the interface group after reboot

ifconfig after reboot:

gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
description: GIF
options=80000<LINKSTATE>
tunnel inet 10.100.100.126 --> 209.51.181.2
inet6 fe80::1c39:eeff:fe3c:1d71%gif0 --> fe80::1c39:eeff:fe3c:1d72%gif0 prefixlen 128 scopeid 0x9
groups: gif test_int

22.01-RELEASE (amd64)
built on Mon Feb 07 16:37:59 UTC 2022
FreeBSD 12.3-STABLE

System KVM Guest

Actions

Also available in: Atom PDF