Navigation

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

    Port tagging on APU2?

    L2/Switching/VLANs
    5
    56
    222
    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.
    • O
      orangehand last edited by

      On my APU2 box there is no Switch GUI in the Interfaces menu. How do I take the LAN port with a VLAN?
      Many thanks

      bingo600 1 Reply Last reply Reply Quote 0
      • bingo600
        bingo600 @orangehand last edited by

        @orangehand
        https://forum.netgate.com/post/944426

        1 Reply Last reply Reply Quote 0
        • O
          orangehand last edited by

          Forgive me if I am being stupid but I don't understand what you are specifically pointing me to.
          I get that you:
          Create VLAN
          Add it to an interface
          Add a DHCP server to it
          Add a pass rule
          But then you have to tag the LAN network port don't you?

          On the Sg-1100 I set up yesterday there was a switch submenu in Interfaces where you added the tags. On my APU2 box there isn't a switch submenu so where do I do the tagging?

          bingo600 JeGr 2 Replies Last reply Reply Quote 0
          • bingo600
            bingo600 @orangehand last edited by bingo600

            @orangehand said in Port tagging on APU2?:

            But then you have to tag the LAN network port don't you?

            pfSense can do tagging on an interface, meaning you can transport several vlan(s) data ... down the same wire.
            But i'm not sure if you can do something like "native vlan"

            On a switch you can make an interface an untagged member of a VLAN.
            That i'm not sure you can do on a "Non-Switch interface" ..
            I know of no way to do it.

            I describe a bit aboyt tagging here
            https://forum.netgate.com/post/944383

            On the Sg-1100 I set up yesterday there was a switch submenu in Interfaces where you added the tags. On my APU2 box there isn't a switch submenu so where do I do the tagging?

            You might want to start with what you want to achieve here.

            /Bingo

            1 Reply Last reply Reply Quote 0
            • O
              orangehand last edited by

              I just want to get a guest VLAN working. The devices get an IP via the tagged SSID on Unifi, but no traffic passes

              JKnott 1 Reply Last reply Reply Quote 0
              • O
                orangehand last edited by

                Screenshot 2020-11-28 at 17.53.21.png Screenshot 2020-11-28 at 17.50.03.png image url)

                1 Reply Last reply Reply Quote 0
                • bingo600
                  bingo600 last edited by bingo600

                  Do they get an ip belonging to Guest Vlan , or Lan ?

                  If you have Lan & Guest Vlan on the same IGB1 port , how do you connect both the Lan devices and the Unifi AP ... (To the same port) ??

                  1 Reply Last reply Reply Quote 0
                  • O
                    orangehand last edited by

                    Guest VLAN

                    1 Reply Last reply Reply Quote 0
                    • bingo600
                      bingo600 last edited by bingo600

                      Don't you have a spare port in the APU , for the Unifi ?
                      How do you connect that AP

                      Are you using a switch also ?

                      Right now you are transporting on (IGB1)
                      LAN - Untagged
                      Guest - Tagged Vlan20

                      It should work for your wifi ...

                      But how do you connect LAN devices ??

                      1 Reply Last reply Reply Quote 0
                      • O
                        orangehand last edited by

                        I want the untagged normal traffic AND the tagged VLAN traffic to be sent to the switches and the APs, and just the guest access via Wifi by choosing the relevant SSID (if that make sense!)

                        bingo600 1 Reply Last reply Reply Quote 0
                        • bingo600
                          bingo600 @orangehand last edited by bingo600

                          @orangehand

                          If you have setup a switch correct to receive untagged (lan) and Tagged vlan20,
                          that would make sense.

                          Then you have another switch port where the unifi is connected ?

                          Are you running tagged vlans to the Unifi (ssids)

                          1 Reply Last reply Reply Quote 0
                          • JKnott
                            JKnott @orangehand last edited by

                            @orangehand said in Port tagging on APU2?:

                            I just want to get a guest VLAN working. The devices get an IP via the tagged SSID on Unifi, but no traffic passes

                            I recently set up a Unifi AP with pfsense on an old computer. I had previously set it up for another AP, but it works the same. You add a VLAN to the pfsense interface and use the same VLAN ID at the AP. If you have a managed switch in between, you will also have to configure the same VLAN on the ports connected to pfsense and the AP.

                            1 Reply Last reply Reply Quote 0
                            • O
                              orangehand last edited by

                              That is already set up - Guest SSID with a VLAN tag of 20. A device connected to that SSID gets an IP from the right DHCP pool, but the traffic doesn't get out of the LAN, hence it's useless!

                              bingo600 JKnott 2 Replies Last reply Reply Quote 0
                              • bingo600
                                bingo600 @orangehand last edited by bingo600

                                @orangehand said in Port tagging on APU2?:

                                That is already set up - Guest SSID with a VLAN tag of 20. A device connected to that SSID gets an IP from the right DHCP pool, but the traffic doesn't get out of the LAN, hence it's useless!

                                I suppose you mean WAN ??

                                Can you ping the pfSense Guest interface from a Wifi client ?
                                Can you ping 8.8.8.8

                                O 1 Reply Last reply Reply Quote 0
                                • JKnott
                                  JKnott @orangehand last edited by

                                  @orangehand said in Port tagging on APU2?:

                                  That is already set up - Guest SSID with a VLAN tag of 20. A device connected to that SSID gets an IP from the right DHCP pool, but the traffic doesn't get out of the LAN, hence it's useless!

                                  Here's what I have for my rules:

                                  Screenshot_20201128_131914.png

                                  These work well. They block the guest from accessing anything on my network, other than pinging the VLAN3 interface.

                                  O 1 Reply Last reply Reply Quote 0
                                  • O
                                    orangehand @bingo600 last edited by

                                    @bingo600 Yes, I meant out from the LAN to the WAN

                                    bingo600 1 Reply Last reply Reply Quote 0
                                    • bingo600
                                      bingo600 @orangehand last edited by

                                      @orangehand

                                      We are talking about the WiFi clients , that cant access the internet ??
                                      Or did you mean LAN ?

                                      O 1 Reply Last reply Reply Quote 0
                                      • O
                                        orangehand @JKnott last edited by

                                        @JKnott I'm pretty sure it isn't rules that is the issue. Yours are simply rather more elegant versions of mine! I still cannot get onto the Internet from the guest vlan

                                        bingo600 1 Reply Last reply Reply Quote 1
                                        • bingo600
                                          bingo600 @orangehand last edited by

                                          @orangehand
                                          And you're sure it's not an DNS issue ?

                                          can you ping : dns.google.com
                                          does it resolve ?

                                          Can you ping : 8.8.4.4

                                          O 1 Reply Last reply Reply Quote 0
                                          • O
                                            orangehand @bingo600 last edited by

                                            @bingo600 Yes, Wifi clients. (sorry for delay - it's not letting me post more than once every 2 mins)

                                            bingo600 1 Reply Last reply Reply Quote 1
                                            • O
                                              orangehand @bingo600 last edited by

                                              @bingo600 DNS from DHCP is 1.1.1.1 and 9.9.9.9 and I cannot ping 8.8.8.8 from the Guest SSID, but can from the untagged SSID

                                              bingo600 JKnott 3 Replies Last reply Reply Quote 1
                                              • bingo600
                                                bingo600 @orangehand last edited by bingo600

                                                @orangehand

                                                Can you ping the wifi def-gw (the pfSense Guest interface) from a wifi device ?

                                                If you disable the "bloc access to lan" rule on your wifi nterface , can you ping lan devices ?

                                                1 Reply Last reply Reply Quote 1
                                                • bingo600
                                                  bingo600 @orangehand last edited by bingo600

                                                  @orangehand said in Port tagging on APU2?:

                                                  @bingo600 Yes, Wifi clients. (sorry for delay - it's not letting me post more than once every 2 mins)

                                                  Just gave you 3 likes ... Think your (now) 5 , makes that limit go away

                                                  1 Reply Last reply Reply Quote 1
                                                  • JKnott
                                                    JKnott @orangehand last edited by

                                                    @orangehand said in Port tagging on APU2?:

                                                    @bingo600 DNS from DHCP is 1.1.1.1 and 9.9.9.9 and I cannot ping 8.8.8.8 from the Guest SSID, but can from the untagged SSID

                                                    Take things one step at a time. Can you ping your VLAN interface by IP address, not host name? The WAN port? The ISP's gateway? If those work then your routing is set up correctly. If you then try something like google.com, and it works, then your DNS is OK. This is how you troubleshoot a problem. Otherwise, we have to guess and make suggestions.

                                                    1 Reply Last reply Reply Quote 1
                                                    • bingo600
                                                      bingo600 last edited by bingo600

                                                      I suppose JKnott is taking over here
                                                      He's repeating most of what i suggested

                                                      JKnott 1 Reply Last reply Reply Quote 1
                                                      • JKnott
                                                        JKnott @bingo600 last edited by

                                                        @bingo600

                                                        No, just making sure he's not missing anything.

                                                        bingo600 1 Reply Last reply Reply Quote 1
                                                        • bingo600
                                                          bingo600 @orangehand last edited by bingo600

                                                          @orangehand

                                                          Since you don't get the pfSense box as DNS servers on your WiFi clients , you must have changed the default DHCP Server settings.

                                                          You haven't changed the DHCP Server Gateway option , have you ?

                                                          O 1 Reply Last reply Reply Quote 1
                                                          • O
                                                            orangehand @bingo600 last edited by

                                                            @bingo600 No - Screenshot 2020-11-28 at 19.05.29.png

                                                            And to follow your checklist, I can ping the VLAN gateway when on the VLAN SSID. I cannot get any further than that.

                                                            1 Reply Last reply Reply Quote 0
                                                            • bingo600
                                                              bingo600 last edited by bingo600

                                                              Did you try to remove/disable the LAN block rule on the Guest Vlan ?
                                                              Can you then ping the Lan IF , and/or a Lan device ?

                                                              Something is fishy ....
                                                              Smells of missing or wrong def-gw.

                                                              But if you havent touched Anything besides what you have posted in the dhcp screenshot. PfSense should hand out the interface address as def-gw.

                                                              And that you can ping.

                                                              Hey ...

                                                              That screenshot is not DHCP Server , that's the IF
                                                              You haven't set any upstream gw on the if ... have you
                                                              Dooh missed it was set to none

                                                              O 1 Reply Last reply Reply Quote 0
                                                              • O
                                                                orangehand @bingo600 last edited by

                                                                @bingo600 I removed the custom DNS addresses from the DHCP server and that made no difference. What I am wondering is why the SG-1100 has a switch submenu in Interfaces to enable port tagging, and this APU2 does not. Might that be the crux of this?

                                                                bingo600 1 Reply Last reply Reply Quote 0
                                                                • bingo600
                                                                  bingo600 @orangehand last edited by bingo600

                                                                  @orangehand said in Port tagging on APU2?:

                                                                  @bingo600 I removed the custom DNS addresses from the DHCP server and that made no difference.

                                                                  I expected that , as your DNS servers are on the INET , and INET can't be reached.

                                                                  What I am wondering is why the SG-1100 has a switch submenu in Interfaces to enable port tagging, and this APU2 does not. Might that be the crux of this?

                                                                  Nope .. I'm running a Unifi on a pfSense wo. switch menu , and JKnott does the same (see further up).

                                                                  Your tagging is working , since you get a Guest Ip address (in Vlan 20)

                                                                  Post a picture of your DHCP Server settings for Guest

                                                                  You don't have any group or floating rules , do you ?

                                                                  O 1 Reply Last reply Reply Quote 0
                                                                  • O
                                                                    orangehand @bingo600 last edited by

                                                                    @bingo600 Screenshot 2020-11-28 at 19.28.17.png Anything not shown is default

                                                                    bingo600 1 Reply Last reply Reply Quote 0
                                                                    • bingo600
                                                                      bingo600 @orangehand last edited by bingo600

                                                                      @orangehand

                                                                      Then something is fishy ....

                                                                      Did you remove the Lan block rule , and tried to ping lan IF and maybe a lan device.

                                                                      Edit:

                                                                      Now that you have removed the 9.9.9.9 & 1.1.1.1 as DNS , can you resolve DNS now?

                                                                      I mean what does ie. ping dns.google.com show ?

                                                                      Does it resolve like here , where it resolves to 8.8.4.4

                                                                      $ ping dns.google.com
                                                                      PING dns.google.com (8.8.4.4) 56(84) bytes of data.
                                                                      
                                                                      O 2 Replies Last reply Reply Quote 1
                                                                      • O
                                                                        orangehand @bingo600 last edited by orangehand

                                                                        @bingo600 Yes. I can ping devices on both subnets from the guest subnet when that rule is disabled

                                                                        bingo600 1 Reply Last reply Reply Quote 0
                                                                        • O
                                                                          orangehand @bingo600 last edited by

                                                                          @bingo600 and @JKnott You are stars for trying; thanks so much. I need to go out to dinner now. Any further thoughts much appreciated!

                                                                          bingo600 JKnott 2 Replies Last reply Reply Quote 0
                                                                          • bingo600
                                                                            bingo600 @orangehand last edited by bingo600

                                                                            @orangehand
                                                                            Then def-gw ought to be set correct.

                                                                            Can you ping the WAN IF ?

                                                                            How is your outbound NAT set ?

                                                                            ac2653fc-edab-42ae-814f-1671508b729f-image.png

                                                                            Do you have "Auto created XXX to wan" for all the interfaces ?

                                                                            Especially look at Guest , if it's missing there

                                                                            Maybe post a screenshot

                                                                            1 Reply Last reply Reply Quote 0
                                                                            • bingo600
                                                                              bingo600 @orangehand last edited by

                                                                              @orangehand

                                                                              Did you get this solved ?

                                                                              O 1 Reply Last reply Reply Quote 0
                                                                              • O
                                                                                orangehand @bingo600 last edited by

                                                                                @bingo600 No. Here is the Outbound NAT screenshot: Screenshot 2020-11-29 at 10.02.19.png

                                                                                bingo600 2 Replies Last reply Reply Quote 0
                                                                                • JKnott
                                                                                  JKnott @orangehand last edited by

                                                                                  @orangehand said in Port tagging on APU2?:

                                                                                  I need to go out to dinner now. Any further thoughts much appreciated!

                                                                                  I like pizza. 😉

                                                                                  1 Reply Last reply Reply Quote 0
                                                                                  • JeGr
                                                                                    JeGr LAYER 8 Moderator @orangehand last edited by

                                                                                    @orangehand said in Port tagging on APU2?:

                                                                                    On the Sg-1100 I set up yesterday there was a switch submenu in Interfaces where you added the tags. On my APU2 box there isn't a switch submenu so where do I do the tagging?

                                                                                    Just for anyone else wondering: SG1100, 2100, 3100 and 7100 have built in Switch chipsets! Those ports are actually switched internally that's why they have a special pfsense version from Netgate to include the config of said switch chip. You don't have that on any other hardware!

                                                                                    Other than that @JKnott and @bingo600 seem to have things under control, wouldn't want to intrude and confuse everyone :)

                                                                                    O 1 Reply Last reply Reply Quote 0
                                                                                    • First post
                                                                                      Last post

                                                                                    Products

                                                                                    • Platform Overview
                                                                                    • TNSR
                                                                                    • pfSense
                                                                                    • Appliances

                                                                                    Services

                                                                                    • Training
                                                                                    • Professional Services

                                                                                    Support

                                                                                    • Subscription Plans
                                                                                    • Contact Support
                                                                                    • Product Lifecycle
                                                                                    • Documentation

                                                                                    News

                                                                                    • Media Coverage
                                                                                    • Press
                                                                                    • Events

                                                                                    Resources

                                                                                    • Blog
                                                                                    • FAQ
                                                                                    • Find a Partner
                                                                                    • Resource Library
                                                                                    • Security Information

                                                                                    Company

                                                                                    • About Us
                                                                                    • Careers
                                                                                    • Partners
                                                                                    • Contact Us
                                                                                    • Legal
                                                                                    Our Mission

                                                                                    We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                                                                                    Subscribe to our Newsletter

                                                                                    Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                                                                                    © 2021 Rubicon Communications, LLC | Privacy Policy