OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Help with IPv6
« previous next »
  • Print
Pages: 1 ... 3 4 [5] 6 7

Author Topic: Help with IPv6  (Read 41077 times)

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #60 on: May 01, 2017, 04:10:12 pm »
Quote from: bringha on May 01, 2017, 01:37:01 pm

Moreover you seem not to have set a domain name in your general config.



If you mean under "System: Settings: General", then yes I do have my domain there, otherwise where do you mean?
Logged

bringha

  • Full Member
  • ***
  • Posts: 229
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #61 on: May 01, 2017, 08:21:36 pm »
Yes, this is what I meant - however, for what reasons ever, this setting did not find its way into your ipv6 config (radvd.conf).

Can you somehow check whether your ISP is really sending you a prefix or an IPv6 address only?

And still - your configuration contains values which are only accessible when using extended config options.

The line

Code: [Select]
id-assoc na 0 { };

indicates that you have used extended config options for your WAN interface (having ticked non temporary address assignment). You should consequently use Basic!

Perhaps it is best to start the entire ipv6 config once again from scratch

Br br
« Last Edit: May 01, 2017, 08:25:08 pm by bringha »
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #62 on: May 01, 2017, 09:25:03 pm »
Yeah I probably used "Advanced" weeks ago, but since then I've never gone back to it having seen all the negative reports about it.

So how do I reset all the IPv6 settings? I did this through the GUI weeks ago when I first tried this out and found that enabling IPv6 with manual IPs for my LANs caused most of my local devices to stop working (because their IPv6 traffic was blocked). So I removed IPv6 from them and also from my WAN. If that's not clearing my settings then I'm not sure how else to do it.
Logged

bringha

  • Full Member
  • ***
  • Posts: 229
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #63 on: May 02, 2017, 10:18:40 am »
I would simply try to copy your radvd.conf and your dhcp6c_wan.conf to a backup and empty the file and then reconfigure WAN interface and LAN interfaces again.

don't forget to save and then confirm the settings (this are 2 steps), WAN first and then the LANs. Check the config files afterwards again.

Then reboot.

If then again you don't have a prefix, then I would assume that your ISP is not sending one (or your modem config prevents ...)

Br br
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #64 on: May 02, 2017, 10:29:45 am »
Ok, well that will have to wait until the weekend now, if I have time as I have to work.


I'll see if I can contact my ISP again and hopefully get someone that understands these things.


Oh, and I don't use a modem - VLAN'd PPPoE connection to my fibre box, via an Ethernet cable.
Logged

bringha

  • Full Member
  • ***
  • Posts: 229
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #65 on: May 02, 2017, 12:57:58 pm »
Oh ..yesl - the fibre box needs to connect to your ISP provider - its then indeed a (fibre) cable modem  ;)
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #66 on: May 06, 2017, 02:44:10 pm »
I've made some progress having looked at another thread here about IPv6 but I'm still a little stumped.


If I set the WAN to the following as per the other thread:


Code: [Select]

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


With this both my LAN interfaces get an IPv6 address, although I discovered that an ID of "0" does not work even though that's what the help-hint says, so I set them to "1" and "2".


However, the WAN no longer has an IPv6 address. Tweaking the WAN settings in any way I either end up with no IPv6 addresses, or just the WAN gets an IPv6 and neither LAN gets one. Even after waiting several minutes or rebooting the firewall.


I did see this in the system log when the WAN did not get an address:


Code: [Select]
May 6 14:38:26 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: Informational is starting pppoe0.
May 6 14:38:25 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: Failed to detect IPv6 for WAN[wan]
May 6 14:38:24 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: Informational is starting pppoe0.
May 6 14:38:23 opnsense: /usr/local/etc/rc.newwanipv6: rc.newwanipv6: Failed to detect IPv6 for WAN[wan]


So in the end, I currently have IPv6 addresses or the LAN interfaces but nothing on the WAN interface. Any idea how I can sort that out?

Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: Help with IPv6
« Reply #67 on: May 07, 2017, 04:42:53 pm »
Quote from: Taomyn on May 06, 2017, 02:44:10 pm
Code: [Select]
Request only a IPv6 prefix: yes

So in the end, I currently have IPv6 addresses or the LAN interfaces but nothing on the WAN interface. Any idea how I can sort that out?

If you want an IPv6 address on the WAN, then you must disable "Request only a IPv6 prefix" as the purpose of this option is to not request an address, only a prefix.
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #68 on: May 07, 2017, 05:38:02 pm »
Quote from: djGrrr on May 07, 2017, 04:42:53 pm
If you want an IPv6 address on the WAN, then you must disable "Request only a IPv6 prefix" as the purpose of this option is to not request an address, only a prefix.


This part:



Quote
Tweaking the WAN settings in any way I either end up with no IPv6 addresses, or just the WAN gets an IPv6 and neither LAN gets one.
Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: Help with IPv6
« Reply #69 on: May 07, 2017, 06:01:59 pm »
Does the WAN even need an address? The delegated prefixes should be routed by your ISP via the link-local address on your WAN. Are you getting an IPv6 default gateway?

BTW, there are at least 16 different combinations of the basic options (assuming you know the correct prefix size from the ISP), are you sure you tried every combination?
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #70 on: May 07, 2017, 06:09:24 pm »
Quote from: djGrrr on May 07, 2017, 06:01:59 pm
Does the WAN even need an address? The delegated prefixes should be routed by your ISP via the link-local address on your WAN. Are you getting an IPv6 default gateway?

BTW, there are at least 16 different combinations of the basic options (assuming you know the correct prefix size from the ISP), are you sure you tried every combination?


How would I connect to VPN (or other service running on the firewall) via IPv6 if my WAN does not have an IP?


Yeah, cycled through all the combinations, for a few even tried different prefixes and none gave me an IP on both WAN and LANs
Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: Help with IPv6
« Reply #71 on: May 07, 2017, 06:15:35 pm »
Do you remember which combination(s) gave you an address on the WAN but no delegated prefixes? I think that is where you'd need to start to figure out exactly how to get both address and prefix.

Also, who is your ISP?
Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: Help with IPv6
« Reply #72 on: May 07, 2017, 07:07:54 pm »
I will also note that in my own testing, with OPNsense as the DHCPv6 server, and another OPNsense being the client, that the client seems to start completely ignoring the server responses after a few reconfigurations of WAN, even with settings that previously worked perfectly fine. So you may need to reboot after every reconfiguration if you truely want to test which configurations work and which don't.

I have been trying to narrow down why this happens but so far have not had any luck.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Help with IPv6
« Reply #73 on: May 08, 2017, 06:42:59 am »
Quote from: djGrrr on May 07, 2017, 07:07:54 pm
So you may need to reboot after every reconfiguration if you truely want to test which configurations work and which don't.

It sounds funny but I've seen this too. First boot is perfect, afterwards reconfigure takes a up to a minute or it fails. Next reboot is perfect again.

What I've also seen is that although LAN is tracking, reloading LAN doesn't have any effect other than removing the IPv6, so you always want to reload WAN or better yet use the console option 11 to fully cycle the interface configuration.


Cheers,
Franco
Logged

Taomyn

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: 19
    • View Profile
Re: Help with IPv6
« Reply #74 on: May 08, 2017, 10:25:44 am »
This


Quote
Even after waiting several minutes or rebooting the firewall.
Logged

  • Print
Pages: 1 ... 3 4 [5] 6 7
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Help with IPv6
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2