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

    Desktop with 1 lan set for router

    L2/Switching/VLANs
    5
    12
    1.2k
    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.
    • X
      xplozia
      last edited by

      I have a old desktop with 1 lan, and I want to instal pfsense. I read in few post here, can I use 1 Lan port for WAN and LAN, but I need to set a vlan.
      I have a mikrotik hap ac2. I want to use this mikrotik like a switch.
      The internet connection are pppoe and I want to put in port 5 of mikrotik, and port 3 from mikrotik conect directly on LAN desktop. It is possible?
      How?
      Thank you!

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        No idea what the capabilities of the Mikrotik are. Sorry.

        All you need is a switch that can separate two VLANs and tag them to the pfSense port.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • X
          xplozia
          last edited by

          @derelict said in Desktop with 1 lan set for router:

          No idea what the capabilities of the Mikrotik are. Sorry.
          All you need is a switch that can separate two VLANs and tag them to the pfSense port.
          The mikrotik have capabilities for vlans: https://mikrotik.com/product/hap_ac2
          But I don't know how to config

          1 Reply Last reply Reply Quote 0
          • X
            xplozia
            last edited by

            The mikrotik have capabilities for vlans: https://mikrotik.com/product/hap_ac2
            But I don't know how to config

            1 Reply Last reply Reply Quote 0
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              This is not a Mikrotik support forum. You might have better luck with that over there.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • X
                xplozia
                last edited by

                Ok, O know, I want to set pfsense router with a single lan., mikrotik like a switch.

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

                  https://docs.netgate.com/platforms/minnowboard/pfsense.html should be easy to adapt to other hardware.

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    xplozia @Grimson
                    last edited by

                    @grimson thanks!
                    The pppoe connection Will be maked in pfsense ?

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @xplozia
                      last edited by

                      @xplozia said in Desktop with 1 lan set for router:

                      @grimson thanks!
                      The pppoe connection Will be maked in pfsense ?

                      I've been using pfSense and a ADSL modem (not a router !!) from my ISP for years.
                      pfSense initiated the PPPOE connection (a modem can do anything, it's a 'dumb' device) that converts ADSL POTS electrical signals to an Ethernet connection.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • JKnottJ
                        JKnott
                        last edited by

                        While you can use a VLAN & managed switch, why not just put in a 2nd NIC? It makes things a bit simpler.

                        PfSense running on Qotom mini PC
                        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                        UniFi AC-Lite access point

                        I haven't lost my mind. It's around here...somewhere...

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

                          @jknott because I ușe a Little usff dell optiplex 780. I tryed with a USB lan, compatibile with Fred bsd, but the usb device losing connection.

                          1 Reply Last reply Reply Quote 0
                          • X
                            xplozia
                            last edited by

                            I installed with success.
                            I set mikrotik like a Wisp AP - Bridge, I deleted DHCP rules and i create 1 vlan on eth5.
                            In PfSense I created 1 vlan, in Interfaces / Interface Assignments I associate WAN with PPPOE0(em0) created in PPPs like a Link Type - pppoe.
                            Now I have an Pfsense router with 1 single ethernet port for WAN and LAN.
                            Thanks!

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