Project

General

Profile

Actions

Bug #8048

closed

DHCPv6 Configured for LAN without LAN interface

Added by Clinton Cory over 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP (IPv6)
Target version:
Start date:
11/03/2017
Due date:
% Done:

100%

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

Description

Installed the latest 2.4.2-DEV CE snapshot on a VM with a single NIC

At the end of the installer I selected the option to drop to a rescue shell and noticed config.xml had a LAN interface and DHCP configured for LAN, despite not having a LAN interface. WAN was properly set to em0.

Rebooted and a message appeared as pfSense was booting - "network interface mismatch"
A prompt to setup the interfaces, starting with VLANs came up.

I selected N for VLANs, em0 for WAN, and none for LAN

Shell menu shows a single WAN interface correctly. I then check /conf/config.xml and despite the <lan> interface not being defined in the file, DHCPv6 is still configured to run on <lan>. DHCP (v4) is not still configured to run on LAN:

<dhcpd></dhcpd>
<dhcpdv6>
  <lan>
    <enable></enable>
    <range>
      <from>::1000</from>
      <to>:2000</to>
    </range>
    <raprioity>medium</rapriority>
  </lan>
</dhcpdv6>

I then powered off the VM, added three new network interfaces, and booted back up. I then went into the webGUI and added all three interfaces (Interfaces -> Assignments). The first interface I added defaulted to LAN and the others as OPT interfaces. I then select LAN - both IPv4 and IPv6 show as "none" by default. If I try to enable the interface with the defaults I get this error:

The following input errors were detected:
The DHCP6 Server is active on this interface and it can be used only with a static IPv6 configuration. Please disable the DHCPv6 Server service on this interface first, then change the interface configuration.

If I go to Services -> DHCPv6 I only see this error message:

The DHCPv6 Server can only be enabled on interfaces configured with a static IPv6 address. This system has none.

Also checked DHCPv6 Relay and it's not enabled

If I delete that LAN interface from Interfaces -> Assignment, dhcpdv6 changes in config.xml to this:

<dhcpdv6></dhcpdv6>

If I add the LAN interface back again I'm able to enable it without issue. I also tested this when adding a single interface rather than three.

Actions

Also available in: Atom PDF