[SOLVED] My OPNSense cant route IPv6

Started by muchacha_grande, March 12, 2021, 11:08:03 PM

Previous topic - Next topic
March 12, 2021, 11:08:03 PM Last Edit: March 18, 2021, 04:44:29 AM by muchacha_grande
Hi, I have a fibre connection of 50/10 Mbit.
My ISP doesn't allow me to configure the modem so the only thing I can do it configure a DMZ pointing to my OPNSense.
Recently my ISP implemented IPv6 and I discovered it by accident while I was connected directly to the GPON router.
So I configured OPNSense to get an IPv6 address via DHCPv6.
It now have IPs v4 and v6 on WAN.
I can ping to Internet from WAN interface, but when I try to ping from LAN or from a PC on LAN it doesn't work.
I noticed that the default IPv6 gateway it fe80::1 and not the IP of the interface or a link-local IP.
The ISP is ginving me a /64 prefix.
I've been making lots of experiments to try to make it work, but nothing. The best thing I get is pinging from WAN.

May be someone can give a clue to test farther.

Thank you

March 13, 2021, 01:18:29 AM #1 Last Edit: March 13, 2021, 01:23:10 AM by Voodoo
64 prefix means you are limited to 1 subnet = wan, so you can not setup ipv6 for your lan/dmz.

"Interfaces -> Overview -> WAN -> IPv6 delegated prefix"

If you have a prefix <=63 you have to setup router advertisement for SLAAC.

How can I do to configure SLAAC. Please excuse my ignorance.

SLAAC is automatic and on by default. Have you asked your ISP if they are supplying a prefix delegation as well? Might be that they are and you need to adjust some settings to enable it. Check with your ISP and find out how they have implemented Ipv6. If they are only giving a single /64 they are brain dead and I would try and find another ISP
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

March 13, 2021, 04:04:41 PM #4 Last Edit: March 13, 2021, 04:18:54 PM by muchacha_grande
Hi @marjohn56, unfortunately here in Argentina it is just like you last said: they are brain dead.

Trying to get some info from the employees that pick up the phone or answer the emails is a waste of time.

If I want a decent service I have to pay for an enterprise grade service that is far unaffordable to me.

That's the reason why I have to make this without ISP help. They are not going to help because the service just work as they expect. Local PCs have dual stack Internet.

When OPNSense ask for an IPv6 vía DHCPv6c, it receives an IP and a delegated prefix. I can see that in Interfaces > Overview > WAN

This is the what I see:

IPv6 link-local                  fe80::20c:29ff:fe72:f8/64
IPv6 address                  2803:xxxx:xxxx:xxxx:20c:29ff:fe72:f8/64
                                       2803:xxxx:xxxx:xxxx::1/128
IPv6 delegated prefix     2803:xxxx:xxxx:xxxx::/64
IPv6 gateway                 fe80::1

One thing I tested is setting WAN and LAN IPs manually.
Doing a packet capture on WAN while sending a ping to google.com from WAN itself, I can see the conversation with the response, but when I send the ping from LAN, OPNSense doesn't respond to neighbor solicitation that the IPSs router make.

PING from WAN:

No.   Source                                 Destination
1     2803:xxxx:xxxx:xxxx::1       2800:3f0:4002:808::200e
Echo (ping) request id=0x083a, seq=0, hop limit=64 (reply in 4)

2     fe80::1                                 ff02::1:ff00:1
Neighbor Solicitation for 2803:xxxx:xxxx:xxxx::1 from 50:6f:77:7d:dd:57

3     fe80::20c:29ff:fe72:f8          fe80::1
Neighbor Advertisement 2803:xxxx:xxxx:xxxx::1 (rtr, sol, ovr) is at 00:0c:29:72:00:f8

4     2800:3f0:4002:808::200e    2803:xxxx:xxxx:xxxx::1
Echo (ping) reply id=0x083a, seq=0, hop limit=116 (request in 1)

PING from LAN:

No. Source                                  Destination
1    2803:xxxx:xxxx:xxxx:1::1     2800:3f0:4002:808::200e
Echo (ping) request id=0xf8b6, seq=0, hop limit=64 (no response found!)

2    fe80::1                                 ff02::1:ff00:1
Neighbor Solicitation for 2803:xxxx:xxxx:xxxx:1::1 from 50:6f:77:7d:dd:57

3   fe80::1                              ff02::1:ff00:1
Neighbor Solicitation for 2803:xxxx:xxxx:xxxx:1::1 from 50:6f:77:7d:dd:57

