Help with IPv6

Started by Taomyn, March 29, 2017, 02:36:35 PM

Previous topic - Next topic
Taomyn,

What's in your Services: DHCP: Log file regarding "dhcp6c" (use the filter)?


Cheers,
Franco

At the moment it gives me:



May 8 10:51:27 dhcp6c[21133]: Sending Solicit
May 8 10:51:26 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:26 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:26 dhcp6c[21133]: Sending Request
May 8 10:51:25 dhcp6c[21133]: Sending Solicit
May 8 10:51:25 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:25 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:25 dhcp6c[21133]: Sending Request
May 8 10:51:24 dhcp6c[21133]: Sending Solicit
May 8 10:51:23 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:23 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:23 dhcp6c[21133]: Sending Request
May 8 10:51:22 dhcp6c[21133]: Sending Solicit
May 8 10:51:21 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:21 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:21 dhcp6c[21133]: Sending Request
May 8 10:51:20 dhcp6c[21133]: Sending Solicit
May 8 10:51:19 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:19 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:19 dhcp6c[21133]: Sending Request
May 8 10:51:18 dhcp6c[21133]: Sending Solicit
May 8 10:51:18 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:18 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:18 dhcp6c[21133]: Sending Request
May 8 10:51:17 dhcp6c[21133]: Sending Solicit
May 8 10:51:17 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:17 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:16 dhcp6c[21133]: Sending Request
May 8 10:51:15 dhcp6c[21133]: Sending Solicit
May 8 10:51:15 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:15 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:15 dhcp6c[21133]: Sending Request
May 8 10:51:14 dhcp6c[21133]: Sending Solicit
May 8 10:51:14 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:14 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:14 dhcp6c[21133]: Sending Request
May 8 10:51:13 dhcp6c[21133]: Sending Solicit
May 8 10:51:12 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:12 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:12 dhcp6c[21133]: Sending Request
May 8 10:51:11 dhcp6c[21133]: Sending Solicit
May 8 10:51:11 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:11 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:11 dhcp6c[21133]: Sending Request
May 8 10:51:10 dhcp6c[21133]: Sending Solicit
May 8 10:51:09 dhcp6c[21133]: status code for NA-0: no addresses
May 8 10:51:09 dhcp6c[21133]: dhcp6c Received REQUEST
May 8 10:51:09 dhcp6c[21133]: Sending Request
May 8 10:51:08 dhcp6c[21133]: Sending Solicit
May 8 10:51:08 dhcp6c[21133]: status code for NA-0: no addresses

Courtesy of https://redmine.pfsense.org/issues/3097 your ISP seems to refuse giving you a WAN IPv6 so you need to request a prefix only.

For all intents and purposes your LAN IPv6 should be able to act as a "WAN" IPv6 in case you need dynamic DNS services or something else reachable from the outside. Make sure to change your firewall rules accordingly to be able to connect to LAN from the outside on IPv6.


Cheers,
Franco

Quote from: franco on May 08, 2017, 11:00:26 AM
Courtesy of https://redmine.pfsense.org/issues/3097 your ISP seems to refuse giving you a WAN IPv6 so you need to request a prefix only.

But I can get a WAN IP, I have proven this, but when I do, neither LANs get an IP

Whether or not the addresses are provided are at the mercy of the server's configuration. Maybe it's either prefix or address? :)

If prefix + LAN works that should give you the connectivityy you need, unless I'm missing something.


Cheers,
Franco

Nope, at moment I have:

IPv6 Configuration Type: DHCPv6
Configuration Mode: Basic
Use IPv4 connectivity: yes
Request only a IPv6 prefix: no
Directly send SOLICIT: yes
DHCPv6 Prefix Delegation size: 56
Send IPv6 prefix hint: yes


And I only get LAN IPs, the WAN does not have one.

Can you refine your log query? "dhcp6c address"


I did a reboot the checked the logs (I'm doing this remotely btw):




May 8 11:37:07 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:37:06 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:37:04 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:37:03 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:37:01 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:59 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:57 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:55 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:54 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:52 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:50 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:49 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:47 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:45 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:44 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:42 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:40 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:39 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:37 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:36 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:34 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:32 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:31 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:29 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:27 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:25 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:23 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:22 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:20 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:18 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:17 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:16 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:14 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:12 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:10 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:08 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:06 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:04 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:03 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:01 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:00 dhcp6c[28012]: status code for NA-0: no addresses
May 8 11:36:00 dhcp6c[28012]: add an address 2a02:678:10:b01:XXX:XXXX:XXXX:XXXX/64 on em0
May 8 11:36:00 dhcp6c[28012]: add an address 2a02:678:10:b02:XXX:XXXX:XXXX:XXXX/64 on em3
May 8 11:35:52 dhcp6c[28012]: transmit failed: Can't assign requested address
May 8 11:34:55 dhcp6c[25303]: status code for NA-0: no addresses
May 8 11:34:54 dhcp6c[25303]: status code for NA-0: no addresses
May 8 11:34:52 dhcp6c[25303]: status code for NA-0: no addresses
May 8 11:34:51 dhcp6c[25303]: status code for NA-0: no addresses
May 8 11:34:49 dhcp6c[25303]: status code for NA-0: no addresses
May 8 11:34:47 dhcp6c[25303]: status code for NA-0: no addresses

You get two prefixes and no address. Do you have two interfaces in track mode?

Sorry, yes one is my main LAN, and the other a GUEST_LAN - they have IDs of 1 and 2.

You could probably get a prefix for WAN with some trickery so it gets an IPv6 address as well, but it's not useful. ;)

You should talk to the ISP why they don't assign an IPv6 address to your WAN in this case. They would be the best bet to getting to the bottom of it at this point.

Well I changed the WAN connection and disabled "Directly send SOLICIT", and my WAN has an IP from the ISP, but the LANs do not. Looking at the log for "dhcp6c" I see nothing logged since the reboot, just the exit of the shutdown.

rtsold waits for solicitation in this case, and runs dhcp6c when it gets one. but where does the WAN IPv6 come from if not from dhcp6c? :)

Quote from: franco on May 08, 2017, 12:44:44 PM
rtsold waits for solicitation in this case, and runs dhcp6c when it gets one. but where does the WAN IPv6 come from if not from dhcp6c? :)

No idea, but it gets it one assigned as I don't set one - where else can I check to find that out?

fe80:... or a real one?