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

    WAN periodically Rebooting

    Scheduled Pinned Locked Moved General pfSense Questions
    184 Posts 5 Posters 18.4k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Earlier Draytek modems had several different firmware versions for different line conditions. I don't known if that's still true for the V166 but if it is you could try a different one.

      D 1 Reply Last reply Reply Quote 0
      • D
        diyhouse @stephenw10
        last edited by

        @stephenw10
        Hi Stephen,..I did upgrade the Draytek to the lastest firmware available,..
        Maybe worth raising a support call with Draytek?

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yup may as well. They may have alternative firmware you could try.

          D 1 Reply Last reply Reply Quote 0
          • D
            diyhouse @stephenw10
            last edited by

            @stephenw10
            https://www.draytek.co.uk/forum/dsl-specific-questions/24943-draytek-166?start=6

            Just found this on the Draytek site....

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Hmm, well that would be painful.

              Might need a TLDR post here as I can't recall excatly what you've tested at this point! You still saw disconnects with the Openreach modem(s) though?

              D 1 Reply Last reply Reply Quote 0
              • D
                diyhouse @stephenw10
                last edited by

                @stephenw10
                Yes,.. was thinking this post was getting a little like war a peace,.. with nearly 160 posts...
                Draytek log support opened,.. their sending me some tests to do...

                1 Reply Last reply Reply Quote 1
                • VioletDragonV
                  VioletDragon @diyhouse
                  last edited by

                  @diyhouse Interesting, Can you attach a screenshot of the WAN interface ? What are your MTU/MSS settings for WAN ?

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    diyhouse @VioletDragon
                    last edited by

                    @VioletDragon
                    Sorry,. missed you post,.. ( lot going on this end )
                    Currently Draytek are looking at my logs of how / when the link closes etc,.. as they have said everything looks good to them... well at least from the screen shots.
                    MTU is set to 1492

                    dray3.PNG
                    dray1.PNG

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Can you make the Draytek do the PPPoE connection and see if it still drops?

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        diyhouse @stephenw10
                        last edited by

                        @stephenw10 Yes,.. was wondering to do that,.. as at the end of the day,.. one critical part of the puzzle we have not eliminated is the pfsense box itself,.. maybe h/w or config issues,.. unlikely but not impossible..
                        I think I have re config'd the Draytek to handle to PPPoE,.. and I think I can just connect the modem to one of the spare ports on the pfsense box,.. and add rules to just route all ( ipv6/4) traffic from a 192.168.3.0 network to 192.168.30.0 network...
                        This should then preserve all my 192.168.3.0 DNS mapping etc,.. and should be transparent to my overall network,..
                        Are my thoughts assumptions correct? Tx for any guidelines...

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Yes that should work. It may have some sort of DMZ feature to just forward all traffic to the internal pfSense WAN IP.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            diyhouse @stephenw10
                            last edited by

                            @stephenw10 Hi Guys,..
                            Well bit the bullet,.. and connected the draytek directly to the DSL connection, and let it manage the connection.
                            Good news I achieved a good solid connection that appeared stable during two sessions of 40min and 50mins... not the 3 or 4 mins as before with PPPoE and pfsense.
                            'My' only problem, was my lack of understanding... ( I believe ).
                            I naively thought that placing the Draytek on another LAN ..6.0 network, and creating a rule to pass all traffic between my 'base LAN on ...3.x' would suffice.
                            Nope,.. the penny dropped as I realised I was no longer routing my DNS lookups to the correct LAN and device, So I thought/belive. As I still want pfsense to manage my security and DNS...
                            I tried numerous DNS re-configs, that I could find and think off, as well as numerous Rules, but alas I did not strike lucky.
                            Can someone enlighten my how I get Pfsense to point to the Draytek, ( IP 192.168.6.20 ), I assume this is how I point to it. and what rules I actually need...
                            Screenshot from 2024-11-17 13-17-21.png
                            status.PNG

                            Also the big question now is why does pfsense not hold a continuous connection,.. but lets save that for a rainy day.. Is it my config and 'rules'.
                            Oh and needless to say when I connected back to original h/w config... that to was broken,.. ( thank goodness for config backups,.. and the ability to restore selected parts,.. fantastic. ) But I still had to reboot my working PC,.. I suspect it to,.. was confused by DNS as well..
                            Ah thoughts..
                            Thankyou in anticipation...
                            KR

                            Y 1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              What I'd expect to see would be the pfSense WAN connected to the Draytek in the new subnet.

                              Traffic from pfSense would still be routed via the WAN but just not using PPPoE.

                              1 Reply Last reply Reply Quote 0
                              • Y
                                youngy @diyhouse
                                last edited by

                                @diyhouse Hello,
                                I'm not sure how much help this will be now you're letting the Draytek modem manage the VDSL connection, but I use the same modem (Vigor 166) in bridge mode with pfsense+ (sg2100). My internet connection is FTTC (no FTTH here yet either) provided by Zen. I've always had problems with frequent dropouts with the stock firmware to the point the modem was unusable (many times a day). In the end I got in touch with Draytek support and they sent me a link to access a different firmware (4.2.5 RC2 MDM6), which solved the problem. I don't get the uptime mentioned in this thread but two to three weeks between DSL resyncs is typical.

                                D 2 Replies Last reply Reply Quote 1
                                • D
                                  diyhouse @youngy
                                  last edited by

                                  @youngy said in WAN periodically Rebooting:
                                  Many tx for your input suggestion..

                                  frequent dropouts

                                  Yes that s exactly my issue,... If I could get 2 or 3 weeks between reconnects that would be great.
                                  I have sent a note to Draytek requesting a link to the Firmware you suggested

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    diyhouse @youngy
                                    last edited by diyhouse

                                    @youngy Had a response from Draytek,.. as follows:-

                                    Please see link below to requested firmware
                                    
                                    https://fw.draytek.com.tw/Vigor166/Firmware/v4.2.5/
                                    
                                    However is from the .com website and is more suitable to infrastructure from outside the UK. So we cant guarantee that this will work properly but you are welcome to test it
                                    

                                    May I enquire of your country of use... and your ISP provider,.. if you dont mind..
                                    KR

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Looks like he's on Zen so the UK.

                                      The release notes make it look like MDM6 is worth trying:

                                      "Vigor166_4.2.5_MDM6.zip" provides Annex A modem code 129120_05, and
                                      128210_02. (Recommended when meeting VDSL sync issue).
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        Though I'd probably try 4.2.7_MDM6.

                                        It's interesting that your current firmware shows as 4.2.7_BT so maybe tuned for BT/Openreach?

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          diyhouse @stephenw10
                                          last edited by

                                          @stephenw10 Not sure if its the same equiv,.. but there's also a 4.2.7 MDM6.zip
                                          Humm,.. same improvements ? who knows...??
                                          what are MDM versions..?

                                          Y 2 Replies Last reply Reply Quote 0
                                          • Y
                                            youngy @diyhouse
                                            last edited by

                                            @diyhouse Hello, yes I’m in the UK with Zen. I contacted support@draytek.co.uk and they sent a link to the firmware. I tried newer *_BT firmware but still get the frequent drops so went back to one I mentioned above. I hadn’t seen the 4.2.7_MDM6 version but can try it and let you know how it goes. Is the link on the draytek UK website?

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