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

Building my own router.

Scheduled Pinned Locked Moved Hardware
54 Posts 5 Posters 4.1k 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.
  • G
    GeorgePatches @Master Henry
    last edited by Jun 7, 2024, 1:36 AM

    @Master-Henry Oh, also if you're only using wifi right now, I'd strongly suggest trying wired connections before you change anything else. WiFi is the latency devil. I actually just spent a lot of my day and evening digging through settings in my pfsense box to try and fix something that was ultimately a wifi issue.

    M 1 Reply Last reply Jun 7, 2024, 3:54 AM Reply Quote 1
    • M
      Master Henry @GeorgePatches
      last edited by Jun 7, 2024, 3:54 AM

      @GeorgePatches Absolutely WIRED all the way! 😎

      1 Reply Last reply Reply Quote 1
      • M
        Master Henry
        last edited by Jun 19, 2024, 11:25 AM

        @stephenw10 @GeorgePatches @provels

        Hey guys, I went ahead, was able to find and bought a H97 itx motherboard instead. My question is that that Dual Ethernet port. Can I use it as a WAN and LAN? Do I need to buy an Intel NIC card?

        1 Reply Last reply Reply Quote 1
        • S
          stephenw10 Netgate Administrator
          last edited by Jun 19, 2024, 12:47 PM

          If the board has two onboard NICs you can use them for WAN and LAN. You only need an addition NIC if you need more interfaces or if, for some reason, either of those NICs is not supported by pfSense.

          M 2 Replies Last reply Jun 19, 2024, 12:49 PM Reply Quote 1
          • M
            Master Henry @stephenw10
            last edited by Jun 19, 2024, 12:49 PM

            @stephenw10

            Thank you Stephen.

            1 Reply Last reply Reply Quote 0
            • M
              Master Henry @stephenw10
              last edited by Jun 26, 2024, 4:57 PM

              @stephenw10 @stephenw10 @provels

              Hey guys, I have everything and pfsense is set up. I can't get into my address. I have WAN but No LAN ip address. The first ethernet is Intel and the second is Atheros. I assume that I need to get a NIC card for this? Am I missing something?

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by stephenw10 Jun 26, 2024, 7:57 PM Jun 26, 2024, 6:24 PM

                You mean you don't see the NIC available at all? Or it just doesn't have an IP address?

                If you run pciconf -lv at the command line what does it show up as?

                M 1 Reply Last reply Jun 26, 2024, 7:19 PM Reply Quote 0
                • M
                  Master Henry @stephenw10
                  last edited by Jun 26, 2024, 7:19 PM

                  @stephenw10

                  Hey Stephen, so same thing. I only see my WAN IP address. No LAN. When I set it up, there was em0 and ac1? I was thinking that if it works that I can run a CAT cable on the 2nd ethernet port on my motherboard and then through a Linksys unmanaged switch and then connect all my other Ethernet cables for my hardware. It looks like it doesn't support. Am I doing something wrong, or should I try something else?

                  In case I need to a buy a NIC card, what do you recommend and will these NIC cards from ebay work?

                  https://www.ebay.com/itm/176359531225

                  https://www.ebay.com/itm/144068616517

                  G 2 Replies Last reply Jun 26, 2024, 8:13 PM Reply Quote 0
                  • G
                    GeorgePatches @Master Henry
                    last edited by GeorgePatches Jun 26, 2024, 8:19 PM Jun 26, 2024, 8:13 PM

                    @Master-Henry said in Building my own router.:

                    https://www.ebay.com/itm/176359531225

                    This one will not work, it's not a standard PCIe card. Looks like something custom for a specific server.

                    @Master-Henry said in Building my own router.:

                    https://www.ebay.com/itm/144068616517

                    This one would work, but that is a VERY old card. I'd keep looking for something that at least starts with an I. Like the I22x, or something. Anything where the chipset starts with 82xxx is super old. It's what I currently run, but it's a VERY old appliance I'm using.

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Jun 26, 2024, 8:19 PM

                      Both those should work fine.

                      But the Atheros NIC will probably work. What does it look like in the pciconf -lv output? It will be there and show the PCI IDs even if no driver is attached.

                      1 Reply Last reply Reply Quote 0
                      • G
                        GeorgePatches @Master Henry
                        last edited by GeorgePatches Jun 26, 2024, 8:33 PM Jun 26, 2024, 8:31 PM

                        @Master-Henry said in Building my own router.:

                        When I set it up, there was em0 and ac1?

                        also, ac1 doesn't sound right. Maybe alc0?

                        https://man.freebsd.org/cgi/man.cgi?apropos=1&manpath=freebsd-release-ports&query=Atheros

                        Should be something here, might be a simple typo on your initial setup.

                        The pciconf -lv output steve is asking for will definitely help him steer you in the right direction.

                        1 Reply Last reply Reply Quote 0
                        • G
                          GeorgePatches
                          last edited by Jun 26, 2024, 8:36 PM

                          @Master-Henry It occurs to me that you're trying to do this on the console screen of this machine and text might be flying off the screen faster than your can read. Try this.

                          pciconf -lv | less

                          This will let you scroll through the output until you find the bit you want. Press q when finished to get back to the command prompt.

                          M 1 Reply Last reply Jun 26, 2024, 8:47 PM Reply Quote 0
                          • M
                            Master Henry @GeorgePatches
                            last edited by Jun 26, 2024, 8:47 PM

                            @GeorgePatches @stephenw10

                            Hey Guys, so em0 is Intel I217-V LPT and alc0 is Atheros Ar8161 PCIe Gigabit. So Atheros works but not Intel. I switched both the Onboard ethernet ports to use WAN. Only Atheros is recognizing link. Intel keeps saying DOWN. Maybe I got a busted port?

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Jun 26, 2024, 8:53 PM

                              Great so both NICs are detected and have drivers attached.

                              How are you testing?

                              Try running: ifconfig em0

                              That will report the link state and settings.

                              M 1 Reply Last reply Jun 26, 2024, 9:08 PM Reply Quote 0
                              • M
                                Master Henry @stephenw10
                                last edited by Jun 26, 2024, 9:08 PM

                                @stephenw10

                                Stephen,

                                WAN -> em0 -> ipaddress

                                I have a ethernet cable connected to my PC and still nothing. Nothing LAN.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Jun 26, 2024, 9:12 PM

                                  Ok so the LAN is not assigned?

                                  First thing to do is assign alc0 as LAN from the console menu, option 1.

                                  M 1 Reply Last reply Jun 26, 2024, 9:20 PM Reply Quote 0
                                  • M
                                    Master Henry @stephenw10
                                    last edited by Jun 26, 2024, 9:20 PM

                                    @stephenw10

                                    So I assigned LAN as alc0 and went ahead and assign IP address for LAN. Same IP address but I can't log into pfsense?

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Jun 26, 2024, 9:32 PM

                                      What IP address and subnet did you use? It must be different to whatever you have on the WAN otherwise there would be a conflict.

                                      Does it show a link on alc0?

                                      What does this show: ifconfig alc0

                                      M 1 Reply Last reply Jun 26, 2024, 9:44 PM Reply Quote 0
                                      • M
                                        Master Henry @stephenw10
                                        last edited by Jun 26, 2024, 9:44 PM

                                        @stephenw10

                                        Both LAN and WAN has the same ip address.

                                        G 1 Reply Last reply Jun 26, 2024, 10:16 PM Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Jun 26, 2024, 10:06 PM

                                          Ok well that is a conflict and is invalid.

                                          The WAN and LAN must have different subnets and hence different IP addresses.

                                          For example:

                                           WAN (wan)    -> ix3         -> v4/DHCP4: 172.21.16.85/24
                                           LAN (lan)    -> igc0        -> v4: 192.168.92.1/24
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]