dnsmasq dhcp static entries

    • OMV 2.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • dnsmasq dhcp static entries

      Hi out there,

      i'm using dnsmasq-plugin within omv2.x and it works - mostly.
      I have to connect a sat2ip-server by dhcp as this is the only way to solve the dns-server-query - there is actually no way to fill dns manually. This works so far.

      Now i want to set it as static-entry but this doesn't work. At every reboot there will be a new dhcp-address assigned. It seems the static-entries don't work.
      How can i solve this problem?

      regards,
      Erik.
      Images
      • dnsmasq1.jpg

        393.8 kB, 1,618×1,050, viewed 67 times
      • dnsmasq2.jpg

        40.49 kB, 581×316, viewed 49 times
      • dnsmasq3.jpg

        28.15 kB, 577×171, viewed 44 times
      Auch das geht vorbei ...
      OMV-servant
      HP Microserver Gen8, E3-1265Lv3, 16GB, OCZ-Vertex3 256GB OS, OMV 3.0, 4x 2TB, IBM-Raid5
    • for me static leases works, only diference is that I do not use WINS server,.

      can you try whitout WINS server?


      And remember to reboot destination when change something in dnsmasq to renew IP
      OMV 3.0.88 x64 on a HP T510, 8GB CF as Boot Disk & 32GB SSD 2,5" disk for Data, 4 GB RAM, CPU VIA EDEN X2 U4200 is x64 at 1GHz

      Post: HPT510 SlimNAS ; HOWTO Install Pi-Hole ; HOWTO install MLDonkey ; HOHTO Install ZFS-Plugin ; OMV_OldGUI ; ShellinaBOX ;
    • Well it works again.

      While searching the log i discovered three different dhcp-ranges within the same ip-net (192.168.22.15-245, *.20-240 & *.20-70). Afterwards i looked into the directory /etc/dnsmasq.d and found two backups of omv.conf. After moving those backups, stopping dnsmasq, removing /var/lib/misc/dnsmasq.leases, starting dnsmasq again, i only needed to reboot dhcp-clients and smiled. :thumbsup:

      There is no difference when switching wins-server-option off/on for my purpose.

      regards,
      Erik.
      Auch das geht vorbei ...
      OMV-servant
      HP Microserver Gen8, E3-1265Lv3, 16GB, OCZ-Vertex3 256GB OS, OMV 3.0, 4x 2TB, IBM-Raid5