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

    PfSense does not get an IPv6 address on WAN

    Scheduled Pinned Locked Moved IPv6
    33 Posts 7 Posters 15.8k 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.
    • F
      flat_eric1
      last edited by

      Hi!

      This might be the case - but this does not explain that I do not get an IPv6 address at all. So my first humble wish is to get an IP address everytime I boot the box or I toggle WAN interface.
      When this is fixed, I will try to get a prefix and pass addresses to my LAN network  :)

      The problem here seems to be that dhcp6c does not start automatically, neither on boot time nor at WAN activation. If I did not start dhcp6c manually (which gives me an IPv6 address immediately on WAN), I would never get an IPv6 address.

      So the basic question is: why does dhcp6c not start e.g. at boot time? Are there logs that I could take a look at to debug this?

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

        So I have exactly the same problem.

        pfSense doesn't get an IP and the support of "Deutsche Glasfaser" is too dumb to give me details on the IPv6 configuration.

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

          After 3 Nights testing, "Deutsche Glasfaser" work for me, now for one day
          Only one Problem left. After Reboot, I have to wait for get a ipv4 then login in by ssh
          killall -9 dhcp6c
          dhcp6c -c /var/etc/dhcp6c_wan.conf -d igb0
          After done i have a ipv6 , with tracking interface on Lan I am able to advice ipv6 to clients by dhcpv6.
          Wan Prefix is set to /56 and lan to /64, get prefix over ipv4 is off.

          Pfsense 2.3.2 p1

          1 Reply Last reply Reply Quote 0
          • m0njiM
            m0nji
            last edited by

            @Maps:

            After 3 Nights testing, "Deutsche Glasfaser" work for me, now for one day

            do you use DHCP6 on WAN interface or SLAAC? any other advanced settings?

            Intel i3-N305 / 4 x 2.5Gbe LAN @2.7.2-Release
            WAN: Vodafone 1000/50, Telekom 250/40; Switch: USW Enterprise 8 PoE, USW Flex XG, US-8-60W; Wifi: Unifi 6 Lite AP, U6 Mesh

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

              DHCPv6 Assistend
              ::1000 to ::2000 in IPadress pool.
              Both work linux with SLAAC and mac with DHCPV6 .
              Leases with DHCPV6 are displayed.
              But I can´t assign a fix adress to a device. Any Idea.

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

                Today I got a brouchure from "Deutsche Glasfaser", which says DHCP (for IPv4), IPv6rd and IPv4/IPv6 has to be supported by the router.

                Does that mean I should try the 6rd Tunnel or 4to6 Tunnel on WAN?

                EDIT: Tried that and shit's not working.
                I don't have the configuration details for 6rd…

                Here are a few informations:

                https://www.deutsche-glasfaser.de/fileadmin/Content/Pdf/Downloads/Anleitungen/Genexis_Live__mit_eigenem_Router_anschliessen.pdf
                https://www.flink-glasfaser.de/fileadmin/pdfs_flk/20160831_DG_Schnittstellenspezifikation_final_online.pdf
                https://www.new.de/fileadmin/user_upload/new.de/Dokumente/Glasfaser/NEW_Glasfaser_Leistungsbeschreibung.pdf
                http://glasfaser-haltern.de/images/DGhome_Leistungsbeschreibung.pdf

                1 Reply Last reply Reply Quote 0
                • JKnottJ
                  JKnott
                  last edited by

                  Does that mean I should try the 6rd Tunnel or 4to6 Tunnel on WAN?

                  I would suspect that brochure is a bit out of date.  If they are providing native IPv6, as reported by Maps, there is no need of a tunnel, which is what 6rd and 6to4 are.  My own ISP also provided tunnels, but have had native IPv6 since about April.

                  PfSense running on Qotom mini PC
                  i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                  UniFi AC-Lite access point

                  I haven't lost my mind. It's around here...somewhere...

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

                    My Setup:
                    WAN:
                    DHCP
                    DHCP6
                    Emtpy MAC/MTU/MSS
                    No Options DHCP Client
                    DHCPv6 Client
                    Only 56 Prefix and prefix Hint

                    Both Block off.

                    LAN:
                    Static ipv4
                    Track Interface
                    No MTU ..

                    Track IPV6:
                    WAN
                    ID 1
                    No Blocks

                    DHCP V6 RA
                    Sever
                    Range.
                    ::1000 ::2000
                    64 Prefix

                    RA:
                    Assisted
                    High
                    Rest empty.

                    State now : IPv6 is running.

                    1 Reply Last reply Reply Quote 0
                    • F
                      flat_eric1
                      last edited by

                      Hi all!

                      @mkapalla: The brochures state that there is an IPv4/IPv6 dual stack and IPv6rd, so the tunnel probably is not the preferred way to use IPv6 with Deutsche Glasfaser (So I agree with JKnott). They definitively provide native IPv6 addresses.
                      @Maps: Thanks for sharing your configuration with us, highly appreciated.

                      This thread was about the fact that dhcp6c does not start correctly or not at all at system start or interface activation, so I would like to keep the topic here and would suggest that you start a thread with a headline describing your issue. I guess chances will be better to get your issues solved if the headline of the thread matches the content.

                      So does anybody have any hints?

                      1 Reply Last reply Reply Quote 0
                      • B
                        bimmerdriver
                        last edited by

                        As I said above, a possible cause for dhcp6c not starting is because pfsense is waiting for the edge router to respond with RA. pfsense will wait forever for the RA and will not start dhcp6c. ipv6 will not work at all. If you're not sure whether your isp edge router requires a dhcp6 solicit before it will respond to an RS, download the 2.4 development snapshot and configure the wan with "do not wait for RA". If that doesn't solve your problem, maybe someone else has another idea.

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

                          Where did I found a nano version from 2.4 ? Or does the memstick version works too with the SD card in my Alex app ?

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

                            I saw NanoBSD is not supported on 2.4.
                            What did the RA don´t wait done ? Is it only web path and i am able to do it in a config file by hand or a dhcp6c path ?

                            Offtopic @ other "Deutsche Glasfaser" user. What is your plan to apply the Telefon functions ? sipproxy, asterisk on pfsense ?

                            1 Reply Last reply Reply Quote 0
                            • B
                              bimmerdriver
                              last edited by

                              @Maps:

                              What did the RA don´t wait done ? Is it only web path and i am able to do it in a config file by hand or a dhcp6c path ?

                              Normally when pfsense starts, it sends an RS, waiting for an RA, then when the RA is received, it starts dhcp6c. Some ISPs have configured their edge routers to not respond to an RS until after a dhcp solicit is received. In that case, there is a deadlock causing dhcp6c to never start. If you can get a prefix by manually starting dhcp6c, it's an indication that this may be happening. The feature is enabled using the webgui in the wan settings, but it's only available in 2.4. (There were some patches to 2.3, but not sure if they are compatible with 2.3.2_1.)

                              1 Reply Last reply Reply Quote 0
                              • ?
                                Guest
                                last edited by

                                Just install the 2.3 development version, it's working fine. All the additions for Don't wait for RA have been included.

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

                                  I can confirm, with don´t wait RA, in the 2.3 Dev Release I got the IPV6 network IP on WAN.

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    Guest
                                    last edited by

                                    @Maps:

                                    I can confirm, with don´t wait RA, in the 2.3 Dev Release I got the IPV6 network IP on WAN.

                                    Good news.

                                    I stopped updating the patches months ago when it was included in the 2.3 dev versions and I never got around to writing them for earlier releases.

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

                                      I think there is a small issue in the fix.
                                      When I had change the settings in the lan interface, the system will save and apply the setting,then the ipv6 will not come back.
                                      When I release the Wan IP and renew it with the gui the IPV6 Net will come back.

                                      It is possible , in this case the RA settings will not be used ?

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        Guest
                                        last edited by

                                        @Maps:

                                        I think there is a small issue in the fix.
                                        When I had change the settings in the lan interface, the system will save and apply the setting,then the ipv6 will not come back.
                                        When I release the Wan IP and renew it with the gui the IPV6 Net will come back.

                                        It is possible , in this case the RA settings will not be used ?

                                        No there is no issue with the fix. When you take down the LAN interface you clear it, the IPv6 address and PD is created by the script that runs when the WAN interface goes online. You just need to be aware of the way that prefix delegation works. If you left it long enough then I suspect that the dhcp6 time would expire and then refresh, giving you an address and prefix again; of course how long you would need to wait depends on your ISP and the lease renewal interval, mine is 30 minutes but others could be a day or two or even longer.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bimmerdriver
                                          last edited by

                                          There is a small issue with the fix, but it's different from what was described. If you release the WAN interface then watch the "gateways status" on the dashboard, the WAN_DHCP status will go offline, but the WAN_DHCP6 status will stay online. If you leave it like this (i.e., if you don't renew the WAN interface), eventually, the WAN_DHCP6 status will go offline. This problem wasn't always there. It was introduced when another issue relating to the startup and shutdown of other dhcp processes was fixed. It's not a show stopper, but something seems to not be working properly. Refer to https://redmine.pfsense.org/issues/5993.

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            Guest
                                            last edited by

                                            @bimmerdriver:

                                            There is a small issue with the fix, but it's different from what was described. If you release the WAN interface then watch the "gateways status" on the dashboard, the WAN_DHCP status will go offline, but the WAN_DHCP6 status will stay online. If you leave it like this (i.e., if you don't renew the WAN interface), eventually, the WAN_DHCP6 status will go offline. This problem wasn't always there. It was introduced when another issue relating to the startup and shutdown of other dhcp processes was fixed. It's not a show stopper, but something seems to not be working properly. Refer to https://redmine.pfsense.org/issues/5993.

                                            I've not been looking at this thread or the 5993 issue for months, I've been a bit busy with real work. :)

                                            Couple of questions, does dhcp6c shutdown on WAN release and does dpinger shut down also?

                                            I think I know why this isn't high on the list of things to fix, you are unlikely to run pfSense without the WAN interface online, it serves no purpose and I tend to make any changes required, which are few and rare and then reboot.

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