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

No dhcp leases pfsense Qemu

DHCP and DNS
2
6
210
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.
  • P
    ppkwebsites.subscribe
    last edited by Jan 19, 2025, 4:24 PM

    I installed pfsense in Qemu as vm but I cant get the dhcp server to give ip's to clients.
    I created 2 bridges (virtio) in virt manager, the wan and lan is setup as vtnet0 and vtnet1.
    Firewall lan rule any. Block private networks unticked. Dhcp server active.

    V 1 Reply Last reply Jan 19, 2025, 6:13 PM Reply Quote 0
    • V
      viragomann @ppkwebsites.subscribe
      last edited by Jan 19, 2025, 6:13 PM

      @ppkwebsites-subscribe
      Did you check "Disable hardware checksum offloading" in System > Advanced > Networking?
      This is required for running pfSense virtualized on KVM.

      After checking the option and save you have to reboot pfSense.

      P 1 Reply Last reply Jan 20, 2025, 8:02 PM Reply Quote 0
      • P
        ppkwebsites.subscribe @viragomann
        last edited by Jan 20, 2025, 8:02 PM

        @viragomann It's unfortunately not that. I tried so many things it's getting ridiculous. It worked for a brief time weeks ago.

        V 1 Reply Last reply Jan 20, 2025, 10:20 PM Reply Quote 0
        • V
          viragomann @ppkwebsites.subscribe
          last edited by Jan 20, 2025, 10:20 PM

          @ppkwebsites-subscribe
          Run packet capture on the interface, where the client is connected to, to get an idea, what's wrong. The DHCP communication is fully readable.
          At the port filter select "any of" and enter "67 68", start the capture and reconnect a DHCP client.
          Then check the output.

          P 1 Reply Last reply Jan 21, 2025, 7:26 PM Reply Quote 0
          • P
            ppkwebsites.subscribe @viragomann
            last edited by Jan 21, 2025, 7:26 PM

            @viragomann It started working by itself so now I don't know why, but I think your suggestion of disabling hardware checksum probably did it. I restarted everything and it works fine now. Thanks you saved me from jumping out the window. 😮 🤣

            V 1 Reply Last reply Jan 21, 2025, 7:44 PM Reply Quote 0
            • V
              viragomann @ppkwebsites.subscribe
              last edited by Jan 21, 2025, 7:44 PM

              @ppkwebsites-subscribe
              Glad to here, it's working finally.
              Yes, I had the same issue in the past, when setting up my pfSense on KVM. I had also to disable hardware checksum offloading.

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