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

    Can't access pfsense web GUI from VLANs [Solved]

    Scheduled Pinned Locked Moved General pfSense Questions
    58 Posts 3 Posters 18.6k 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.
    • P
      PFbest
      last edited by

      @johnpoz:

      No I mean tagged based..  Just run your wan and lan and whatever other networks you want on vlans.  Connect this to your laptop physical nic.  Throw away the crap usb nics.

      Oh, you mean with the switch + tag based vlan, I can go -> 1 laptop + 1 nic to deal both with WAN and LAN traffic, great idea, genius!
      I might try this one later I guess.
      I didn't realize I can do this when I was trying to use vlan for AP  ;D you are pro man!

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

        Only possible issue comes down to bandwidth.  Since your going to be hairpinning your connection from lan to wan..

        So if gig most you could ever see between lan and wan would be 500 mbps, Vlans on an interface share the total physical bandwidth of that interface..

        Performance wise prob still better off than usb crap.  That would sure make for a cleaner looking setup running on some laptop with dual usb nics handing off of it, etc.

        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
        • P
          PFbest
          last edited by

          @johnpoz:

          Only possible issue comes down to bandwidth.  Since your going to be hairpinning your connection from lan to wan..

          So if gig most you could ever see between lan and wan would be 500 mbps, Vlans on an interface share the total physical bandwidth of that interface..

          Performance wise prob still better off than usb crap.  That would sure make for a cleaner looking setup running on some laptop with dual usb nics handing off of it, etc.

          Yep, actually you know why I switch to USB NIC at beginning?

          When I was using physical NIC, if I go to pingtest.net, ping is fine, but I get results as -100%, because of the NIC will double ping or something like that. Unless I set the NIC for VM use only. Interesting isn't it.
          Yep, probably I will leave as it is then, untill I can afford a proper rack server  ;D

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

            Huh??  Not a clue to what your talking about..

            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
            • P
              PFbest
              last edited by

              @johnpoz:

              Huh??  Not a clue to what your talking about..

              Never mind, I guess I misunderstood your last post  ::) ::) ::)

              I mean, When I enable one same NIC both for physical machine and in virtual machine (Where pfsense sit on, as a gateway).
              Then I go to pingtest.net, the result for ping section will be minus 100% (Normally should be 100% if there's no ping problem), and that is because the ping is been sent or responded twice  :)

              1 Reply Last reply Reply Quote 0
              • P
                PFbest
                last edited by

                Tell you one more crazy thing.
                Those USB3 NICs are connected to a express card which plugged in laptop
                ::) ::) haha
                Even more broke, I guess that's what you going to say.  :P :D

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

                  sure seems like it..  If you want to play get some hardware to play with.  Doesn't have to be anything fancy for sure.  But come on card in some old laptop with usb nics hanging off that, running vm software talk about a hodge podge jury rigged setup.

                  An old small pc with a couple of nics in it would be fine - can surely be had for a few bucks off ebay or something if budget is a concern.

                  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
                  • P
                    PFbest
                    last edited by

                    @johnpoz:

                    sure seems like it..  If you want to play get some hardware to play with.  Doesn't have to be anything fancy for sure.  But come on card in some old laptop with usb nics hanging off that, running vm software talk about a hodge podge jury rigged setup.

                    An old small pc with a couple of nics in it would be fine - can surely be had for a few bucks off ebay or something if budget is a concern.

                    Yes, haha  :P
                    Oh I know, like buy a second hand desktop or something like that  ::)
                    Um, one or two more things will kick in is the electricity bill, laptop will generally eats less power than desktop I guess?
                    And the fan in the desktop will bring some noises I guess.
                    Oh, I want to mention that actually another great thing is laptop takes less space  ;D, well, can't compare to blade servers I know.  ;D

                    But yeah, I definitely know and understand what you are saying.
                    I can see and feel that with laptops, my playground is very limited, PCI/ports/hard disks etc.
                    Actually it can be tangled to decide to save for ultimate hardware in one shot, or upgrade gradually.

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

                      How much power do you think a small box draws?  I have older hp n40l with 4 disks in it, running multiple vms.  It draws like 50-55w.. While yes it has fans, they are not noisy or anything..

                      Did you put a killawatt meter on how much your laptop draws?  There are plenty of people getting old actual firewall hardware and running pfsense on it, etc.  You can for sure build a low power box, no fan for very low budget to run pfsense on..  You don't have ot use freaking total crap because you have low budget..

                      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
                      • P
                        PFbest
                        last edited by

                        @johnpoz:

                        How much power do you think a small box draws?  I have older hp n40l with 4 disks in it, running multiple vms.  It draws like 50-55w.. While yes it has fans, they are not noisy or anything..

                        Did you put a killawatt meter on how much your laptop draws?  There are plenty of people getting old actual firewall hardware and running pfsense on it, etc.  You can for sure build a low power box, no fan for very low budget to run pfsense on..  You don't have ot use freaking total crap because you have low budget..

                        hp n40l Um, learnt something new.
                        And you know what, just now I checked my laptop charger, label says it's 90W hahaha, I don't have a killawatt meter though.
                        I guess I might look into that then, hp n40l is on my sticky note now, thanks for that!!  :P
                        You are amazing!!!
                        BTW, I think at least my set up can approve pfsense is quite robust and will work in any environment, such as a insane environment like mine hahaha. ;D ;D ;D
                        BTW2, it's a retired laptop, so I think I should make something or make use of it, that's how things started, previously it's just modem -> wireless router -> daily use computer  ;)

                        (It's a a pity that I can't thank you multiple times in this post  ???)

                        1 Reply Last reply Reply Quote 0
                        • P
                          PFbest
                          last edited by

                          First: I know it's not good to use USB NICs and yes, currently I'm still using it.

                          Just want to share some more experiences.

                          So I searched on Google and found this post https://forum.pfsense.org/index.php?topic=13014.msg70145#msg70145 https://forum.pfsense.org/index.php?topic=13014.msg70145#msg70145
                          As GruensFroeschli said:

                          1: Well it depends on your setup.
                          If your client can handle oversized frames you should not have to change the MTU.
                          If the driver of your em-NIC's cannot handle oversized frames, you would have to change the MTU on the other side of the link, so no oversized frames arrive at your end.

                          2: The problem is, that VLAN-tags add 4bytes to every frame.
                          –> frames can become bigger than the allowed maximum.

                          Most drivers can handle this, but some have problems.

                          And some more about vlan and MTU: http://www.microhowto.info/tutorials/802.1q.html http://www.microhowto.info/tutorials/802.1q.html http://wiki.mikrotik.com/wiki/Manual:Interface/VLAN

                          So following this logic, I thought I will need to increase MTU size then.

                          I tried these steps, now VLANs with 1500 MTU works.

                          1. Enable Jumbo Packet for that LAN USB NIC on physical host not in virtual machine Windows in my case, and set maximum size to 4KB (I guess 2KB or 9KB etc. will work as well, see above links for WHY) (Most Intel NIC supports 9KB, but 4KB is enough for solving this problem though, will be a problem if you need to transfer big files between VLANs where all Intel NICs on PCs support 9KB but the LAN NIC on pfSense only support 4KB maximum, but that is not in this scope though.)

                          2. Set the actual LAN MTU to 4000 (Or anything greater than 1518) in pfSense.
                          (All VLANs are virtual interfaces created on LAN interface in pfSense) So only 1 physical cable for LAN and all VLANs

                          3. Then set MTU for all VLAN interfaces in pfsense to 1500.

                          Now all VLANs working with 1500 MTU, For Internet, captive portal web page and web page hosted inside the LAN or VLANs.
                          (Previously, Internet works, but can't get on captive portal page which hosted on pfSense, and can't get on web page which hosted in in LAN hosts.)

                          ;)

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