IPv6 dont work after Hardware Replace



  • 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


  • LAYER 8

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



  • i have also tried 64 prefix delegation size

    from old config
    20190922115201.jpg

    new
    20190922115142.jpg



  • can someone say which setting is this "dhcp6cvpt" ?


  • LAYER 8

    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



  • 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
    

  • LAYER 8

    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



  • @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 ?


  • LAYER 8

    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



  • same with /64

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

    any other ideas ?



  • 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
    


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



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

    thank you
    resolved.


Log in to reply