[Gelöst] unbound liefert "falsche" IP-Adressen

Started by thogru, May 17, 2021, 01:28:57 AM

Previous topic - Next topic
May 17, 2021, 01:28:57 AM Last Edit: May 21, 2021, 10:46:09 PM by thogru
Moin, moin,

Ich betreibe OPNsense mit unbound und den Optionen DHCP Adressen (dynamische vergebene als auch statische) zu registrieren.

Für einen Rechner habe ich die statische IP-Adresse 192.168.147.106 im DHCP eingetragen.

Im LAN erhalte ich folgendes Ergebnis:

C:\>nslookup pc06
Server:  OPNsense.localdomain
Address:  192.168.148.222

Name:    pc06.localdomain
Addresses:  192.168.147.10
          192.168.147.106


Die Adresse 192.168.147.10 ist aus dem DHCP-Pool und war eventuell dem PC06 zugeordnet worden, bevor ich die statische IP-Adresse konfiguriert habe.

Was muss ich machen, damit der DHCP-Server die dynamisch vergebenen Adressen "vergisst"? Wie lösche ich die leases?

Gruß
Thomas
Don't forget to [applaud] those offering time and brainpower to help you!

Hi!

Versuch

Interfaces -> Diagnostics -> ARP Table

unten "Flush"... retry...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Hi chemlud,

Leider hat das Löschen der ARP Tabelle keinen positiven Einfluss. Nach Löschen des DNS-Cache auf meinem PC liefert nslookup das selbe Ergebnis.  :(

Gruß
Thomas
Don't forget to [applaud] those offering time and brainpower to help you!

Du hast eine andere Netzmaske als /24? Das funktioniert bei mir grad auch nicht. Ich bekomme allerdings keine (nxdomain) statt einer falschen Antwort.

Moin Wurmloch,

Ich habe überall die Netzmaske /24 eingetragen.

Gruß
Thomas
Don't forget to [applaud] those offering time and brainpower to help you!

War eine Vermutung, da in deinem Code 192.168.147 und 192.168.148 zu sehen war.

Moin, moin,

Ich habe ein Lösung für mein Problem gefunden:
https://forum.opnsense.org/index.php?topic=20583.msg95759#msg95759

Gruß
Thomas
Don't forget to [applaud] those offering time and brainpower to help you!