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

    Problem with pppoe over vlan

    Scheduled Pinned Locked Moved General pfSense Questions
    44 Posts 2 Posters 8.3k Views 4 Watching
    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.
    • fireodoF Online
      fireodo @stephenw10
      last edited by fireodo

      @stephenw10 said in Problem with pppoe over vlan:

      Right, but I'm saying if you assign igb1 as a new interface and enable it with no config but just so it's up does that also go down when you make a change. That would explain why the vlan is rebuilt, but not why igb1 goes down.

      Steve

      Yes it also goes down, here the dmesg output:

      igb1: link state changed to DOWN
      igb1.7: link state changed to DOWN
      igb1: link state changed to UP
      igb1.7: link state changed to UP
      vlan0: changing name to 'igb1.7'

      PS. Maybe its helpful to know that my system was continuously updatet from 2.4.3 (I'm using pfsense longer but 2.4.3 was a fresh install with config recovery)

      PPS. Another Idea: Snort needs interfaces in promiscuous mode - could that be a possible culprit?

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

        Mmm, exactly Snort applies promiscuous mode when it starts.

        What happens if you just restart Snort?

        What interfaces do you have Snort running on?

        It looks like the VLAN here is correctly being recreated because the parent interface is brought down. That's why I can't replicate it here. I'll try with Snort....

        Steve

        fireodoF 1 Reply Last reply Reply Quote 0
        • fireodoF Online
          fireodo @stephenw10
          last edited by fireodo

          @stephenw10 said in Problem with pppoe over vlan:

          Mmm, exactly Snort applies promiscuous mode when it starts.

          What happens if you just restart Snort?

          Snort restarts without any issue.

          What interfaces do you have Snort running on?

          WAN interface only.

          It looks like the VLAN here is correctly being recreated because the parent interface is brought down. That's why I can't replicate it here. I'll try with Snort....

          Thanks, a lot!

          Here are all the pkgs I use: Cron, iftop, iperf, LCDproc, nmap, pfBlockerNG-devel, RRD_Summary, Shellcmd, snort

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

            Hmm, I can't replicate seeing the NIC link go down however I try to apply it....

            fireodoF 1 Reply Last reply Reply Quote 0
            • fireodoF Online
              fireodo @stephenw10
              last edited by fireodo

              @stephenw10 said in Problem with pppoe over vlan:

              Hmm, I can't replicate seeing the NIC link go down however I try to apply it....

              I crashed myself my head - I have no clou where to set the axe ... definitiv clear is that every time I save a interface (without any changes) (LAN or WIFI or the OPT2 igb1-temporary created) the vlan gets remade ... and that kills the pppoe!

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

                Yup. I see it it happening for you I just can't re-create it here...yet.

                fireodoF 2 Replies Last reply Reply Quote 1
                • fireodoF Online
                  fireodo @stephenw10
                  last edited by

                  @stephenw10 said in Problem with pppoe over vlan:

                  Yup. I see it it happening for you I just can't re-create it here...yet.

                  Thanks for not giving up! ๐Ÿ‘ ๐Ÿ‘

                  1 Reply Last reply Reply Quote 0
                  • fireodoF Online
                    fireodo @stephenw10
                    last edited by

                    @stephenw10

                    Hi anything new in this problem? Just asking! ๐Ÿ˜Š

                    Regards,
                    fireodo

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

                      No I've been unable to replicate it. Something you have set there is causing the NIC to flap and I'm not sure what.
                      We might need to review your config somehow...

                      Steve

                      fireodoF 2 Replies Last reply Reply Quote 0
                      • fireodoF Online
                        fireodo @stephenw10
                        last edited by

                        @stephenw10 said in Problem with pppoe over vlan:

                        No I've been unable to replicate it. Something you have set there is causing the NIC to flap and I'm not sure what.
                        We might need to review your config somehow...

                        Steve

                        OK, understood!

                        Thanks anyway!
                        fireodo

                        fireodoF 1 Reply Last reply Reply Quote 0
                        • fireodoF Online
                          fireodo @fireodo
                          last edited by fireodo

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • fireodoF Online
                            fireodo @stephenw10
                            last edited by

                            @stephenw10

                            BTW: I set up a identical machine (APU2C0) with a fresh pfsense 2.4.5-RELEASE-p1 with no other packages and the behavior is exactly like my productive pfsense. Saving the LAN(igb0) or the WIFI(ath0_wlan0) interface without any changes made, make the vlan to be remade! (Vlan is on igb1). Anyway seems I have to live with it ๐Ÿ˜ข

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

                              Hmm, wondering if it's because of the bridge maybe... Though without igb1 in the bridge you would not expect that to hit WAN...

                              fireodoF 1 Reply Last reply Reply Quote 0
                              • fireodoF Online
                                fireodo @stephenw10
                                last edited by fireodo

                                @stephenw10 said in Problem with pppoe over vlan:

                                Hmm, wondering if it's because of the bridge maybe... Though without igb1 in the bridge you would not expect that to hit WAN...

                                igb1 is not in the bridge. The bridge is between LAN (igb0) and WIFI (ath0_wlan0). igb1 has no interface assign on it (only the vdsl-modem is connected to it) and is only parent for vlan7 and pppoe connects via vlan7.

                                Regards and fine weekend,
                                fireodo

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

                                  Yes, exactly. Without igb1 in the bridge I wouldn't expect to see changes made to the wifi interface affect it.
                                  But I'm unable to replicate it. The interfaces do not lose link and come back up when you make a change. Even on the interface you apply the change to.
                                  You must have something in your config that is applying a setting to all interfaces everytime they are reloaded. Like maybe putting them in promiscuous mode for monitoring. I could imagien iftop or snort doing that. I did test Snort though.

                                  Anyway this is not a problem with PPPoE over VLANs, not specifically at least. The VLAN is being rebuilt here because the parent interface is flapping.

                                  Steve

                                  fireodoF 1 Reply Last reply Reply Quote 0
                                  • fireodoF Online
                                    fireodo @stephenw10
                                    last edited by

                                    @stephenw10 said in Problem with pppoe over vlan:

                                    Yes, exactly. Without igb1 in the bridge I wouldn't expect to see changes made to the wifi interface affect it.
                                    But I'm unable to replicate it. The interfaces do not lose link and come back up when you make a change. Even on the interface you apply the change to.
                                    You must have something in your config that is applying a setting to all interfaces everytime they are reloaded. Like maybe putting them in promiscuous mode for monitoring. I could imagien iftop or snort doing that. I did test Snort though.

                                    Anyway this is not a problem with PPPoE over VLANs, not specifically at least. The VLAN is being rebuilt here because the parent interface is flapping.

                                    Steve

                                    This is maybe an explication for my "productivity" pfsense but not for the clean install pfsense on the the secondary machine - there is no snort or anything else like that.

                                    In the mean time I get a vdsl-modem who is setting the tag 7 (neccessary for getting a connection on my provider) so I dont need the pfsense vlan7 anymore. Now I can store any interface without loosing connection! (but the vlan7 gets still renewed every time - I didnt deleted the vlan7 because I will observe in the future whats going on with it) So this is my personal "workaround".

                                    Maybe you cannot reproduce the situation because of running pfsense in a VM? Just a supposition ...

                                    Regards and thanks,
                                    fireodo

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

                                      No, I've tested a number of different hardware devices too. No insight at this point.

                                      fireodoF 1 Reply Last reply Reply Quote 0
                                      • fireodoF Online
                                        fireodo @stephenw10
                                        last edited by fireodo

                                        @stephenw10 said in Problem with pppoe over vlan:

                                        No, I've tested a number of different hardware devices too. No insight at this point.

                                        That let me "speechless" - as you can imagine I crushed my head long time before writing in the forum because I dont want to steal the time from nobody, with a problem that I can solve myself, but I did not find a hook from where the problem may be get solved.

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

                                          Try just doing a basic install and testing this. Add the parts of you config one at a time until the issue shows up.

                                          Steve

                                          fireodoF 1 Reply Last reply Reply Quote 0
                                          • fireodoF Online
                                            fireodo @stephenw10
                                            last edited by

                                            @stephenw10 said in Problem with pppoe over vlan:

                                            Try just doing a basic install and testing this. Add the parts of you config one at a time until the issue shows up.

                                            Steve

                                            Thats what I have done on the secondary machine - just basic setup and the vlan7 problem was there.

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