Project

General

Profile

Actions

Bug #3702

closed
CB RB

gif interface assignment removes tunnel's inside IPv6 IPs

Bug #3702: gif interface assignment removes tunnel's inside IPv6 IPs

Added by Chris Buechler over 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
High
Category:
Interfaces
Target version:
Start date:
06/08/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:

Description

Normally removing an IP from an interface where that type is "none" is appropriate. But not with gif (or tun or tap or GRE or any other interface type that's addressed elsewhere).

To replicate, you can follow our tunnel documentation (no need for an actual functional tunnel, can just check ifconfig on fake one if necessary).
https://doc.pfsense.org/index.php/Using_IPv6_on_2.1_with_a_Tunnel_Broker

after setting up the gif, you have:

: ifconfig gif0
gif0: flags=b051<UP,POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST> metric 0 mtu 1280
    tunnel inet 10.29.9.150 --> 10.15.25.14
    inet6 2001:470:fff0:54c::2 --> 2001:470:fff0:54c::1 prefixlen 128 
    inet6 fe80::20c:29ff:fe6b:34a%gif0 prefixlen 64 scopeid 0x7 
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

After assigning it (step "Configure OPT Interface" in above tunnel doc) and applying changes, you have a broken tunnel:

: ifconfig gif0
gif0: flags=b051<UP,POINTOPOINT,RUNNING,LINK0,LINK1,MULTICAST> metric 0 mtu 1280
    tunnel inet 10.29.9.150 --> 10.15.25.14
    inet6 fe80::20c:29ff:fe6b:34a%gif0 prefixlen 64 scopeid 0x7 
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

CB Updated by Chris Buechler over 12 years ago Actions #1

  • Parent task deleted (#2)

CB Updated by Chris Buechler over 12 years ago Actions #2

  • Priority changed from Normal to High

RB Updated by Renato Botelho over 12 years ago Actions #3

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:f01c3b5973e96502b787d282cc508a95f3a40d38.

JT Updated by Jim Thompson about 12 years ago Actions #4

  • Assignee set to Renato Botelho

CB Updated by Chris Buechler almost 12 years ago Actions #5

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom