OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: BSAfH42 on March 24, 2024, 05:25:18 PM

Title: no DHCPv6 after Update to 24.x - no IPv6 address on LAN
Post by: BSAfH42 on March 24, 2024, 05:25:18 PM
Versions   
OPNsense 24.1.4-amd64
FreeBSD 13.2-RELEASE-p10
OpenSSL 3.0.13

I have set up a new machine (to act as a cold standby) with 23.1.x and restored the complete config from the production machine. On the production machine (still on 23.1.7) IPv6 and DHCPv6 work fine.

After that I upgraded the new machine using the "update from console" to 24.1.4

Now I don't have any IPv6 addresses on any of the local interfaces (named LAN, CONSOLE , WLAN and run0_wlan1=WLANUSB) and DHCPv6 does not start at all.

all local interfaces show: (Services --> ISC DHCPv6)
Available range No available address range for configured interface subnet size.

I followed https://forum.opnsense.org/index.php?topic=34584.0 (https://forum.opnsense.org/index.php?topic=34584.0) but that did not help.

(https://forum.opnsense.org/index.php?action=dlattach;topic=39616.0;attach=34043)

(https://forum.opnsense.org/index.php?action=dlattach;topic=39616.0;attach=34045)

(https://forum.opnsense.org/index.php?action=dlattach;topic=39616.0;attach=34047)

My ISP is Dt. Telekom, and I get a /57 subnet from them. The WAN Interface does get a correct IPv6 address:

(https://forum.opnsense.org/index.php?action=dlattach;topic=39616.0;attach=34049)

WAN (wan) igb0 dhcp
IPv4
192.168.178.58/24

IPv6
2003:ce:7710:1700:a236:9fff:fe5a:93b0/64
fd29:12:1960:3556:a236:9fff:fe5a:93b0/64
fe80::a236:9fff:fe5a:93b0/64

Gateway
192.168.178.1
fe80::9a9b:cbff:fe08:3ca0

Routes
default
192.168.178.0/24
default
2003:ce:7710:1700::/64
2003:ce:7710:1700:9a9b:cbff:fe08:3ca0
fd29:12:1960:3556::/64
fd29:12:1960:3556:9a9b:cbff:fe08:3ca0
fe80::%igb0/64



interface definitions are as follows ( /conf/config.xml)


  <interfaces>
    <wan>
      <if>igb0</if>
      <descr>WAN</descr>
      <enable>1</enable>
      <lock>1</lock>
      <spoofmac/>
      <promisc>1</promisc>
      <ipaddr>dhcp</ipaddr>
      <dhcphostname/>
      <alias-address/>
      <alias-subnet>24</alias-subnet>
      <dhcprejectfrom/>
      <adv_dhcp_pt_timeout/>
      <adv_dhcp_pt_retry/>
      <adv_dhcp_pt_select_timeout/>
      <adv_dhcp_pt_reboot/>
      <adv_dhcp_pt_backoff_cutoff/>
      <adv_dhcp_pt_initial_interval/>
      <adv_dhcp_pt_values>SavedCfg</adv_dhcp_pt_values>
      <adv_dhcp_send_options/>
      <adv_dhcp_request_options/>
      <adv_dhcp_required_options/>
      <adv_dhcp_option_modifiers/>
      <adv_dhcp_config_advanced/>
      <adv_dhcp_config_file_override/>
      <adv_dhcp_config_file_override_path/>
      <ipaddrv6>dhcp6</ipaddrv6>
      <dhcp6-ia-pd-len>7</dhcp6-ia-pd-len>
      <dhcp6-ia-pd-send-hint>1</dhcp6-ia-pd-send-hint>
      <dhcp6prefixonly>1</dhcp6prefixonly>
      <dhcp6usev4iface>1</dhcp6usev4iface>
      <adv_dhcp6_interface_statement_send_options/>
      <adv_dhcp6_interface_statement_request_options/>                                                                                                                                                                                            <adv_dhcp6_interface_statement_information_only_enable/>
      <adv_dhcp6_interface_statement_script/>
      <adv_dhcp6_id_assoc_statement_address_enable/>
      <adv_dhcp6_id_assoc_statement_address/>
      <adv_dhcp6_id_assoc_statement_address_id/>
      <adv_dhcp6_id_assoc_statement_address_pltime/>
      <adv_dhcp6_id_assoc_statement_address_vltime/>
      <adv_dhcp6_id_assoc_statement_prefix_enable/>
      <adv_dhcp6_id_assoc_statement_prefix/>
      <adv_dhcp6_id_assoc_statement_prefix_id/>
      <adv_dhcp6_id_assoc_statement_prefix_pltime/>
      <adv_dhcp6_id_assoc_statement_prefix_vltime/>
      <adv_dhcp6_prefix_interface_statement_sla_len/>
      <adv_dhcp6_authentication_statement_authname/>
      <adv_dhcp6_authentication_statement_protocol/>
      <adv_dhcp6_authentication_statement_algorithm/>
      <adv_dhcp6_authentication_statement_rdm/>
      <adv_dhcp6_key_info_statement_keyname/>
      <adv_dhcp6_key_info_statement_realm/>
      <adv_dhcp6_key_info_statement_keyid/>
      <adv_dhcp6_key_info_statement_secret/>
      <adv_dhcp6_key_info_statement_expire/>
      <adv_dhcp6_config_advanced/>
      <adv_dhcp6_config_file_override/>
      <adv_dhcp6_config_file_override_path/>
    </wan>
    <lan>
      <if>igb1</if>
      <descr>LAN</descr>
      <enable>1</enable>
      <lock>1</lock>
      <spoofmac/>
      <ipaddr>192.168.80.2</ipaddr>
      <subnet>24</subnet>
      <ipaddrv6>track6</ipaddrv6>
      <track6-interface>wan</track6-interface>
      <track6-prefix-id>5</track6-prefix-id>
      <dhcpd6track6allowoverride>1</dhcpd6track6allowoverride>
      <hw_settings_overwrite>1</hw_settings_overwrite>
      <disablechecksumoffloading>1</disablechecksumoffloading>
      <disablesegmentationoffloading>1</disablesegmentationoffloading>
      <disablelargereceiveoffloading>1</disablelargereceiveoffloading>
      <disablevlanhwfilter>1</disablevlanhwfilter>
    </lan>
    <lo0>
      <internal_dynamic>1</internal_dynamic>
      <descr>Loopback</descr>
      <enable>1</enable>
      <if>lo0</if>
      <ipaddr>127.0.0.1</ipaddr>
      <ipaddrv6>::1</ipaddrv6>
      <subnet>8</subnet>
      <subnetv6>128</subnetv6>
      <type>none</type>
      <virtual>1</virtual>
    </lo0>


Any ideas?