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

    PFSense not giving IP on DHCP

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 4 Posters 2.5k 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.
    • E
      eddiema68
      last edited by

      Hello

      I'm new to PFSense and having trouble getting it configured correctly. I have PFSense on Hyper-V with 2 nic card. I set the LAN as 192.168.1.1/24 and enabled DHCP. I also connected an un-managed switch to LAN port to connect additional network devices. The issue is I'm seeing DCHP leases from internal instances running on Hyper-v, however any physical devices connected to LAN port are not getting an IP. Hopefully I didn't forget a step or need to set-up additional rules.

      Thanks

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

        Hi,

        No need to add additional rules.
        Better : for every interface, hidden rules rules permit DHCP traffic to flow anyway.
        The DHCP is setup and activated on the LAN interface.
        So, if DHCP attribution doesn't work, there is an issue with your VM.

        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
        • E
          eddiema68
          last edited by eddiema68

          Thanks for you response. Before I format the drive and start over, below are my settings that I'm hoping could be the culprit. I turned off my firewall on Hyper-V server, set the virtual switch to internal LAN and attached to the 2nd port on the nic card and attached the PFSense LAN adapter to the LAN port. 2_1551119593882_PFSense1.jpg 1_1551119593882_pfsense2.jpg 0_1551119593882_pfsense3.jpg0_1551119800073_pfsense4.jpg

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            You need to change the switch type from internal to external and map it to the NIC port where your physical switch plugs in.

            1 Reply Last reply Reply Quote 0
            • E
              eddiema68
              last edited by

              Thanks,

              I'm now able to get an IP address with devices connected to switch. My next items is to apply a VLan for a unify AP.

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

                I have been over this a few times as of late - you need to use powershell to put your switch in trunk mode.. Pretty sure I did some screenshots with walk through recently

                Here is thread where I show doing vlans with hyper-v
                https://forum.netgate.com/topic/139891/solve-hyperv-2012-vlans-support-hn0

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

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