4   fe80::1                              ff02::1:ff00:1
Neighbor Solicitation for 2803:xxxx:xxxx:xxxx:1::1 from 50:6f:77:7d:dd:57

5   fe80::20c:29ff:fe72:f8        fe80::1
Neighbor Solicitation for fe80::1 from 00:0c:29:72:00:f8

6   fe80::1                                fe80::20c:29ff:fe72:f8
Neighbor Advertisement fe80::1 (rtr, sol)

I can see in the second capture that ISP router makes 3 neighbor solicitations and nobody answers, so it gives up and it doesn't forwards the ping response. But I'm not sure of my conclusions.

In the dhcp6c settings of the WAN interface is an option for SLA Len or as it's shown there "Prefix delegation size", set it to 64, and see if that helps.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

It is already set to 64, as it comes as default. I made tests with different values and with "none", but now os set to 64.

March 13, 2021, 06:33:29 PM #7 Last Edit: March 13, 2021, 06:35:08 PM by marjohn56
Can you go Interfaces->Settings, there is a section for dhcp6c, set the log level to debug and save, you'll then need to reboot. When it comes back up, give it 60 seconds or so to settle then go to the system logs and add a search filter dhcp6c, then post the results so we can see what gives.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Are you seeing a GUA address on the LAN?
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

March 13, 2021, 07:16:25 PM #9 Last Edit: March 13, 2021, 07:18:12 PM by muchacha_grande
In response to your second question, I can see an IPv6 address on LAN. From the Interfaces > Overview > LAN

IPv6 link-local   fe80::20c:29ff:fe72:ee/64
IPv6 address   2803:xxxx:xxxx:xxxx:20c:29ff:fe72:ee/64

EDIT: LAN IPv6 is set to track WAN interface

And I did the dhcp6c debug as you asked. Here it is the filtered log:


