Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    IPv6 dont work after Hardware Replace

    Scheduled Pinned Locked Moved IPv6
    13 Posts 2 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maydo
      last edited by maydo

      Hi,

      im running a MultiWan Setup incl. IPv6 since 2016
      3x ISPs and one of them provides IPv6

      After a Hardware Failure, i installed PFsense on New Hardware, assigned Interfaces and restored from config.xml (backups from the old hardware "working config")

      ipv4 works fine.
      ipv6, WAN interface gets an ipv6 address but not the the clients on LAN
      i have compared settings & rules from old hardware with new multiple times

      from dhcp6 logs

      Sep 22 07:38:50 dhcp6c 38842 script "/var/etc/dhcp6c_wan_script.sh" terminated
      Sep 22 07:38:50 dhcp6c dhcp6c REQUEST on pppoe0 - running rc.newwanipv6
      Sep 22 07:38:49 dhcp6c 38842 executes /var/etc/dhcp6c_wan_script.sh
      Sep 22 07:38:49 dhcp6c 38842 dhcp6c Received REQUEST
      Sep 22 07:38:47 dhcp6c 38575 <3>["/var/etc/dhcp6c_wan_script.sh"] (31)
      Sep 22 07:38:47 dhcp6c 38575 failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
      Sep 22 07:38:47 dhcp6c 38575 extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:xxxxxxxxx

      ipv6 interface
      20190922113040.jpg

      lan interface
      20190922113121.jpg

      • RA Adv Assisted

      this was working on the old hardware
      any ideas ?

      2.4.4-RELEASE-p2 (old hardware working config)
      2.4.4-RELEASE-p3 new installation

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by

        are you sure the prefix delegation size was not 64 instead of 60?

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • M
          maydo
          last edited by maydo

          i have also tried 64 prefix delegation size

          from old config
          20190922115201.jpg

          new
          20190922115142.jpg

          1 Reply Last reply Reply Quote 0
          • M
            maydo
            last edited by

            can someone say which setting is this "dhcp6cvpt" ?

            1 Reply Last reply Reply Quote 0
            • kiokomanK
              kiokoman LAYER 8
              last edited by kiokoman

              dhcp6cvpt',

              • 'VLAN Prio',
              • $pconfig['dhcp6cvpt'],
              • $vlanprio
                +))->setHelp('Choose 802.1p priority to set.');

              you also had some advanced configuration that now you don't have

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              Please do not use chat/PM to ask for help
              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

              1 Reply Last reply Reply Quote 0
              • M
                maydo
                last edited by maydo

                thank you for this information.

                i have no more ideas, tried almost everything since two days.
                it was working fine before moving to 2.4.4.3 and new hardware
                2.4.4.2 was running on old hardware

                maybe there is a bug on 2.4.4.3

                some more dhcp6 logs

                
                Sep 22 21:00:55	dhcp6c	97826	got an expected reply, sleeping.
                Sep 22 21:00:55	dhcp6c	97826	removing server (ID: 00:03:00:01:00:78:88:27:6b:00)
                Sep 22 21:00:55	dhcp6c	97826	removing an event on pppoe0, state=REQUEST
                Sep 22 21:00:55	dhcp6c	97826	script "/var/etc/dhcp6c_wan_script.sh" terminated
                Sep 22 21:00:55	dhcp6c		dhcp6c REQUEST on pppoe0 - running rc.newwanipv6
                Sep 22 21:00:54	dhcp6c	97826	executes /var/etc/dhcp6c_wan_script.sh
                Sep 22 21:00:54	dhcp6c	97826	add an address 2a03:93e0:200:83a0:a2ce:c8ff:fe10:843e/64 on ue0
                Sep 22 21:00:54	dhcp6c	97826	create a prefix 2a03:93e0:200:83a0::/60 pltime=87000, vltime=170000
                Sep 22 21:00:54	dhcp6c	97826	make an IA: PD-0
                Sep 22 21:00:54	dhcp6c	97826	dhcp6c Received REQUEST
                Sep 22 21:00:54	dhcp6c	97826	IA_PD prefix: 2a03:93e0:200:83a0::/60 pltime=87000 vltime=170000
                Sep 22 21:00:54	dhcp6c	97826	get DHCP option IA_PD prefix, len 25
                Sep 22 21:00:54	dhcp6c	97826	IA_PD: ID=0, T1=43500, T2=69600
                Sep 22 21:00:54	dhcp6c	97826	get DHCP option IA_PD, len 41
                Sep 22 21:00:54	dhcp6c	97826	DUID: 00:01:00:01:25:19:8a:50:40:16:7e:ad:20:aa
                Sep 22 21:00:54	dhcp6c	97826	get DHCP option client ID, len 14
                Sep 22 21:00:54	dhcp6c	97826	DUID: 00:03:00:01:00:78:88:27:6b:00
                Sep 22 21:00:54	dhcp6c	97826	get DHCP option server ID, len 10
                Sep 22 21:00:54	dhcp6c	97826	receive reply from fe80::278:88ff:fe27:6b00%pppoe0 on pppoe0
                Sep 22 21:00:54	dhcp6c	97826	reset a timer on pppoe0, state=REQUEST, timeo=0, retrans=909
                Sep 22 21:00:54	dhcp6c	97826	send request to ff02::1:2%pppoe0
                Sep 22 21:00:54	dhcp6c	97826	set IA_PD
                Sep 22 21:00:54	dhcp6c	97826	set IA_PD prefix
                Sep 22 21:00:54	dhcp6c	97826	set option request (len 4)
                Sep 22 21:00:54	dhcp6c	97826	set elapsed time (len 2)
                Sep 22 21:00:54	dhcp6c	97826	set server ID (len 10)
                Sep 22 21:00:54	dhcp6c	97826	set client ID (len 14)
                Sep 22 21:00:54	dhcp6c	97826	a new XID (61f002) is generated
                Sep 22 21:00:54	dhcp6c	97826	Sending Request
                Sep 22 21:00:54	dhcp6c	97826	picked a server (ID: 00:03:00:01:00:78:88:27:6b:00)
                Sep 22 21:00:53	dhcp6c	97826	reset timer for pppoe0 to 0.999074
                Sep 22 21:00:53	dhcp6c	97826	server ID: 00:03:00:01:00:78:88:27:6b:00, pref=-1
                Sep 22 21:00:53	dhcp6c	97826	IA_PD prefix: 2a03:93e0:200:83a0::/60 pltime=87000 vltime=170000
                Sep 22 21:00:53	dhcp6c	97826	get DHCP option IA_PD prefix, len 25
                Sep 22 21:00:53	dhcp6c	97826	IA_PD: ID=0, T1=43500, T2=69600
                Sep 22 21:00:53	dhcp6c	97826	get DHCP option IA_PD, len 41
                Sep 22 21:00:53	dhcp6c	97826	DUID: 00:01:00:01:25:19:8a:50:40:16:7e:ad:20:aa
                Sep 22 21:00:53	dhcp6c	97826	get DHCP option client ID, len 14
                Sep 22 21:00:53	dhcp6c	97826	DUID: 00:03:00:01:00:78:88:27:6b:00
                Sep 22 21:00:53	dhcp6c	97826	get DHCP option server ID, len 10
                Sep 22 21:00:53	dhcp6c	97826	receive advertise from fe80::278:88ff:fe27:6b00%pppoe0 on pppoe0
                Sep 22 21:00:53	dhcp6c	97826	reset a timer on pppoe0, state=SOLICIT, timeo=0, retrans=1091
                Sep 22 21:00:53	dhcp6c	97826	send solicit to ff02::1:2%pppoe0
                Sep 22 21:00:53	dhcp6c	97826	set IA_PD
                Sep 22 21:00:53	dhcp6c	97826	set IA_PD prefix
                Sep 22 21:00:53	dhcp6c	97826	set option request (len 4)
                Sep 22 21:00:53	dhcp6c	97826	set elapsed time (len 2)
                Sep 22 21:00:53	dhcp6c	97826	set identity association
                Sep 22 21:00:53	dhcp6c	97826	set client ID (len 14)
                Sep 22 21:00:53	dhcp6c	97826	a new XID (fae590) is generated
                Sep 22 21:00:53	dhcp6c	97826	Sending Solicit
                Sep 22 21:00:52	dhcp6c	97826	reset a timer on pppoe0, state=INIT, timeo=0, retrans=891
                Sep 22 21:00:52	dhcp6c	97719	called
                Sep 22 21:00:52	dhcp6c	97719	called
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of closure [}] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of closure [}] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[4] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[sla-len] (7)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[0] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[sla-id] (6)
                Sep 22 21:00:52	dhcp6c	97719	<3>begin of closure [{] (1)
                Sep 22 21:00:52	dhcp6c	97719	<5>[ue0] (3)
                Sep 22 21:00:52	dhcp6c	97719	<3>[prefix-interface] (16)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[infinity] (8)
                Sep 22 21:00:52	dhcp6c	97719	<3>[60] (2)
                Sep 22 21:00:52	dhcp6c	97719	<3>[/] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[::] (2)
                Sep 22 21:00:52	dhcp6c	97719	<3>[prefix] (6)
                Sep 22 21:00:52	dhcp6c	97719	<13>begin of closure [{] (1)
                Sep 22 21:00:52	dhcp6c	97719	<13>[0] (1)
                Sep 22 21:00:52	dhcp6c	97719	<13>[pd] (2)
                Sep 22 21:00:52	dhcp6c	97719	<3>[id-assoc] (8)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of closure [}] (1)
                Sep 22 21:00:52	dhcp6c	97719	<13>begin of closure [{] (1)
                Sep 22 21:00:52	dhcp6c	97719	<13>[0] (1)
                Sep 22 21:00:52	dhcp6c	97719	<13>[na] (2)
                Sep 22 21:00:52	dhcp6c	97719	<3>[id-assoc] (8)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of closure [}] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>comment [# we'd like some nameservers please] (35)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>["/var/etc/dhcp6c_wan_script.sh"] (31)
                Sep 22 21:00:52	dhcp6c	97719	<3>[script] (6)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[domain-name] (11)
                Sep 22 21:00:52	dhcp6c	97719	<3>[request] (7)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[domain-name-servers] (19)
                Sep 22 21:00:52	dhcp6c	97719	<3>[request] (7)
                Sep 22 21:00:52	dhcp6c	97719	<3>comment [# request prefix delegation] (27)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[0] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[ia-pd] (5)
                Sep 22 21:00:52	dhcp6c	97719	<3>[send] (4)
                Sep 22 21:00:52	dhcp6c	97719	<3>comment [# request stateful address] (26)
                Sep 22 21:00:52	dhcp6c	97719	<3>end of sentence [;] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[0] (1)
                Sep 22 21:00:52	dhcp6c	97719	<3>[ia-na] (5)
                Sep 22 21:00:52	dhcp6c	97719	<3>[send] (4)
                Sep 22 21:00:52	dhcp6c	97719	<3>begin of closure [{] (1)
                Sep 22 21:00:52	dhcp6c	97719	<5>[pppoe0] (6)
                Sep 22 21:00:52	dhcp6c	97719	<3>[interface] (9)
                Sep 22 21:00:52	dhcp6c	97719	skip opening control port
                Sep 22 21:00:52	dhcp6c	97719	failed initialize control message authentication
                Sep 22 21:00:52	dhcp6c	97719	failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
                Sep 22 21:00:52	dhcp6c	97719	extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:25:19:8a:50:40:16:7e:ad:20:aa
                
                1 Reply Last reply Reply Quote 0
                • kiokomanK
                  kiokoman LAYER 8
                  last edited by

                  you have the old working config,
                  just copy the wan part over the new config and upload it to pfsense, after that reboot and see if it work

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  Please do not use chat/PM to ask for help
                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                  1 Reply Last reply Reply Quote 0
                  • M
                    maydo
                    last edited by maydo

                    @kiokoman i have tried that, its same, i think its not the wan interface

                    i think there is something wrong with RA

                    if i go static ipv6 on lan interface and clients it works
                    if i go tracked interface on lan and dhcp6 managed or assisted, clients gets ipv6 but default route gateway is missing
                    stateless autoconfig does not work
                    any ideas ?

                    1 Reply Last reply Reply Quote 0
                    • kiokomanK
                      kiokoman LAYER 8
                      last edited by

                      i'm not aware of any problem with radvd on 2.4.4
                      for stateless autoconfig to work you need to set prefix to /64
                      check for it on every interface / dhcp6 server settings

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      Please do not use chat/PM to ask for help
                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                      1 Reply Last reply Reply Quote 0
                      • M
                        maydo
                        last edited by maydo

                        same with /64

                        static ipv6 works
                        assisted dhcp6 client gets ipv6 but no default route
                        and no stateless autoconfig

                        any other ideas ?

                        1 Reply Last reply Reply Quote 0
                        • M
                          maydo
                          last edited by maydo

                          i think this is the reason

                          From Routing Logs

                          
                          Sep 23 14:54:30	radvd	56862	ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
                          Sep 23 14:54:13	radvd	56862	ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
                          Sep 23 14:53:57	radvd	56862	ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
                          Sep 23 14:53:41	radvd	56862	ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
                          Sep 23 14:53:25	radvd	56862	ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
                          Sep 23 14:53:09	radvd	56862	ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
                          Sep 23 14:52:53	radvd	56862	ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
                          Sep 23 14:52:37	radvd	56862	ioctl(SIOCGIFMEDIA) failed on ue0: Invalid argument
                          
                          1 Reply Last reply Reply Quote 0
                          • M
                            maydo
                            last edited by maydo

                            the usb interface is just a temporary solution, will go for a normal networkcard, i think it will work

                            1 Reply Last reply Reply Quote 0
                            • M
                              maydo
                              last edited by

                              just installed a pci network card, and RA is working out of the box :)

                              thank you
                              resolved.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.