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

    LAN Interface ping problem

    Scheduled Pinned Locked Moved IPv6
    21 Posts 6 Posters 5.2k 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.
    • awebsterA
      awebster
      last edited by

      That's the way Linux works; all ipv6 addresses are /64.

      eth0      Link encap:Ethernet  HWaddr 00:0C:29:D7:C8:3A 
                inet addr:A.B.204.61  Bcast:A.B.207.255  Mask:255.255.248.0
                inet6 addr: WWWW:XXXX:YYYY:ZZZZ::4:61**/64** Scope:Global
                inet6 addr: WWWW:XXXX:YYYY:ZZZZ:20c:29ff:fed7:c83a**/64** Scope:Global
                inet6 addr: fe80::20c:29ff:fed7:c83a**/64** Scope:Link
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:44200471 errors:0 dropped:0 overruns:0 frame:0
                TX packets:43513869 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:1000
                RX bytes:16773320157 (15.6 GiB)  TX bytes:31831765833 (29.6 GiB)

      –A.

      1 Reply Last reply Reply Quote 0
      • H
        hda
        last edited by

        My pfSense supplies as a dhcp6-server. This is the Raspberry(Linux) clienthost pick-up:

        eth0      Link encap:Ethernet  HWaddr b8:27:eb:b8:b3:df
                  inet addr:192.168.2.201  Bcast:192.168.2.255  Mask:255.255.255.0
                  inet6 addr: 2001:9yx:abcd:2::28/128 Scope:Global
                  inet6 addr: fe80::ba27:ebff:feb8:b3df/64 Scope:Link
                  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                  RX packets:244171 errors:0 dropped:0 overruns:0 frame:0
                  TX packets:52845 errors:0 dropped:0 overruns:0 carrier:0
                  collisions:0 txqueuelen:1000
                  RX bytes:82687246 (78.8 MiB)  TX bytes:12890567 (12.2 MiB)

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          you shouldn't be getting a /128 on your pi…  The smallest prefix with ipv6 is /64..  And its not just linux that works that way its every OS there is that can work with IPv6..

          anything other /64 is going to break all kinds of shit from working correctly..

          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.8, 24.11

          1 Reply Last reply Reply Quote 0
          • awebsterA
            awebster
            last edited by

            Maybe just an artifact from PI Linux?
            Just spun up a fresh CentOS 6.7 VM with ipv6 dhcp client, addresses come up as /64 as expected.

            –A.

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              my pi is /64

              Also dhcpv6 doesn't hand out a prefix length, that comes from the RA.. So maybe you have a problem there?  What does your configuration on the pi look like for interfaces?

              piipv6.png
              piipv6.png_thumb

              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.8, 24.11

              1 Reply Last reply Reply Quote 0
              • awebsterA
                awebster
                last edited by

                @johnpoz
                Out of curiosity, what do you use your PI for?  An actual purpose or just a novelty?

                –A.

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  I have done quite a few things with it, currently it monitors one of my UPSes, I did at one time have it logging all the power in my house via a currentcost device plugged into via usb.  I have a project on the back burner to set it up as a stratum 1 ntp server..

                  But think I will just do that with the new one I am ordering, and waiting for the new cheaper $5 ones to be off back order ;) For a project to put my cigar humidor online..

                  This current ones final home is going to monitor the ups in my AV cabinet in the living room.. If I ever get around to moving it - its currently in my computer room connected the ups on my esxi box.  I got a new bigger ups for the esxi box (more run time)..  Kind of cool when whole block looses power and my internet works and even my wifi (poe) for like an hour.. Normally outages don't last any longer than that..

                  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.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • A
                    a1ien
                    last edited by

                    Ok I have another question.

                    If ISP give me /64 by SLAAC. How I need configure LAN interface

                    1 Reply Last reply Reply Quote 0
                    • D
                      David_W
                      last edited by

                      @a1ien:

                      If ISP give me /64 by SLAAC. How I need configure LAN interface

                      You can't 'give a /64' by SLAAC - SLAAC allows devices to autonomously assign (single) IPv6 addresses within a prefix.

                      Typically SLAAC is used to get a global IPv6 address for the ISP facing interface (the WAN interface of your device) and DHCP-PD is used to delegate IPv6 prefixes to your local interfaces. This is one variant of the typical ISP configuration defined in TR-187.

                      If you use PPPoE or PPP to access your ISP, there's several important IPv6 fixes in 2.3.

                      1 Reply Last reply Reply Quote 0
                      • H
                        hda
                        last edited by

                        Maybe just an artifact from PI Linux?

                        my pi is /64

                        Thanks guys, a bit OT, but hey maybe you like the info:
                        The /etc/network/interfaces !did contain (iface eth0 inet6 dhcp), this controls a /64 address with /etc/wide-dhcp6c/dhcp6c.conf.
                        In /etc/default/wide-dhcpv6-client there was (INTERFACES="eth0"), this gets/adds an (second) address as a /128.
                        If the pfSense DHCPv6-Server allows a clienthost a /64, it is not showing up in Status-DHCPv6-leases, while as a /128 it is :)  //2.2.6

                        1 Reply Last reply Reply Quote 0
                        • H
                          hda
                          last edited by

                          @David_W:

                          This is one variant of the typical ISP configuration defined in TR-187.

                          That' s interesting ! Thank you David :)

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

                            Yup, my ISP has it exactly like this.
                            Was nightmare to configure on early 2.2.X and 2.3 builds via GUI, via conf file went just fine.

                            1 Reply Last reply Reply Quote 0
                            • A
                              a1ien
                              last edited by

                              Ok. My ISP say it's name eui-64
                              And when I set SLAAC on WAN interface type I get IP.

                              1 Reply Last reply Reply Quote 0
                              • D
                                David_W
                                last edited by

                                @hda:

                                @David_W:

                                This is one variant of the typical ISP configuration defined in TR-187.

                                That' s interesting ! Thank you David :)

                                For completeness, the other variant of TR-187 is WAN IPv6 address via DHCPv6, prefixes delegated to local network(s) via DHCP-PD. In other words, the ISP has a choice of whether to use DHCPv6 or SLAAC for allocating WAN IP addresses. My ISP, Zen Internet, uses SLAAC.

                                If you configure pfSense to use DHCP6 with prefix delegation, it will work with both the DHCPv6 and SLAAC variants of TR-187.

                                1 Reply Last reply Reply Quote 0
                                • awebsterA
                                  awebster
                                  last edited by

                                  @johnpoz:

                                  you shouldn't be getting a /128 on your pi…  The smallest prefix with ipv6 is /64..  And its not just linux that works that way its every OS there is that can work with IPv6..

                                  anything other /64 is going to break all kinds of shit from working correctly..

                                  I dusted off my raspberry pi over the weekend, and installed latest NOOBS + raspbian, sure enough it comes up with /128 in addition to /64.
                                  The /128 is the address assigned by the DHCP server; the /64, I guess it is deciding thru SLAAC on its own because of RA.  I have some android clients on the network, so need SLAAC too.
                                  radvd on pfsense 2.2.4 is set to Assisted, with the RA Subnet set to WWWW:XXXX:YYYY:ZZZZ::/64
                                  Win2K8 DHCP server is handing out IPs in WWWW:XXXX:YYYY:ZZZZ::/64
                                  Resolv.conf on PI ends up with Domain Controller IPv4+IPv6 IP as well as pfSense IPv6 IP, not ideal since it doesn't have any knowledge of the domain.  Strange that it ended up with the pfSense IPv6 IP because the DNS Servers entry is blank in the RA config tab.

                                  
                                  eth0      Link encap:Ethernet  HWaddr b8:27:eb:35:53:31  
                                            inet addr:10.2.95.18  Bcast:10.2.95.255  Mask:255.255.254.0
                                            inet6 addr: WWWW:XXXX:YYYY:ZZZZ:fcef:f7d6:12c3:f393/64 Scope:Global
                                            inet6 addr: fe80::bd6c:2ed5:a452:1eff/64 Scope:Link
                                            inet6 addr: WWWW:XXXX:YYYY:ZZZZ:c439:ca13:15f5:31a9/128 Scope:Global
                                            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                                            RX packets:80378 errors:0 dropped:5856 overruns:0 frame:0
                                            TX packets:4106 errors:0 dropped:0 overruns:0 carrier:0
                                            collisions:0 txqueuelen:1000 
                                            RX bytes:6121679 (5.8 MiB)  TX bytes:662612 (647.0 KiB)
                                  
                                  wlan0     Link encap:Ethernet  HWaddr 34:08:04:a0:5d:3d  
                                            inet addr:10.2.95.20  Bcast:10.2.95.255  Mask:255.255.254.0
                                            inet6 addr: WWWW:XXXX:YYYY:ZZZZ:927a:28a4:a3e3:73f8/128 Scope:Global
                                            inet6 addr: fe80::b69e:3850:a1d0:6935/64 Scope:Link
                                            inet6 addr: WWWW:XXXX:YYYY:ZZZZ:d9d4:1377:f075:8c05/64 Scope:Global
                                            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                                            RX packets:315611 errors:0 dropped:17236 overruns:0 frame:0
                                            TX packets:325 errors:0 dropped:0 overruns:0 carrier:0
                                            collisions:0 txqueuelen:1000 
                                            RX bytes:121355585 (115.7 MiB)  TX bytes:63491 (62.0 KiB)		
                                  
                                  

                                  –A.

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