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

    pfSense an Stadtwerke NMS statt FritzBox

    Scheduled Pinned Locked Moved Deutsch
    49 Posts 4 Posters 7.9k 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.
    • M
      Mickman99 @24unix
      last edited by

      @24unix
      na da haste doch deinen Prefix

      Was ist jetzt das weitere Problem?

      24unix2 1 Reply Last reply Reply Quote 0
      • 24unix2
        24unix @Mickman99
        last edited by 24unix

        @mickman99 said in pfSense an Stadtwerke NMS statt FritzBox:

        @24unix
        na da haste doch deinen Prefix

        Was ist jetzt das weitere Problem?

        Es landet irgendwie nicht beim Interface:

        9b8f24bb-662d-436a-8c30-365bb3b363a0-image.png

        d6dffebe-67de-4980-81c9-cc6793320036-image.png

        Edit: Evtl. ist das das Problem?

        Jan 31 16:31:28 heimdall dhcp6c[47887]: unexpected advertise
        

        Aber wenn ich danach google finde ich tausend Treffer die nichts mit meinem Problem zu tun haben.

        M 1 Reply Last reply Reply Quote 0
        • M
          Mickman99 @24unix
          last edited by Mickman99

          @24unix
          wenn am WAN das nicht auftaucht hat das mit den Optionen die Du für IPv6 anhakst so meine Erfahrung.
          Probiere mal

          Warte nicht auf ein RA

          ohne
          Verwende IPv4 Verbindung als übergeordnete Schnittstelle

          Das WAN Interface braucht nicht unbedingt eine routebare IPV6 Adresse

          24unix2 1 Reply Last reply Reply Quote 0
          • 24unix2
            24unix @Mickman99
            last edited by

            @mickman99 said in pfSense an Stadtwerke NMS statt FritzBox:

            @24unix
            wenn am WAN das nicht auftaucht hat das mit den Optionen die Du für IPv6 anhakst so meine Erfahrung.
            Probiere mal

            Warte nicht auf ein RA

            ohne
            Verwende IPv4 Verbindung als übergeordnete Schnittstelle

            Ich habe halt schon alle möglichen Kombinationen durch, aber ich probiere das gerne so nachher noch mal aus.

            Vielen Dank schon mal für Deine Bemühungen bis jetzt.

            24unix2 1 Reply Last reply Reply Quote 0
            • 24unix2
              24unix @24unix
              last edited by

              Sorry, muss auf meinen eigenen Post antworten, bin aus dem Edit-Fenster:

              Edit:

              Du schreibst: "ohne
              Verwende IPv4 Verbindung als übergeordnete Schnittstelle" aber in dem Dokument von SWN steht doch "Native IPv4-Anbindung verwenden", bezieht sich das nicht auf das gleiche?

              M 1 Reply Last reply Reply Quote 0
              • M
                Mickman99 @24unix
                last edited by Mickman99

                @24unix

                Nein

                Hast Du nun an deinen weiteren LAN Interfaces IPv6 anliegen?

                24unix2 1 Reply Last reply Reply Quote 0
                • 24unix2
                  24unix @Mickman99
                  last edited by 24unix

                  @mickman99
                  OK.
                  DB ist zuende, ich teste jetzt gerade.

                  Häkchen bei "Do not wait for a RA" entfernt, WAN und LAN neu gestartet: Nichts.

                  405c9a78-c52a-411f-89ba-1ebc899e2786-image.png
                  Hmm, jetzt war das in den Logs:

                  Feb  1 11:48:04 heimdall dhcp6c[38992]: link layer address is too short (pppoe0)
                  Feb  1 11:48:04 heimdall dhcp6c[38992]: failed to get default IF ID for pppoe0
                  Feb  1 11:48:04 heimdall dhcp6c[38992]: called
                  Feb  1 11:48:04 heimdall dhcp6c[38992]: failed to parse configuration file
                  

                  Und "Use IPv4" war aus … Ich mache es nun mal an, und probiere dann noch 2x mit und ohne "wait for a RA".

                  Hmm, auch nichts, ich google mal nach dem Fehler.

                  Edit: Nein, nur LL

                  6424339d-ac0d-4ae0-9c8c-f42cee55acf2-image.png

                  ifconfig igb0
                  igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
                  	options=407b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
                  	ether 00:0d:b9:4c:53:24
                  	hwaddr 00:0d:b9:4c:53:24
                  	inet 192.168.99.1 netmask 0xffffff00 broadcast 192.168.99.255
                  	inet6 fe80::1:1%igb0 prefixlen 64 scopeid 0x1
                  	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
                  	media: Ethernet autoselect (1000baseT <full-duplex>)
                  	status: active
                  
                  
                  ifconfig igb2
                  igb2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
                  	options=407b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO>
                  	ether 00:0d:b9:4c:53:26
                  	hwaddr 00:0d:b9:4c:53:26
                  	inet 192.168.9.1 netmask 0xffffff00 broadcast 192.168.9.255
                  	inet6 fe80::1:1%igb2 prefixlen 64 scopeid 0x3
                  	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
                  	media: Ethernet autoselect (100baseTX <full-duplex>)
                  	status: active
                  
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Mickman99 @24unix
                    last edited by Mickman99

                    @24unix

                    Die Schnittstelle LAN ist auf Track WAN gestellt?
                    Weil da was mit nd6 steht

                    24unix2 1 Reply Last reply Reply Quote 0
                    • 24unix2
                      24unix @Mickman99
                      last edited by

                      @mickman99 said in pfSense an Stadtwerke NMS statt FritzBox:

                      @24unix

                      Die Schnittstelle LAN ist auf Track WAN gestellt?
                      Weil da was mit nd6 steht

                      Was bedeutet nd6?

                      So sieht es aus:

                      645d6ad8-89ff-4ab4-afee-889f4b5f2ad1-image.png

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Mickman99 @24unix
                        last edited by

                        @24unix

                        Wieso Track ID99?

                        24unix2 1 Reply Last reply Reply Quote 0
                        • 24unix2
                          24unix @Mickman99
                          last edited by

                          @mickman99 So wie ich das verstehe, werden damit die Subnetze gemacht, oder?

                          Also, ich hoffe, wenn es läuft sieht es so aus:

                          LAN 2a03:7847:2252:100:99:/64
                          DMZ 2a03:7847:2252:100:9:/64
                          

                          Oder habe ich da ein grundsätzliches Verständnisproblem?

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Mickman99 @24unix
                            last edited by

                            @24unix

                            Die Anforderung erfolgt hier per Hexadezimal
                            Ich würde mit 0 anfangen immer Step by step

                            24unix2 1 Reply Last reply Reply Quote 0
                            • 24unix2
                              24unix @Mickman99
                              last edited by

                              @mickman99 said in pfSense an Stadtwerke NMS statt FritzBox:

                              @24unix

                              Die Anforderung erfolgt hier per Hexadezimal
                              Ich würde mit 0 anfangen immer Step by step

                              Hat leider auch nichts gebracht.

                              Ich suche immer noch nach der "link layer address istoo short" Sache.

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                Mickman99 @24unix
                                last edited by

                                Mit welchen Einstellungen haste denn bekommen?

                                Jan 31 16:31:28 heimdall dhcp6c[47887]: get DHCP option IA_PD prefix, len 25
                                Jan 31 16:31:28 heimdall dhcp6c[47887]: IA_PD prefix: 2a03:7847:2252💯:/56 pltime=345600 vltime=345600
                                Jan 31 16:31:28 heimdall dhcp6c[47887]: server ID: 00:03:00:01:d4:6d:50:4e:86:d7, pref=-1
                                Jan 31 16:31:28 heimdall dhcp6c[47887]: unexpected advertise
                                Jan 31 16:31:28 heimdall dhcp6c[47887]: reset timer for pppoe0 to 0.998394

                                Das sah doch schon gut aus!

                                24unix2 1 Reply Last reply Reply Quote 0
                                • 24unix2
                                  24unix @Mickman99
                                  last edited by

                                  @mickman99 said in pfSense an Stadtwerke NMS statt FritzBox:

                                  Mit welchen Einstellungen haste denn bekommen?

                                  Jan 31 16:31:28 heimdall dhcp6c[47887]: get DHCP option IA_PD prefix, len 25
                                  Jan 31 16:31:28 heimdall dhcp6c[47887]: IA_PD prefix: 2a03:7847:2252💯:/56 pltime=345600 vltime=345600
                                  Jan 31 16:31:28 heimdall dhcp6c[47887]: server ID: 00:03:00:01:d4:6d:50:4e:86:d7, pref=-1
                                  Jan 31 16:31:28 heimdall dhcp6c[47887]: unexpected advertise
                                  Jan 31 16:31:28 heimdall dhcp6c[47887]: reset timer for pppoe0 to 0.998394

                                  gute Frage, ich habe schon so viel probiert :-(

                                  Das sah doch schon gut aus!

                                  Es kam aber nicht an den Interfaces an, weder WAN (was wohl durchaus nur eine LL bekommen kann) noch LAN.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    Mickman99 @24unix
                                    last edited by

                                    Probier mal mit so wenig Optionen wie möglich aber Debug an und dann Log prüfen

                                    Also nur Prefix angeben

                                    und

                                    Sende einen Hinweis auf das IPv6 Prefix anhaken

                                    24unix2 1 Reply Last reply Reply Quote 0
                                    • 24unix2
                                      24unix @Mickman99
                                      last edited by

                                      @mickman99 Jetzt habe ich das probiert:

                                      c959d4bd-61db-483c-8abc-b3c30ef2162a-image.png

                                      Und der dhcp6c wurde gar nicht getriggert.

                                      24unix2 1 Reply Last reply Reply Quote 0
                                      • 24unix2
                                        24unix @24unix
                                        last edited by

                                        Momentan treibt mich das ja um:

                                        Feb  1 14:55:16 heimdall dhcp6c[29010]: link layer address is too short (pppoe0)
                                        
                                        

                                        Intensives googlen war nicht erfolgreich, aber es gibt ja immer noch einen Plan b.

                                        Use the source.

                                        Git repo gecloned, ein kurzes grep, das ganze taucht 2x im code auf, in der config.c, also ist das keine Fehlermeldung vom Server, sondern ein Fehler in meiner config.

                                        #ifdef __KAME__
                                                        if (ifa->ifa_addr->sa_family != AF_LINK)
                                                                continue;
                                        
                                                        sdl = (struct sockaddr_dl *)(void *)ifa->ifa_addr;
                                                        if (sdl->sdl_alen < 6) {
                                                                d_printf(LOG_NOTICE, FNAME,
                                                                    "link layer address is too short (%s)",
                                                                    pif->ifname);
                                                                goto fail;
                                                        }
                                        
                                                        memset(pif->ifid, 0, sizeof(pif->ifid));
                                                        cp = (char *)(sdl->sdl_data + sdl->sdl_nlen);
                                        #endif
                                        #ifdef __linux__
                                                        if (ifa->ifa_addr->sa_family != AF_PACKET)
                                                                continue;
                                        
                                                        sll = (struct sockaddr_ll *)ifa->ifa_addr;
                                                        if (sll->sll_halen < 6) {
                                                                d_printf(LOG_NOTICE, FNAME,
                                                                    "link layer address is too short (%s)",
                                                                    pif->ifname);
                                                                goto fail;
                                                        }
                                        
                                                        memset(pif->ifid, 0, sizeof(pif->ifid));
                                                        cp = (char *)(sll->sll_addr);
                                        #endif
                                        
                                        

                                        Auf freeBSD ist KAME relevant, jetzt muss ich mal versuchen zu verstehen was der Code macht.

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Mickman99 @24unix
                                          last edited by

                                          Meinst nicht es wäre vielleicht besser erstmal dein IPv6 in die Reihe zu bekommen bevor Du da an irgendwelchen Scripts rumfummelst?
                                          Aber mach mal.....

                                          24unix2 1 Reply Last reply Reply Quote 0
                                          • 24unix2
                                            24unix @Mickman99
                                            last edited by

                                            @mickman99 Ich versuche ja genau das.

                                            Solange ich noch Fehlermeldungen bekomme wird das wohl mit dem IPv6 auch nichts. Denke ich mal.

                                            Im Moment sieht es so aus:

                                            f2f0a289-eb95-4b47-a181-444beba9dfab-image.png

                                            d70ab1a2-e094-4285-a905-11ca2d114348-image.png

                                            Also Verbindung steht, irgendwie. Irgendwann bei meinen Experimenten hatte ich in der Config einen Status, wo der Fehler nicht kam, und das suche ich nun.

                                            Meine derzeitige config:

                                            7749f6be-693b-4602-86b2-e92760a4b003-image.png

                                            ergibt diese Datei:

                                             cat /var/etc/dhcp6c_wan.conf
                                            interface pppoe0 {
                                            	send ia-na 0;
                                            	send ia-pd 0;
                                            	send rapid-commit;
                                            	script "/var/etc/dhcp6c_wan_script.sh";
                                            };
                                            id-assoc na 0 { };
                                            id-assoc pd 0 {
                                            	prefix ::/56 infinity;
                                            	prefix-interface pppoe0 {
                                            		sla-id 0;
                                            		sla-len 16;
                                            	};
                                            };
                                            
                                            

                                            Und irgendwas schmeckt ihm dabei nicht.

                                            Ich gehe jetzt durch die man-page https://www.freebsd.org/cgi/man.cgi?query=dhcp6c.conf durch und versuche das zu verstehen.

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