• 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.7k 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 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
                      • G
                        GeorgePatches @Master Henry
                        last edited by Jun 26, 2024, 10:16 PM

                        @Master-Henry Are you trying to setup the pfsense behind your current router so you can have internet while you're setting this up initially?

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

                          @GeorgePatches @stephenw10

                          Hey guys, so every time you ask me to check. I unplug both my WAN and PC ethernet port cable from my router and plug in both back and forth with the pfsense router. So right now, if you ask me to plug it back in again. I am going to have my internet cable WAN plugged in, the 2nd cable plug into my switch and I will have my PC plug into my 2nd port of my switch.

                          As of now, I only have an IP address of WAN.

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

                            What do you actually see on the console?

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

                              @stephenw10

                              Just my WAN. Both Interfaces are assigned and working. But there is no IP address for LAN.

                              Following on what you guys say from now on and not going ahead.

                              What should I try and do?

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

                                Then assign an IP address on LAN using menu option 2. Enable the DHCP server when it asks you to do so.

                                Can we see a screenshot of what you see on the console?

                                M 1 Reply Last reply Jun 27, 2024, 1:05 AM Reply Quote 0
                                • J
                                  JonathanLee
                                  last edited by Jun 27, 2024, 12:12 AM

                                  Use a external wireless access point just use the router for pfSense software and its RJ45 ports

                                  Make sure to upvote

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Master Henry @stephenw10
                                    last edited by Jun 27, 2024, 1:05 AM

                                    @stephenw10 @GeorgePatches

                                    Hey guys, so I assigned an IP address for the LAN. I really don't know what is going on. I can't get into pfsense. I did assigned with and without using the switch. It said the IP address is unreachable. I don't know what I am doing wrong.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Jun 27, 2024, 1:07 AM

                                      Can we please get a picture of your console? We are just guessing without it.

                                      M 1 Reply Last reply Jun 27, 2024, 1:10 AM Reply Quote 0
                                      • M
                                        Master Henry @stephenw10
                                        last edited by Jun 27, 2024, 1:10 AM

                                        @stephenw10 IMG_0169.jpg

                                        G 1 Reply Last reply Jun 27, 2024, 2:21 AM Reply Quote 0
                                        • G
                                          GeorgePatches @Master Henry
                                          last edited by Jun 27, 2024, 2:21 AM

                                          @Master-Henry OK, so your LAN IP is not a valid private IP. Try setting it to 192.168.1.1/24. That's the default and things will probably work.

                                          M 1 Reply Last reply Jun 27, 2024, 3:46 AM Reply Quote 0
                                          40 out of 54
                                          • First post
                                            40/54
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received