Project

General

Profile

Actions

Bug #11860

closed

GIF interfaces should be reconfigured when IPv6 address of a WAN-Interface changes

Added by Thorsten Zitterell over 3 years ago. Updated over 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
-
Start date:
04/27/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:
All

Description

I have successfully configured my router for DS-lite (NetCom BW, Germany) using PPPoE for initial WAN setup (IPv4 & IPv6 addresses). A GIF interface tunnels my private IPv4 addresses.

However, the tunnelled IPv4 connection stops working whenever rc.newwanip is called. It seems that the GIF-Interface is reconfigured before an IPv6 address has been retrieved.

If the GIF-interface has an IPv6 address as a remote peer then I think the GIF-tunnel should be reconfigured whenever rc.newwanipv6 is called.

I placed this code in rc.newwanipv6 (almost at the end after the OpenVPN part) which works for me as a workaround.


unset($gif);
$gif = link_interface_to_tunnelif($interface, 'gif');
if (!empty($gif)) {
array_walk($gif, 'interface_gif_configure');
}


Related issues

Is duplicate of Bug #6507: GRE and GIF tunnels on dynamic IPv6 interface are not brought up during bootClosedViktor Gurov06/20/2016

Actions
Actions

Also available in: Atom PDF