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

    Recommendations for my pfsense setup with 5 nics

    Scheduled Pinned Locked Moved General pfSense Questions
    58 Posts 5 Posters 9.0k 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.
    • J
      Jarhead @Teke
      last edited by Jarhead

      Are you sure that's not a static IP on that pc?
      Missing a lot of info.
      dhcp.png

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

        @jarhead said in Recommendations for my pfsense setup with 5 nics:

        Are you sure that's not a static IP on that pc?

        That could explain it ;)

        @Teke could you post your ipconfig /all

        This would show if client is dhcp or not..

        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.8, 24.11

        T 1 Reply Last reply Reply Quote 0
        • T
          Teke @johnpoz
          last edited by

          @johnpoz @Jarhead
          The nic is not static.
          ipconfigall.JPG

          Here is the packet trace from the webgui.
          0.0.0.0 is my switch with no ip associated with it.
          DHCPPacket.JPG

          I know the issue is that when during setup it is not setting up that default gateway but I have no idea how to fix that.

          johnpozJ J 2 Replies Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @Teke
            last edited by

            @teke said in Recommendations for my pfsense setup with 5 nics:

            I know the issue is that when during setup it is not setting up that default gateway

            There is nothing to setup for a gateway on your lan. As I showed you - pfsense will use its IP address in the dhcp server is running on as the gateway. You need to open that dhcp sniff in your fav analyzer, say wireshark.

            Use the download button in the packet capture. either post that pcap here so we can look at the details in it, or open it up on your pc with say wireshark..

            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.8, 24.11

            1 Reply Last reply Reply Quote 0
            • J
              Jarhead @Teke
              last edited by

              @teke said in Recommendations for my pfsense setup with 5 nics:

              @johnpoz @Jarhead
              The nic is not static.
              ipconfigall.JPG

              It's also not on your LAN.
              Is that the same pc you used on the LAN interface?

              johnpozJ T 2 Replies Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @Jarhead
                last edited by

                @jarhead said in Recommendations for my pfsense setup with 5 nics:

                Is that the same pc you used on the LAN interface?

                I was wondering about that as well the 192.168.1 vs 192.168.10 addresses

                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.8, 24.11

                T 1 Reply Last reply Reply Quote 0
                • T
                  Teke @johnpoz
                  last edited by

                  @johnpoz @Jarhead
                  I've completely redid the install.
                  Lan is 192.168.10.0

                  I hope this is the wireshark info that you are looking for.TekeDump.pcap

                  johnpozJ 1 Reply Last reply Reply Quote 0
                  • T
                    Teke @Jarhead
                    last edited by

                    @jarhead said in Recommendations for my pfsense setup with 5 nics:

                    @teke said in Recommendations for my pfsense setup with 5 nics:

                    @johnpoz @Jarhead
                    The nic is not static.
                    ipconfigall.JPG

                    It's also not on your LAN.
                    Is that the same pc you used on the LAN interface?
                    I was just showing you that once I reinstalled pfsense that when I did a ipconfig from my PC it wasn't grabbing a gateway.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      Teke @Teke
                      last edited by

                      @johnpoz @Jarhead
                      I think I'm making a mountain out of a mole hole.
                      I didn't want to connect the WAN port to my works private network because it would set off a whole lot of alarms for them.
                      I decided to try it to see if having the WAN plugged in would actually pickup the gateways for the computers.
                      Low and behold once I plugged the WAN in for a few minutes and ran ipconfig/release and renew they picked up a gateway. I think what I will do is grab a router from home and bring it in just to get everything talking.
                      If I need help I'll reply to this thread.
                      Unless you see a problem with my pcap file?

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jarhead @Teke
                        last edited by Jarhead

                        @teke That's not possible.
                        The WAN has nothing to do with the DHCP server.
                        I've done that plenty of times, had a disconnected WAN, and the network attached to the LAN still worked fine.

                        Glad it's working but you aren't telling us everything.

                        Plus, now you're saying 192.168.10 IS the LAN and it gave out an address without the WAN connected.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          Teke @Jarhead
                          last edited by Teke

                          @jarhead
                          I'm not holding anything back.
                          The 192.168.1 address I posted above was the LAN address after I reinstalled pfSense. Since I wanted my LAN address to be 192.168.10 I changed it to that and posted the ipconfig of that as well.

                          I'm just reporting back what I am seeing. Once I plugged the WAN it to my works network and did a release and renew the gateway was then appearing of the local network I was on.
                          ex. 192.168.40.100 pc was getting a 192.168.40.1 gateway. When I disconnect the WAN the gateway disappears on a release and renew.

                          I'm going to bring a router from home in just to take that out of the equation and mimic the whole setup.

                          I do understand that the WAN has nothing to it, this has just been frustrating for me setup. All of the videos I've watch looks so easy and I've followed them to letter but nothing has worked to this point.

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

                            @teke that dump you posted has no dhcp in it..

                            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.8, 24.11

                            T 2 Replies Last reply Reply Quote 0
                            • T
                              Teke @johnpoz
                              last edited by

                              @johnpoz
                              I did do a release and a renew. I will do it again.

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                Hmm curious.

                                Yes, the DHCP server should hand out the interface IP as a gateway for connected clients by default and whether or not the WAN is connected.

                                The only way I'm aware of to prevent it is to enter none for the gateway IP specifically.
                                Is it possible you entered that at some point and your browser is auto-filling it?

                                Screenshot from 2022-12-17 00-32-36.png

                                I assume you're running pfSense 2.6?

                                Steve

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Teke @johnpoz
                                  last edited by

                                  @johnpoz
                                  Here is another dump.
                                  Also Pictures of my firewall settings, dhcp settings.WanFW.JPG LANFW.JPG CAMFW.JPG WirelessFW.JPG DCFW.JPG LANInterface.JPG LANDHCP.JPG capture30.pcapng

                                  johnpozJ 1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    With that config any client on LAN should be passed 192.168.10.1 as it's gateway/default route. And that should happen with or without a WAN connection.

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

                                      @teke not sure what any of that has to do with anything? the only picture that helps is that you don't have none set in the dhcp.

                                      where is the pcap showing your dhcp - so can see if the gateway was offered or even asked for by the client, 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.8, 24.11

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        Teke @johnpoz
                                        last edited by

                                        @johnpoz
                                        I did post the capture30.pcapng. It's at the right of the last picture. Is that not what you are looking for?

                                        johnpozJ 1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Which interface is 192.168.20.X?

                                          Is pfSense 192.168.20.1 there?

                                          What is the Cisco device at 192.168.20.2 that also seems to be replying to DHCP?

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

                                            @teke why is the IP range now 192.168.20 vs what you posted 192.168.10.

                                            Clearly in the offer there is a router listed (gateway)

                                            router.jpg

                                            But then it looks like you got some relay setup on your switch, that also sent an ack?

                                            ack.jpg

                                            this 20.2 is cisco something

                                            But it also includes the router.. But why are you setting up a dhcp relay on your switches? You do not need a helper setup..

                                            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.8, 24.11

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