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

    VLAN traffic problem

    General pfSense Questions
    3
    11
    767
    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.
    • R
      rickygm
      last edited by

      Hi forum , I have a problem with my pfsense, I'm doing vlan routing with pfsense and a 2960g cisco, I have 3 vlan defined by: vlan 11, vlan12, vlan13, those same on the cisco 2960g switch, I have no problems with the vlan 11 and vlan 13 se communicate well, the problem is with the vlan 12 wifi user, if I want to get to the vlan 13 pinging did not arrive, and I have allowed the traffic from vlan 12 to 13, I make a tracert from a pc in vlan wifi to another pc from the vlan 13 and I see that the wifi catches the public ip of the pfsense not the private ip of the vlan wifi.

      in vlan 12 i have a dhcp running with the same pfsense

      gw vlan user : 192.168.13.1
      gw vlan wifi : 192.168.12.1
      gw vlan server: 192.168.11.1

      I hope some help , regards

      ![Captura de pantalla 2017-10-24 a la(s) 9.26.39 p. m..png](/public/imported_attachments/1/Captura de pantalla 2017-10-24 a la(s) 9.26.39 p. m..png)
      ![Captura de pantalla 2017-10-24 a la(s) 9.26.39 p. m..png_thumb](/public/imported_attachments/1/Captura de pantalla 2017-10-24 a la(s) 9.26.39 p. m..png_thumb)
      VLAN12-RULES.png
      VLAN12-RULES.png_thumb

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by

        Any floating rules?

        Also if you ping a windows machine you have to turn off/reconfigure the windows firewall, by default it blocks pings from different subnets.

        1 Reply Last reply Reply Quote 0
        • R
          rickygm
          last edited by

          @Grimson:

          Any floating rules?

          yes, this is the use to limit the bandwidth to some users.

          Also if you ping a windows machine you have to turn off/reconfigure the windows firewall, by default it blocks pings from different subnets.

          my windows users firewall is off

          ![Captura de pantalla 2017-10-25 a la(s) 10.03.04 a. m..png](/public/imported_attachments/1/Captura de pantalla 2017-10-25 a la(s) 10.03.04 a. m..png)
          ![Captura de pantalla 2017-10-25 a la(s) 10.03.04 a. m..png_thumb](/public/imported_attachments/1/Captura de pantalla 2017-10-25 a la(s) 10.03.04 a. m..png_thumb)

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

            What interfaces and directions do you have those floating rules setup on.  Your forcing traffic out your wan it looks like so vlans would not be able to talk to other vlans if they trigger those rules and get forced out the wan.

            "I have 3 vlan defined by: vlan 11, vlan12, vlan13, those same on the cisco 2960g switch"

            How is that?  If you have a downstream router then pfsense would normally only have a transit network to the downstream router, etc.  You wouldn't need downstream vlans on pfsense.

            It might help if you posted a diagram of your network so we could see how these vlans are actually connected to your network and their routing path if you have a downstream router in the mix.

            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
            • R
              rickygm
              last edited by

              @johnpoz:

              What interfaces and directions do you have those floating rules setup on.  Your forcing traffic out your wan it looks like so vlans would not be able to talk to other vlans if they trigger those rules and get forced out the wan.

              vlan 11: 192.168.11.0/24
              vlan 12: 192.168.12.0/24
              vlan 13: 192.168.13.0/24

              if I disable the floating rule, I have communication between the vlan, the problem is that some ip are free, but I limit them with a 4Mb bandwidth.

              "I have 3 vlan defined by: vlan 11, vlan12, vlan13, those same on the cisco 2960g switch"
              @johnpoz:

              How is that?  If you have a downstream router then pfsense would normally only have a transit network to the downstream router, etc.  You wouldn't need downstream vlans on pfsense.

              I do not have a router, it's a cisco switch 2960g L2

              It might help if you posted a diagram of your network so we could see how these vlans are actually connected to your network and their routing path if you have a downstream router in the mix.

              pfSense –-> Switch l2 ---other switch

              floatting.png
              floatting.png_thumb

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

                Oh my bad… Sorry I saw cisco 2960 which can do L3 and figured you were using it as L3 and routing on it.  If your just using it as L2 that yes your vlans on pfsense make more sense ;)

                "the problem is that some ip are free, but I limit them with a 4Mb bandwidth."

                That fine you can run them through a limiter.. But when you force them out a specific gateway with that rule, then they can not get to other networks that gateway can not get too.

                So in your rule with quick setup it since floating are evaluated before rules on the interface it would force say traffic from lan device out the wan - which wouldn't be able to get to vlan12 for example.  Just don't set the gateway on your rules or set them only when they are to non local networks could you force them out a specific gateway.

                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
                • R
                  rickygm
                  last edited by

                  @johnpoz:

                  Oh my bad… Sorry I saw cisco 2960 which can do L3 and figured you were using it as L3 and routing on it.  If your just using it as L2 that yes your vlans on pfsense make more sense ;)

                  Yes.

                  "the problem is that some ip are free, but I limit them with a 4Mb bandwidth."
                  @johnpoz:

                  That fine you can run them through a limiter.. But when you force them out a specific gateway with that rule, then they can not get to other networks that gateway can not get too.

                  So in your rule with quick setup it since floating are evaluated before rules on the interface it would force say traffic from lan device out the wan - which wouldn't be able to get to vlan12 for example.  Just don't set the gateway on your rules or set them only when they are to non local networks could you force them out a specific gateway.

                  I'm trying to understand this a bit better, you can give me an example of a rule in pfsense "screen shot" :)

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

                    Example of what exactly? a floating rule setting a client to use a limiter while still allowing it to access the vlans.  Do you want the limiter in place all the time or only when they go out the internet?

                    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
                    • R
                      rickygm
                      last edited by

                      @johnpoz:

                      Example of what exactly? a floating rule setting a client to use a limiter while still allowing it to access the vlans.

                      as I could continue to limit my bandwidth and be able to communicate with the other vlan, using your gw by default.

                      for example for vlan 12 the gw is 192.168.12.1, vlan 11 gw 192.168.11.1

                      @johnpoz:

                      Do you want the limiter in place all the time or only when they go out the internet?

                      my current floating rule limits the bandwidth when they go out internet

                      floatting-rule-inside.png
                      floatting-rule-inside.png_thumb

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

                        No your rule FORCES them out the wan gateway..  If you want that rule to only be used when going to the internet, and not be applied when going to other vlans. Then change the dest to only be the internet..

                        You can do that with dest rules set to NOT (!) your local networks.. Or create say an alias that contains all the rfc1918 space and use dest NOT that alias.. So that rule only triggers when they are not going local - or internet.

                        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
                        • R
                          rickygm
                          last edited by

                          Ok , I'll try

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