Project

General

Profile

Actions

Bug #4572

closed

dhcrely ipv6 uses invalid network name

Added by Klaus Steinberger over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP Relay
Target version:
Start date:
04/02/2015
Due date:
% Done:

0%

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

Description

Hi,

i tried to setup dhcrelay für IPV6, but it didn't start.

The dhcp server in my case is outside the WAN interface (currently until we move all networks from our old firewall)

the reason: it got the name of the interface incorrectly:

Mar 18 15:07:08 gar-sv-fw01 dhcrelay: Internet Systems Consortium DHCP Relay Agent 4.2.6
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: Copyright 2004-2014 Internet Systems Consortium.
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: All rights reserved.
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: For info, please visit https://www.isc.org/software/dhcp/
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: Bound to *:547
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: No interface called 'wan'
Mar 18 15:07:08 gar-sv-fw01 dhcrelay:

the system tried to start dhcrelay with this command:

/usr/local/sbin/dhcrelay -6 -pf /var/run/dhcrelay6.pid -l ix1_vlan2357 -u 2001:4ca0:4103:200:10:153:239:248%wan

The correct name for the interface is ix01, so my workaround was to start the daemon by hand:

/usr/local/sbin/dhcrelay -6 -pf /var/run/dhcrelay6.pid -l ix1_vlan2357 -u 2001:4ca0:4103:200:10:153:239:248%ix0

Actions

Also available in: Atom PDF