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

IPv6 testing

IPv6
48
357
288.4k
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.
  • P
    pfsense_fan009
    last edited by Mar 2, 2011, 2:57 AM

    @databeesje: please make those images also for the nanobsd builds !

    Pfsense 2.x on Alix 2d13 (dual wan with failover).

    1 Reply Last reply Reply Quote 0
    • M
      MrKoen
      last edited by Mar 2, 2011, 8:00 AM

      @databeestje, I saw you created an update for the Alias /128 problem yesterday. I just updated with the the latest 2.0RC1 release and gitsynced with smos but it still only shows 32 on a new alias entry here.

      1 Reply Last reply Reply Quote 0
      • M
        MrKoen
        last edited by Mar 2, 2011, 2:10 PM

        @databeestje, any chance to have a look at the DHCPv6 IP reservations feature? DHCPv6 works fine, but when trying to create a reservation based on a MAC address, I'm getting an error stating the address does not lie within the subnet. I'm sure it is within the defined subnet though. Check the attached screenshot.

        DHCPv6Reservation.png
        DHCPv6Reservation.png_thumb

        1 Reply Last reply Reply Quote 0
        • D
          databeestje
          last edited by Mar 2, 2011, 6:25 PM

          @Koen:

          @databeestje, any chance to have a look at the DHCPv6 IP reservations feature? DHCPv6 works fine, but when trying to create a reservation based on a MAC address, I'm getting an error stating the address does not lie within the subnet. I'm sure it is within the defined subnet though. Check the attached screenshot.

          I have not touched the edit page yet, I'll do so later.

          Regarding the alias edit issue, it's javascript which i'm very uncomfortable with. I'll see if I can poke someone to have a look see.

          1 Reply Last reply Reply Quote 0
          • M
            MrKoen
            last edited by Mar 3, 2011, 2:16 PM

            If I can lend you a helping hand in the JavaScript piece, let me know. I'm a software developer for my profession. Aimed on Microsoft Technology though, but I've done a couple of implementations with custom written JavaScript. If I can help, I'll be happy to.

            1 Reply Last reply Reply Quote 0
            • D
              databeestje
              last edited by Mar 4, 2011, 12:09 PM

              @|DSI|:

              I have now received native IPv6 connectivity from my ISP.

              I am using Link Aggregation on WAN interface. IPv4 works fine on LAGG interface but I have trouble configuring IPv6 on LAGG interface.
              It seems that there is problem with setting IPv6 default route on LAGG interface, because Diagnostic->Routes shows this output under IPv6:

              default 2a01:260:XXXX::d UGS 0 2937 1500 em0

              For IPv4 it shows this

              default 89.212.0.1 UGS 0 663297 1500 lagg0

              So I assume that under IPv6 default route, interface should also be lagg0, not em0?

              I've looked at your config but are unable to replicate with 2.0 RC1 with IPv6 bits. Perhaps something else was fixed in mainline.

              I see both the v4 and v6 route attached to lagg1.

              1 Reply Last reply Reply Quote 0
              • D
                DSI
                last edited by Mar 6, 2011, 11:41 AM

                Seems to work now.
                Maybee it also worked before, because I noticed that after moving (em0 and em1) interfaces to lagg and assigning lagg interface to WAN, IPv4 default route is correctly changed from em0 to lagg1.
                But in order to change default IPv6 route from em0 to lagg1, reboot is required.
                Thank you for your investigation!

                1 Reply Last reply Reply Quote 0
                • D
                  databeestje
                  last edited by Mar 6, 2011, 6:42 PM

                  I've made a number of fixes over the weekend regarding the routing bits. Seems that I've made a horrendous hodgepodge of that code, I was overwriting existing variables, forgetting the clear existing variables etc.

                  i think I've fixed a bunch of those which should help.

                  1 Reply Last reply Reply Quote 0
                  • M
                    MrKoen
                    last edited by Mar 7, 2011, 7:18 AM

                    @databeestje, not sure if you're aware of this, but since you checked in your blind coded IPv6 DHCP reservations page, the reservations icon on the DHCPv6 Server page points to 'services_dhcpv6_edit.php' which returns a 404 not found.

                    1 Reply Last reply Reply Quote 0
                    • D
                      databeestje
                      last edited by Mar 7, 2011, 8:53 AM

                      Forgot to add it to the repo. Sorry. It's there now

                      1 Reply Last reply Reply Quote 0
                      • M
                        MrKoen
                        last edited by Mar 7, 2011, 9:29 AM

                        Thanks for adding it. It's indeed present now. Can't get the DHCPv6 to work though. I've used a Windows 7 x64 client with routerdiscovery disabled and managedaddress enabled on the requesting interface. It does get an IPv4 address from the DHCPv4 server in pfSense, but it does not get a reply on the DHCPv6 request it sends out. It makes no difference whether the requesting host has an IPv6 reservation set or not. With routerdiscovery enabled it creates its own IPv6 address, finds the pfSense box as a gateway and can connect to IPv6 hosts on the internet.

                        1 Reply Last reply Reply Quote 0
                        • W
                          wallabybob
                          last edited by Mar 7, 2011, 2:23 PM

                          @Koen:

                          Can't get the DHCPv6 to work though.

                          Are you running DHCPv6 on a bridge? What's in the DHCP log? Does DHCP even see the DHCP v6 request?

                          See my note with "no route to host" in the title for a workaround for an issue with DHCPv6 on a bridge interface.

                          1 Reply Last reply Reply Quote 0
                          • M
                            MrKoen
                            last edited by Mar 7, 2011, 2:41 PM

                            @wallabybob:

                            Are you running DHCPv6 on a bridge?

                            Nope, this pfSense instance has three nics: 1 connected to my WAN, 1 connected to my WIFI access point and 1 connected to my LAN. Both internal NICs use NAT to the outside world for IPv4 traffic. For IPv6 traffic, it tunnels with TunnelBroker.net. Both internal NICs have their own /64 IPv6 subnet.

                            @wallabybob:

                            What's in the DHCP log? Does DHCP even see the DHCP v6 request?

                            Stupid me, why didn't I think about checking that. The logs shows the following error:

                            php: /services_dhcp.php: The command '/usr/local/sbin/dhcpd -6 -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpdv6.conf xl0' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ /etc/dhcpdv6.conf line 18: Invalid IPv6 address. option dhcp6.name-servers 8.8.4.4, ^ /etc/dhcpdv6.conf line 21: You can not use a hardware parameter for DHCPv6 hosts. Use the host-identifier parameter instead. hardware ^ Configuration file errors encountered – exiting If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please

                            Any clue what this means?

                            1 Reply Last reply Reply Quote 0
                            • D
                              databeestje
                              last edited by Mar 7, 2011, 3:17 PM

                              Don't fill in a IPv4 DNS server on the DHCPv6 server page.
                              It appears the host identifier has changed from what it used to be. I need to see what changed.

                              1 Reply Last reply Reply Quote 0
                              • M
                                MrKoen
                                last edited by Mar 7, 2011, 3:31 PM

                                @databeestje:

                                Don't fill in a IPv4 DNS server on the DHCPv6 server page.
                                It appears the host identifier has changed from what it used to be. I need to see what changed.

                                There's no IPv4 address to be found anywhere on the IPv6 page. I've triple checked the DHCPv6 pages for all my interfaces. I am also using the DHCPv4 service in pfSense on my interfaces though. Is it possible that the DHCPv6 page still references the DHCPv4 config somewhere?

                                1 Reply Last reply Reply Quote 0
                                • D
                                  databeestje
                                  last edited by Mar 7, 2011, 9:45 PM

                                  Oops, I'll check that tomorrow when I have more time.

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by Mar 7, 2011, 11:49 PM Mar 7, 2011, 11:47 PM

                                    Ok not on the latest build wait til I get home before I update firmware, etc.

                                    But I just got this work - was seeing the same error.

                                    "/dhcp/ /etc/dhcpdv6.conf line 18: Invalid IPv6 address. option dhcp6.name-servers 8.8.4.4,"

                                    Put in the ipv6 address of your dns here.

                                    if you leave blank its seems to be pulling what your using for the pfsense box, in your case googledns, in my case it was 4.2.2.2..  Then I ran into a issue with a corrupt dhcp6.leases file..

                                    So deleted that, then put in my boxes IPv6 address its listening on for dns.. And restarted dhcp and all is good.

                                    clients get their assigned IP, and are pulling the dns info.

                                    Ethernet adapter Local Area Connection:

                                    Connection-specific DNS Suffix  . : local.lan
                                      Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
                                      Physical Address. . . . . . . . . : 08-00-27-88-48-32
                                      DHCP Enabled. . . . . . . . . . . : Yes
                                      Autoconfiguration Enabled . . . . : Yes
                                      IPv6 Address. . . . . . . . . . . : 2001:470:snipped:b85::2(Preferred) <–- from dhcpv6
                                      Lease Obtained. . . . . . . . . . : Monday, March 07, 2011 5:25:18 PM
                                      Lease Expires . . . . . . . . . . : Monday, March 07, 2011 7:23:41 PM
                                      IPv6 Address. . . . . . . . . . . : 2001:470:snipped:b85:748f:b64e:848:1943(Preferred) <– auto generated from the RA going on
                                      Link-local IPv6 Address . . . . . : fe80::748f:b64e:848:1943%11(Preferred)
                                      IPv4 Address. . . . . . . . . . . : 192.168.1.222(Preferred)
                                      Subnet Mask . . . . . . . . . . . : 255.255.255.0
                                      Lease Obtained. . . . . . . . . . : Monday, March 07, 2011 5:25:21 PM
                                      Lease Expires . . . . . . . . . . : Tuesday, March 08, 2011 5:25:14 PM
                                      Default Gateway . . . . . . . . . : fe80::209:5bff:fee2:ccdb%11
                                                                          192.168.1.253
                                      DHCP Server . . . . . . . . . . . : 192.168.1.253
                                      DHCPv6 IAID . . . . . . . . . . . : 235405351
                                      DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-14-F8-86-95-08-00-27-88-48-32
                                      DNS Servers . . . . . . . . . . . : 2001:470:snipped:b85::1 <–--
                                                                          192.168.1.253
                                      NetBIOS over Tcpip. . . . . . . . : Enabled

                                    edit: and you can see it in your dhcpv6.leases file

                                    ia-na "'\000\010\016\000\001\000\001\024\370\206\225\010\000'\210H2" {
                                      cltt 1 2011/03/07 23:23:58;
                                      iaaddr 2001:470:snipped:b85::2 {
                                        binding state active;
                                        preferred-life 4500
                                        max-life 7200
                                        ends 2 2011/03/08 01:23:58;
                                      }

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MrKoen
                                      last edited by Mar 8, 2011, 3:33 AM

                                      johnpoz, thanks for sharing your findings. Doesn't sound like that should be the way to go, but if it works as a workaround for now, its nice. Could you post the exact path where I can find dhcpdv6.conf abd dgco6.leases?

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        johnpoz LAYER 8 Global Moderator
                                        last edited by Mar 8, 2011, 5:20 AM Mar 8, 2011, 5:16 AM

                                        dhcpv6.conf is /var/dhcpd/etc
                                        dhcpv6.leases is /var/dhcpd/var/db

                                        and agree the gui's should work, but somehow it got messed up - and if you leave the dns section blank it puts in what pfsense was before forwarding too, which clearly would be a ipv4 address, which is invalid for a ipv6 dns ;)

                                        This got it up and working - but a few bumps, but I have to say for not being part of the build, and not slated to 2.1 the instructions and implementation so far have ROCKED!!! way more than I could of hoped for!!

                                        I got a working firewall, atleast from my testing - it blocks every unless I open it! ;)  And have gotten dhcpv6 to hand out the dns, and had to do some manual stuff but clients are pointing to dns running on pfsense box, etc.

                                        its sure better then a tunnel into a box on the inside ;)  Great Work So far to be sure!!!

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          MrKoen
                                          last edited by Mar 8, 2011, 11:10 AM

                                          The IPv6 addresses of my DNS servers were indeed missing on the DHCPv6 page. I added them and tried to restart the DHCP service. Now I'm getting the following error:

                                          php: /status_services.php: The command '/usr/local/sbin/dhcpd -6 -user dhcpd -group _dhcp -chroot /var/dhcpd -cf /etc/dhcpdv6.conf xl0' returned exit code '1', the output was 'Internet Systems Consortium DHCP Server 4.1.1-P1 Copyright 2004-2010 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ /etc/dhcpdv6.conf line 22: You can not use a hardware parameter for DHCPv6 hosts. Use the host-identifier parameter instead. hardware ^ Configuration file errors encountered – exiting If you did not get this software from ftp.isc.org, please get the latest from ftp.isc.org and install that before requesting help. If you did get this software from ftp.isc.org and have not yet read the README, please read it before requesting help. If you intend to request help from the dhcp-server@isc.org mailing list, please read the section on the README about submitting bug reports and requests for help. Please do not under any circumstances se

                                          Digging into the dhcpdv6.conf on line 22 I find the "hardware ethernet <mac>;" reservation. Apparently it doesn't like that. I also can not remove the reservation through the GUI at "services_dhcpv6.php?if=<int>". It never gets removed from the config file when I click on the remove icon. Also after clicking on the remove DHCPv6 reservation icon, I get redirected back to the "services_dhcp.php" DHCPv4 page and not the DHCPv6 page. When I try to remove the reservation manually from the dhcpdv6.conf file and restart the service, I still get the error shown above and when I open dhcpdv6.conf again, the reservation is there again.

                                          I just noticed that the same goes for the IPv6 DNS addresses on the services_dhcpv6.php page. I can enter them, click save, but they won't get saved. A refresh of the page and the fields are empty again. Funny thing is that when I look in dhcpdv6.conf, I do see the IPv6 DNS servers listed.

                                          Hopefully this provides some handles for the developers to look for the bugs. I surely agree that this beta product is way more stable than I would have expected. The IPv6 tunnel services are so incredibly stable via pfSense 2 that I have stopped complaining with my ISP to get native IPv6. This works well enough, at least for now. This extremely high quality of pfSense must be because of the passionate developers and low level access to communicating with them and providing feedback.</int></mac>

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