2021-03-13T14:55:14 dhcp6c[661] got an expected reply, sleeping.
2021-03-13T14:55:14 dhcp6c[661] removing server (ID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57)
2021-03-13T14:55:14 dhcp6c[661] removing an event on em1, state=REQUEST
2021-03-13T14:55:14 dhcp6c[661] script "/var/etc/dhcp6c_wan_script.sh" terminated
2021-03-13T14:55:14 dhcp6c[74388] dhcp6c REQUEST on em1 - running newipv6
2021-03-13T14:55:14 dhcp6c[56067] dhcp6c REQUEST on em1
2021-03-13T14:55:14 dhcp6c[661] executes /var/etc/dhcp6c_wan_script.sh
2021-03-13T14:55:14 dhcp6c[661] add an address 2803:xxxx:xxxx:xxxx::1/128 on em1
2021-03-13T14:55:14 dhcp6c[661] create an address 2803:xxxx:xxxx:xxxx::1 pltime=1209600, vltime=3498554121644045568
2021-03-13T14:55:14 dhcp6c[661] make an IA: NA-0
2021-03-13T14:55:14 dhcp6c[661] add an address 2803:xxxx:xxxx:xxxx:20c:29ff:fe72:ee/64 on em0_vlan2
2021-03-13T14:55:14 dhcp6c[661] create a prefix 2803:xxxx:xxxx:xxxx::/64 pltime=1209600, vltime=1209600
2021-03-13T14:55:14 dhcp6c[661] nameserver[0] fe80::1
2021-03-13T14:55:14 dhcp6c[661] IA_PD: ID=0, T1=604800, T2=967680
2021-03-13T14:55:14 dhcp6c[661] get DHCP option DNS, len 16
2021-03-13T14:55:14 dhcp6c[661] IA_NA address: 2803:xxxx:xxxx:xxxx::1 pltime=1209600 vltime=1209600
2021-03-13T14:55:14 dhcp6c[661] get DHCP option IA address, len 24
2021-03-13T14:55:14 dhcp6c[661] IA_NA: ID=0, T1=604800, T2=967680
2021-03-13T14:55:14 dhcp6c[661] get DHCP option identity association, len 40
2021-03-13T14:55:14 dhcp6c[661] DUID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57
2021-03-13T14:55:14 dhcp6c[661] get DHCP option server ID, len 14
2021-03-13T14:55:14 dhcp6c[661] DUID: 00:01:00:01:27:33:4f:41:00:0c:29:72:00:ee
2021-03-13T14:55:14 dhcp6c[661] get DHCP option client ID, len 14
2021-03-13T14:55:14 dhcp6c[661] receive reply from fe80::1%em1 on em1
2021-03-13T14:55:14 dhcp6c[661] reset a timer on em1, state=REQUEST, timeo=0, retrans=1027
2021-03-13T14:55:14 dhcp6c[661] send request to ff02::1:2%em1
2021-03-13T14:55:14 dhcp6c[661] set IA_PD
2021-03-13T14:55:14 dhcp6c[661] set option request (len 4)
2021-03-13T14:55:14 dhcp6c[661] set server ID (len 14)
2021-03-13T14:55:14 dhcp6c[661] set client ID (len 14)
2021-03-13T14:55:14 dhcp6c[661] a new XID (787e29) is generated
2021-03-13T14:55:14 dhcp6c[661] Sending Request
2021-03-13T14:55:14 dhcp6c[661] server ID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57, pref=255
2021-03-13T14:55:14 dhcp6c[661] IA_PD prefix: 2803:xxxx:xxxx:xxxx::/64 pltime=1209600 vltime=106523780084992
2021-03-13T14:55:14 dhcp6c[661] get DHCP option IA_PD prefix, len 25
2021-03-13T14:55:14 dhcp6c[661] IA_PD: ID=0, T1=604800, T2=967680
2021-03-13T14:55:14 dhcp6c[661] get DHCP option IA_PD, len 41
2021-03-13T14:55:14 dhcp6c[661] get DHCP option DNS, len 16
2021-03-13T14:55:14 dhcp6c[661] status code: success
2021-03-13T14:55:14 dhcp6c[661] get DHCP option status code, len 2
2021-03-13T14:55:14 dhcp6c[661] preference: 255
2021-03-13T14:55:14 dhcp6c[661] get DHCP option preference, len 1
2021-03-13T14:55:14 dhcp6c[661] IA_NA address: 2803:xxxx:xxxx:xxxx::1 pltime=1209600 vltime=1209600
2021-03-13T14:55:14 dhcp6c[661] get DHCP option IA address, len 24
2021-03-13T14:55:14 dhcp6c[661] IA_NA: ID=0, T1=604800, T2=967680
2021-03-13T14:55:14 dhcp6c[661] get DHCP option identity association, len 40
2021-03-13T14:55:14 dhcp6c[661] DUID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57
2021-03-13T14:55:14 dhcp6c[661] get DHCP option server ID, len 14
2021-03-13T14:55:14 dhcp6c[661] DUID: 00:01:00:01:27:33:4f:41:00:0c:29:72:00:ee
2021-03-13T14:55:14 dhcp6c[661] get DHCP option client ID, len 14
2021-03-13T14:55:14 dhcp6c[661] receive advertise from fe80::1%em1 on em1
2021-03-13T14:55:14 dhcp6c[661] reset a timer on em1, state=SOLICIT, timeo=0, retrans=1038
2021-03-13T14:55:14 dhcp6c[661] send solicit to ff02::1:2%em1
2021-03-13T14:55:14 dhcp6c[661] set IA_PD
2021-03-13T14:55:14 dhcp6c[661] set IA_PD prefix
2021-03-13T14:55:14 dhcp6c[661] set option request (len 4)
2021-03-13T14:55:14 dhcp6c[661] set elapsed time (len 2)
2021-03-13T14:55:14 dhcp6c[661] set identity association
2021-03-13T14:55:14 dhcp6c[661] set client ID (len 14)
2021-03-13T14:55:14 dhcp6c[661] a new XID (73ad39) is generated
2021-03-13T14:55:14 dhcp6c[661] Sending Solicit
2021-03-13T14:55:13 dhcp6c[661] got an expected reply, sleeping.
2021-03-13T14:55:13 dhcp6c[661] removing an event on em1, state=RELEASE
2021-03-13T14:55:13 dhcp6c[661] script "/var/etc/dhcp6c_wan_script.sh" terminated
2021-03-13T14:55:13 dhcp6c[81065] dhcp6c RELEASE on em1 - running newipv6
2021-03-13T14:55:13 dhcp6c[50415] dhcp6c RELEASE on em1
2021-03-13T14:55:13 dhcp6c[661] executes /var/etc/dhcp6c_wan_script.sh
2021-03-13T14:55:13 dhcp6c[661] status code: success
2021-03-13T14:55:13 dhcp6c[661] Received REPLY for RELEASE
2021-03-13T14:55:13 dhcp6c[661] status code: success
2021-03-13T14:55:13 dhcp6c[661] get DHCP option status code, len 2
2021-03-13T14:55:13 dhcp6c[661] DUID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57
2021-03-13T14:55:13 dhcp6c[661] get DHCP option server ID, len 14
2021-03-13T14:55:13 dhcp6c[661] DUID: 00:01:00:01:27:33:4f:41:00:0c:29:72:00:ee
2021-03-13T14:55:13 dhcp6c[661] get DHCP option client ID, len 14
2021-03-13T14:55:13 dhcp6c[661] receive reply from fe80::1%em1 on em1
2021-03-13T14:55:13 dhcp6c[661] got an expected reply, sleeping.
2021-03-13T14:55:13 dhcp6c[661] removing an event on em1, state=RELEASE
2021-03-13T14:55:13 dhcp6c[661] script "/var/etc/dhcp6c_wan_script.sh" terminated
2021-03-13T14:55:13 dhcp6c[14868] dhcp6c RELEASE on em1 - running newipv6
2021-03-13T14:55:13 dhcp6c[750] dhcp6c RELEASE on em1
2021-03-13T14:55:13 dhcp6c[661] executes /var/etc/dhcp6c_wan_script.sh
2021-03-13T14:55:13 dhcp6c[661] status code: success
2021-03-13T14:55:13 dhcp6c[661] Received REPLY for RELEASE
2021-03-13T14:55:13 dhcp6c[661] status code: success
2021-03-13T14:55:13 dhcp6c[661] get DHCP option status code, len 2
2021-03-13T14:55:13 dhcp6c[661] DUID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57
2021-03-13T14:55:13 dhcp6c[661] get DHCP option server ID, len 14
2021-03-13T14:55:13 dhcp6c[661] DUID: 00:01:00:01:27:33:4f:41:00:0c:29:72:00:ee
2021-03-13T14:55:13 dhcp6c[661] get DHCP option client ID, len 14
2021-03-13T14:55:13 dhcp6c[661] receive reply from fe80::1%em1 on em1
2021-03-13T14:55:13 dhcp6c[661] reset a timer on em1, state=INIT, timeo=0, retrans=913
2021-03-13T14:55:13 dhcp6c[661] called
2021-03-13T14:55:13 dhcp6c[661] called
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[0] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[sla-len] (7)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[0] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[sla-id] (6)
2021-03-13T14:55:13 dhcp6c[661] <3>begin of closure [{] (1)
2021-03-13T14:55:13 dhcp6c[661] <5>[em0_vlan2] (9)
2021-03-13T14:55:13 dhcp6c[661] <3>[prefix-interface] (16)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[infinity] (8)
2021-03-13T14:55:13 dhcp6c[661] <3>[64] (2)
2021-03-13T14:55:13 dhcp6c[661] <3>[/] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[::] (2)
2021-03-13T14:55:13 dhcp6c[661] <3>[prefix] (6)
2021-03-13T14:55:13 dhcp6c[661] <13>begin of closure [{] (1)
2021-03-13T14:55:13 dhcp6c[661] <13>[0] (1)
2021-03-13T14:55:13 dhcp6c[661] <13>[pd] (2)
2021-03-13T14:55:13 dhcp6c[661] <3>[id-assoc] (8)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <13>[na] (2)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>["/var/etc/dhcp6c_wan_script.sh"] (31)
2021-03-13T14:55:13 dhcp6c[661] <3>[script] (6)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[domain-name] (11)
2021-03-13T14:55:13 dhcp6c[661] <3>[request] (7)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[domain-name-servers] (19)
2021-03-13T14:55:13 dhcp6c[661] <3>[request] (7)
2021-03-13T14:55:13 dhcp6c[661] <3>comment [# request prefix delegation] (27)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[0] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[ia-pd] (5)
2021-03-13T14:55:13 dhcp6c[661] <3>[send] (4)
2021-03-13T14:55:13 dhcp6c[661] <3>comment [# request stateful address] (26)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[0] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[ia-na] (5)
2021-03-13T14:55:13 dhcp6c[661] <3>[send] (4)
2021-03-13T14:55:13 dhcp6c[661] <3>begin of closure [{] (1)
2021-03-13T14:55:13 dhcp6c[661] <5>[em1] (3)
2021-03-13T14:55:13 dhcp6c[661] <3>[interface] (9)
2021-03-13T14:55:13 dhcp6c[661] duplicated interface: em1
2021-03-13T14:55:13 dhcp6c[661] called
2021-03-13T14:55:13 dhcp6c[661] called
2021-03-13T14:55:13 dhcp6c[661] <3>end of closure [}] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>end of closure [}] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[sla-len] (7)
2021-03-13T14:55:13 dhcp6c[661] <5>[em0_vlan2] (9)
2021-03-13T14:55:13 dhcp6c[661] <3>[prefix-interface] (16)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[infinity] (8)
2021-03-13T14:55:13 dhcp6c[661] <3>[64] (2)
2021-03-13T14:55:13 dhcp6c[661] <3>[::] (2)
2021-03-13T14:55:13 dhcp6c[661] <3>[prefix] (6)
2021-03-13T14:55:13 dhcp6c[661] <13>[0] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[id-assoc] (8)
2021-03-13T14:55:13 dhcp6c[661] <13>begin of closure [{] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>comment [# we'd like some nameservers please] (35)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[script] (6)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[request] (7)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[domain-name-servers] (19)
2021-03-13T14:55:13 dhcp6c[661] <3>[request] (7)
2021-03-13T14:55:13 dhcp6c[661] <3>comment [# request prefix delegation] (27)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[0] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[ia-pd] (5)
2021-03-13T14:55:13 dhcp6c[661] <3>[send] (4)
2021-03-13T14:55:13 dhcp6c[661] <3>comment [# request stateful address] (26)
2021-03-13T14:55:13 dhcp6c[661] <3>end of sentence [;] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[0] (1)
2021-03-13T14:55:13 dhcp6c[661] <3>[ia-na] (5)
2021-03-13T14:55:13 dhcp6c[661] <3>[send] (4)
2021-03-13T14:55:13 dhcp6c[661] <3>begin of closure [{] (1)
2021-03-13T14:55:13 dhcp6c[661] <5>[em1] (3)
2021-03-13T14:55:13 dhcp6c[661] <3>[interface] (9)
2021-03-13T14:55:13 dhcp6c[661] removing an event on em1, state=INIT
2021-03-13T14:55:13 dhcp6c[661] removing an event on em1, state=INIT
2021-03-13T14:55:13 dhcp6c[661] reset a timer on em1, state=INIT, timeo=0, retrans=192
2021-03-13T14:55:13 dhcp6c[661] remove an address 2803:xxxx:xxxx:xxxx:20c:29ff:fe72:ee/64 on em0_vlan2
2021-03-13T14:55:13 dhcp6c[661] remove a site prefix 2803:xxxx:xxxx:xxxx::/64
2021-03-13T14:55:13 dhcp6c[661] remove an IA: PD-0
2021-03-13T14:55:13 dhcp6c[661] send release to ff02::1:2%em1
2021-03-13T14:55:13 dhcp6c[661] set IA_PD
2021-03-13T14:55:13 dhcp6c[661] set elapsed time (len 2)
2021-03-13T14:55:13 dhcp6c[661] set client ID (len 14)
2021-03-13T14:55:13 dhcp6c[661] release an IA: PD-0
2021-03-13T14:55:13 dhcp6c[661] Start address release
2021-03-13T14:55:13 dhcp6c[661] reset a timer on em1, state=INIT, timeo=0, retrans=244
2021-03-13T14:55:13 dhcp6c[661] remove an address 2803:xxxx:xxxx:xxxx::1/128 on em1
2021-03-13T14:55:13 dhcp6c[661] remove an address 2803:xxxx:xxxx:xxxx::1
2021-03-13T14:55:13 dhcp6c[661] remove an IA: NA-0
2021-03-13T14:55:13 dhcp6c[661] send release to ff02::1:2%em1
2021-03-13T14:55:13 dhcp6c[661] set elapsed time (len 2)
2021-03-13T14:55:13 dhcp6c[661] set identity association
2021-03-13T14:55:13 dhcp6c[661] set IA address
2021-03-13T14:55:13 dhcp6c[661] set server ID (len 14)
2021-03-13T14:55:13 dhcp6c[661] set client ID (len 14)
2021-03-13T14:55:13 dhcp6c[661] a new XID (541122) is generated
2021-03-13T14:55:13 dhcp6c[661] Sending Release
2021-03-13T14:55:13 dhcp6c[661] reset a timer on em1, state=RELEASE, timeo=0, retrans=1025
2021-03-13T14:55:13 dhcp6c[661] release an IA: NA-0
2021-03-13T14:55:13 dhcp6c[661] Start address release
2021-03-13T14:55:13 dhcp6c[661] restarting
2021-03-13T14:55:13 dhcp6c[61388] RTSOLD script - Sending SIGHUP to dhcp6c
2021-03-13T14:55:13 dhcp6c[661] got an expected reply, sleeping.
2021-03-13T14:55:13 dhcp6c[661] removing server (ID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57)
2021-03-13T14:55:13 dhcp6c[661] removing an event on em1, state=REQUEST
2021-03-13T14:55:13 dhcp6c[661] script "/var/etc/dhcp6c_wan_script.sh" terminated
2021-03-13T14:55:13 dhcp6c[43329] dhcp6c REQUEST on em1 - running newipv6
2021-03-13T14:55:13 dhcp6c[22714] dhcp6c REQUEST on em1
2021-03-13T14:55:13 dhcp6c[661] executes /var/etc/dhcp6c_wan_script.sh
2021-03-13T14:55:13 dhcp6c[661] add an address 2803:xxxx:xxxx:xxxx::1/128 on em1
2021-03-13T14:55:13 dhcp6c[661] create an address 2803:xxxx:xxxx:xxxx::1 pltime=1209600, vltime=3498554121644045568
2021-03-13T14:55:13 dhcp6c[661] make an IA: NA-0
2021-03-13T14:55:13 dhcp6c[661] add an address 2803:xxxx:xxxx:xxxx:20c:29ff:fe72:ee/64 on em0_vlan2
2021-03-13T14:55:13 dhcp6c[661] create a prefix 2803:xxxx:xxxx:xxxx::/64 pltime=1209600, vltime=1209600
2021-03-13T14:55:13 dhcp6c[661] make an IA: PD-0
2021-03-13T14:55:13 dhcp6c[661] nameserver[0] fe80::1
2021-03-13T14:55:13 dhcp6c[661] IA_PD prefix: 2803:xxxx:xxxx:xxxx::/64 pltime=1209600 vltime=106523780084992
2021-03-13T14:55:13 dhcp6c[661] get DHCP option IA_PD prefix, len 25
2021-03-13T14:55:13 dhcp6c[661] IA_PD: ID=0, T1=604800, T2=967680
2021-03-13T14:55:13 dhcp6c[661] get DHCP option IA_PD, len 41
2021-03-13T14:55:13 dhcp6c[661] get DHCP option DNS, len 16
2021-03-13T14:55:13 dhcp6c[661] IA_NA address: 2803:xxxx:xxxx:xxxx::1 pltime=1209600 vltime=1209600
2021-03-13T14:55:13 dhcp6c[661] get DHCP option IA address, len 24
2021-03-13T14:55:13 dhcp6c[661] IA_NA: ID=0, T1=604800, T2=967680
2021-03-13T14:55:13 dhcp6c[661] get DHCP option identity association, len 40
2021-03-13T14:55:13 dhcp6c[661] DUID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57
2021-03-13T14:55:13 dhcp6c[661] get DHCP option server ID, len 14
2021-03-13T14:55:13 dhcp6c[661] DUID: 00:01:00:01:27:33:4f:41:00:0c:29:72:00:ee
2021-03-13T14:55:13 dhcp6c[661] get DHCP option client ID, len 14
2021-03-13T14:55:13 dhcp6c[661] receive reply from fe80::1%em1 on em1
2021-03-13T14:55:13 dhcp6c[661] reset a timer on em1, state=REQUEST, timeo=0, retrans=911
2021-03-13T14:55:13 dhcp6c[661] send request to ff02::1:2%em1
2021-03-13T14:55:13 dhcp6c[661] set IA_PD
2021-03-13T14:55:13 dhcp6c[661] set option request (len 4)
2021-03-13T14:55:13 dhcp6c[661] set server ID (len 14)
2021-03-13T14:55:13 dhcp6c[661] set client ID (len 14)
2021-03-13T14:55:13 dhcp6c[661] a new XID (5c7dda) is generated
2021-03-13T14:55:13 dhcp6c[661] Sending Request
2021-03-13T14:55:13 dhcp6c[661] server ID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57, pref=255
2021-03-13T14:55:13 dhcp6c[661] IA_PD prefix: 2803:xxxx:xxxx:xxxx::/64 pltime=1209600 vltime=106523780084992
2021-03-13T14:55:13 dhcp6c[661] get DHCP option IA_PD prefix, len 25
2021-03-13T14:55:13 dhcp6c[661] IA_PD: ID=0, T1=604800, T2=967680
2021-03-13T14:55:13 dhcp6c[661] get DHCP option IA_PD, len 41
2021-03-13T14:55:13 dhcp6c[661] get DHCP option DNS, len 16
2021-03-13T14:55:13 dhcp6c[661] status code: success
2021-03-13T14:55:13 dhcp6c[661] get DHCP option status code, len 2
2021-03-13T14:55:13 dhcp6c[661] preference: 255
2021-03-13T14:55:13 dhcp6c[661] get DHCP option preference, len 1
2021-03-13T14:55:13 dhcp6c[661] IA_NA address: 2803:xxxx:xxxx:xxxx::1 pltime=1209600 vltime=1209600
2021-03-13T14:55:13 dhcp6c[661] get DHCP option IA address, len 24
2021-03-13T14:55:13 dhcp6c[661] IA_NA: ID=0, T1=604800, T2=967680
2021-03-13T14:55:13 dhcp6c[661] get DHCP option identity association, len 40
2021-03-13T14:55:13 dhcp6c[661] DUID: 00:01:00:01:dc:43:e7:91:50:6f:77:7d:dd:57
2021-03-13T14:55:13 dhcp6c[661] get DHCP option server ID, len 14
2021-03-13T14:55:13 dhcp6c[661] DUID: 00:01:00:01:27:33:4f:41:00:0c:29:72:00:ee
2021-03-13T14:55:13 dhcp6c[661] get DHCP option client ID, len 14
2021-03-13T14:55:13 dhcp6c[661] receive advertise from fe80::1%em1 on em1
2021-03-13T14:55:13 dhcp6c[661] reset a timer on em1, state=SOLICIT, timeo=1, retrans=2083
2021-03-13T14:55:13 dhcp6c[661] send solicit to ff02::1:2%em1
2021-03-13T14:55:13 dhcp6c[661] set IA_PD
2021-03-13T14:55:13 dhcp6c[661] set IA_PD prefix
2021-03-13T14:55:13 dhcp6c[661] set option request (len 4)
2021-03-13T14:55:13 dhcp6c[661] set elapsed time (len 2)
2021-03-13T14:55:13 dhcp6c[661] set identity association
2021-03-13T14:55:13 dhcp6c[661] set client ID (len 14)
2021-03-13T14:55:13 dhcp6c[661] Sending Solicit
2021-03-13T14:55:12 dhcp6c[661] reset a timer on em1, state=SOLICIT, timeo=0, retrans=1091
2021-03-13T14:55:12 dhcp6c[661] transmit failed: Can't assign requested address
2021-03-13T14:55:12 dhcp6c[661] set IA_PD
2021-03-13T14:55:12 dhcp6c[661] set IA_PD prefix
2021-03-13T14:55:12 dhcp6c[661] set option request (len 4)
2021-03-13T14:55:12 dhcp6c[661] set elapsed time (len 2)
2021-03-13T14:55:12 dhcp6c[661] set identity association
2021-03-13T14:55:12 dhcp6c[661] set client ID (len 14)
2021-03-13T14:55:12 dhcp6c[661] a new XID (ec2309) is generated
2021-03-13T14:55:12 dhcp6c[661] Sending Solicit
2021-03-13T14:55:11 dhcp6c[661] reset a timer on em1, state=INIT, timeo=0, retrans=891
2021-03-13T14:55:11 dhcp6c[89498] called
2021-03-13T14:55:11 dhcp6c[89498] called
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of closure [}] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[sla-id] (6)
2021-03-13T14:55:11 dhcp6c[89498] <3>begin of closure [{] (1)
2021-03-13T14:55:11 dhcp6c[89498] <5>[em0_vlan2] (9)
2021-03-13T14:55:11 dhcp6c[89498] <3>[prefix-interface] (16)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[infinity] (8)
2021-03-13T14:55:11 dhcp6c[89498] <3>[64] (2)
2021-03-13T14:55:11 dhcp6c[89498] <3>[/] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[prefix] (6)
2021-03-13T14:55:11 dhcp6c[89498] <13>[pd] (2)
2021-03-13T14:55:11 dhcp6c[89498] <3>[id-assoc] (8)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of closure [}] (1)
2021-03-13T14:55:11 dhcp6c[89498] <13>begin of closure [{] (1)
2021-03-13T14:55:11 dhcp6c[89498] <13>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <13>[na] (2)
2021-03-13T14:55:11 dhcp6c[89498] <3>[id-assoc] (8)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of closure [}] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>comment [# we'd like some nameservers please] (35)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>["/var/etc/dhcp6c_wan_script.sh"] (31)
2021-03-13T14:55:11 dhcp6c[89498] <3>[script] (6)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[domain-name] (11)
2021-03-13T14:55:11 dhcp6c[89498] <3>[request] (7)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[domain-name-servers] (19)
2021-03-13T14:55:11 dhcp6c[89498] <3>[request] (7)
2021-03-13T14:55:11 dhcp6c[89498] <3>comment [# request prefix delegation] (27)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[ia-pd] (5)
2021-03-13T14:55:11 dhcp6c[89498] <3>[send] (4)
2021-03-13T14:55:11 dhcp6c[89498] <3>comment [# request stateful address] (26)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[ia-na] (5)
2021-03-13T14:55:11 dhcp6c[89498] <3>[send] (4)
2021-03-13T14:55:11 dhcp6c[89498] <3>begin of closure [{] (1)
2021-03-13T14:55:11 dhcp6c[89498] <5>[em1] (3)
2021-03-13T14:55:11 dhcp6c[89498] <3>[interface] (9)
2021-03-13T14:55:11 dhcp6c[89498] called
2021-03-13T14:55:11 dhcp6c[89498] called
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of closure [}] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[sla-len] (7)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[sla-id] (6)
2021-03-13T14:55:11 dhcp6c[89498] <3>begin of closure [{] (1)
2021-03-13T14:55:11 dhcp6c[89498] <5>[em0_vlan2] (9)
2021-03-13T14:55:11 dhcp6c[89498] <3>[prefix-interface] (16)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[64] (2)
2021-03-13T14:55:11 dhcp6c[89498] <13>begin of closure [{] (1)
2021-03-13T14:55:11 dhcp6c[89498] <13>[pd] (2)
2021-03-13T14:55:11 dhcp6c[89498] <3>[id-assoc] (8)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of closure [}] (1)
2021-03-13T14:55:11 dhcp6c[89498] <13>begin of closure [{] (1)
2021-03-13T14:55:11 dhcp6c[89498] <13>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <13>[na] (2)
2021-03-13T14:55:11 dhcp6c[89498] <3>[id-assoc] (8)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of closure [}] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>comment [# we'd like some nameservers please] (35)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>["/var/etc/dhcp6c_wan_script.sh"] (31)
2021-03-13T14:55:11 dhcp6c[89498] <3>[script] (6)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[domain-name] (11)
2021-03-13T14:55:11 dhcp6c[89498] <3>[request] (7)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[domain-name-servers] (19)
2021-03-13T14:55:11 dhcp6c[89498] <3>[request] (7)
2021-03-13T14:55:11 dhcp6c[89498] <3>comment [# request prefix delegation] (27)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[ia-pd] (5)
2021-03-13T14:55:11 dhcp6c[89498] <3>[send] (4)
2021-03-13T14:55:11 dhcp6c[89498] <3>comment [# request stateful address] (26)
2021-03-13T14:55:11 dhcp6c[89498] <3>end of sentence [;] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[0] (1)
2021-03-13T14:55:11 dhcp6c[89498] <3>[ia-na] (5)
2021-03-13T14:55:11 dhcp6c[89498] <3>[send] (4)
2021-03-13T14:55:11 dhcp6c[89498] <3>begin of closure [{] (1)
2021-03-13T14:55:11 dhcp6c[89498] <5>[em1] (3)
2021-03-13T14:55:11 dhcp6c[89498] <3>[interface] (9)
2021-03-13T14:55:11 dhcp6c[89498] extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:27:33:4f:41:00:0c:29:72:00:ee
2021-03-13T14:55:11 dhcp6c[65320] RTSOLD script - Starting dhcp6 client


That look good.  If you can ping from the wan then the gateway is working. Are your LAN clients getting GUA by addresses?
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

March 13, 2021, 08:05:12 PM #11 Last Edit: March 13, 2021, 08:22:09 PM by muchacha_grande
No... I didn't start dhcp nor ra service on lan yet... should they receive an address?

EDIT: I don't see RA nor DHCPv6 to start anyway

Just let it do its thing, turn off the manual override, radvd and dhcpv6 will be set for you. Then check to see if clients are getting a gua.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Sorry, misread your message, if you have the LAN set to track the wan interface, then radvd and dhcpv6 should be running already.
OPNsense 24.7 - Qotom Q355G4 - ISP - Squirrel 1Gbps.

Team Rebellion Member

Services radvd & dhcpv6 are running as you pointed out.

My Windows 8 is getting the following:

IPv6 Address                      2803:xxxx:xxxx:xxxx:a57e:5d63:f83b:9e0d
Temp IPv6 address             2803:xxxx:xxxx:xxxx:b1ab:fe5b:4ec4:e288
IPv6 Link-local address       fe80::a57e:5d63:f83b:9e0d%41
Default gateway IPv6         fe80::20c:29ff:fe72:ee%41

One thing I have just noticed is that I can't ping to router GUA addresses but I can ping to link-local addresses