Project

General

Profile

Actions

Bug #2571

closed

Creating a IPv4 GRE tunnel in pfSense 2.1 results in no endpoint IP being set

Added by Bryan Biedenkapp about 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
-
Start date:
08/01/2012
Due date:
% Done:

100%

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

Description

When attempting to create a IPv4 GRE tunnel via the web console, the after the GRE tunnel is created no endpoint IP is set on the GRE device.

We are presented with this message in the system log:
php: /interfaces.php: The command '/sbin/ifconfig gre0 10.71.71.2 netmask 255.255.255.252' returned exit code '1', the output was 'ifconfig: ioctl (SIOCAIFADDR): Destination address required'

I did some snooping in the code and found a typo in the "interface_gre_configure" function in /etc/inc/interfaces.inc. Around line 788, the line reads: {$gif['tunnel-local-addr']} changing this to {$gre['tunnel-local-addr']} solves the issue it seems.

Actions #1

Updated by Jim Pingle about 13 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Chris Buechler almost 13 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF