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

    Weird DHCP server issue.

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 868 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.
    • T
      turnkey
      last edited by

      Hello, this will be my first post here.

      I'm a casual user of pfSense, I have basic networking understanding.

      I'm experiencing some weird behaviour, maybe someone can help me out. Gonna start out in broad terms maybe you guys can help me hone in on the problem.

      I have a Windows Desktop PC on it's own subnet, which is connected to a bridged interface (vSwitch2), which also services the DHCP for clients on that interface.

      Please take note there is no LAN interface running DHCP.

      Screenshot from 2022-01-19 18-11-02.png

      But for some reason it's showing this when I look in DHCP Lease. Where does it get LAN interface from? I thought it should get an IP address from vSwitch2

      Screenshot from 2022-01-19 17-55-21.png

      Looking for some clues, I then tried to make a static mapping for the weird client in the dhcp lease to see which DHCP server it was using...

      I'm presented with this LAN DHCP Server, which I've never created...

      Screenshot from 2022-01-19 17-54-55.png

      Going one step back to look at the DHCP server and I see a blank subnet, subnet mask 0.0.0.0, Available range 0.0.0.1 - 255.255.255.255

      Screenshot from 2022-01-19 17-55-21.png

      I tried replacing the Desktop with another PC and the same thing happens... help :)

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

        @turnkey yeah that is never going to work.. What IP do you have set on that interface?

        You mention "bridge" your not trying to do some bridge on pfsense are you? Can almost promise you did something wrong if that is the case.. Why would you think/want to bridge interfaces on some vm instance of pfsense?

        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
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Can I assume LAN_AP is a the renamed LAN interface?

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

            @turnkey you got pfsense screaming at you about something being wrong

            errors.jpg

            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
            • T
              turnkey @johnpoz
              last edited by turnkey

              @johnpoz Hi thank you for your reply.

              LAN interface dosen't have an IP, it's part of vSwitch interface which has 192.168.1.1
              bb4fe507-6f5e-44d3-a042-bbacacaf808e-image.png

              What I mean with bridge is that I've grouped physical interfaces together like so, you can see bridge0 and bridge1 in the screenshot below are using vSwitch and vSwitch2 interfaces.
              Screenshot from 2022-01-19 19-32-27.png

              @stephenw10 Here are my interfaces, I haven't renamed my LAN interface:
              Screenshot from 2022-01-19 19-30-56.png

              Regarding Alerts here it is:
              alerts.png

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

                @turnkey said in Weird DHCP server issue.:

                LAN interface dosen't have an IP, it's part of vSwitch interface which has 192.168.1.1

                And why would you be doing that??

                What is it your trying to accomplish in bridging these interfaces in pfsense?

                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
                  turnkey @johnpoz
                  last edited by

                  @johnpoz i want to group physical interfaces on the same subnet.

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

                    @turnkey said in Weird DHCP server issue.:

                    i want to group physical interfaces on the same subnet.

                    is this not a vm? Why would you call it a vswitch if was physical? vswitch is a Virtualization term.

                    If its actually physical interfaces on a pfsense box - what is plugged into these 2 interfaces?

                    Physical interfaces are not switch ports, bridging them does not make a switch - if you want switch ports get a switch.

                    There is rarely a reason to setup a bridge that makes any actual sense.. And you sure wouldn't run a dhcp server on an interface that doesn't have an IP. If your creating a bridge, then run the dhcp on the bridge interface you created.

                    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
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Clear those alerts and reload the filter in Status > Filter Reload to make sure the current ruleset is loading.
                      Those pfBlocker errors are quite common at boot though and not usually a problem.

                      Steve

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