Bug #2571

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

Added by Bryan Biedenkapp 11 months ago. Updated 8 months ago.

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

100%

Category:Interfaces
Target version:-
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.

Associated revisions

Revision bfede3d4
Added by Jim P 11 months ago

Correct variable name. Fixes #2571

History

#1 Updated by Jim P 11 months ago

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

#2 Updated by Chris Buechler 8 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF