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

DHCP Server Bug: IP gets allocated for the guest vm, but DNS only get set on network restart

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 2 Posters 352 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
    jamesjose03
    last edited by May 29, 2023, 1:38 PM

    There was a bug observed when the guest VM sends a DHCP request to pfSense, the IP gets assigned but the DNS is not getting set unless a network restart is done in the guest VM. Can this issue be resolved?

    Or is only the workaround of the network restart is applicable in this case?

    J 1 Reply Last reply May 29, 2023, 2:27 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @jamesjose03
      last edited by johnpoz May 29, 2023, 2:35 PM May 29, 2023, 2:27 PM

      @jamesjose03

      What is a VM here, pfsense and some other guest - just pfsense? Just some guest vm you have running on what proxmox, esix, virtualbox, hyper-v, qemu ?

      What are you restarting exactly? The dns that is provided by dhcp - your saying pfsense is not handing that out? In the dhcp offer? Did the client ask for it?

      Lets see your dhcp packet capture.. Example - here is a dhcp exchange..

      dhcpjpg.jpg

      You can see in the discover and request client asking for dns, and in the offer and ack the dhcp server sending the info.

      So your saying even though the dhcp client asks for dns - the dhcp server is not sending it?

      But then you restart "network" which means what exactly? Reboot the vm, reboot the host, disable enable some interface either physical or virtual? Some other network reset in the os like "netsh int ip reset" in windows?

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received