Elias Pereira
2019-Aug-19 13:41 UTC
[Samba] interference of the nmbd service with the dhcp of the debian server??
Hello guys, I have a fileserver configured on a debian 9.9 using Louis APT. This is not always the case, but sometimes the server changes IP, and the configuration in /etc/network/interfaces is static. I already disabled services that could potentially change the IP. - The server is an xenserver VM; - The "vlan" that the server is part of does not have DHCP enabled; - In xenserver already changed the MAC a few times, because it could, I don't know, have a static DHCP configured; The IP configured as static is: 10.10.10.7 (example ip) The last IP that the server got automatically was: 10.10.10.88 (example ip) I searched for logs with IP 10.10.10.88 and returned: root at fileserver:/var/log/samba# grep -Rin "10.10.10.88" . ./machines/nmbd.log:71: dump workgroup on subnet 10.10.10.88: netmask=255.255.255.xxx: ./machines/nmbd.log:85: dump workgroup on subnet 10.10.10.88: netmask=255.255.255.xxx: Any idea? ? -- Elias Pereira
Rowland penny
2019-Aug-19 13:57 UTC
[Samba] interference of the nmbd service with the dhcp of the debian server??
On 19/08/2019 14:41, Elias Pereira via samba wrote:> Hello guys, > > I have a fileserver configured on a debian 9.9 using Louis APT. This is not > always the case, but sometimes the server changes IP, and the configuration > in /etc/network/interfaces is static. I already disabled services that > could potentially change the IP. > > - The server is an xenserver VM; > - The "vlan" that the server is part of does not have DHCP enabled; > - In xenserver already changed the MAC a few times, because it could, I > don't know, have a static DHCP configured; > > The IP configured as static is: 10.10.10.7 (example ip) > The last IP that the server got automatically was: 10.10.10.88 (example ip) > > I searched for logs with IP 10.10.10.88 and returned: > > root at fileserver:/var/log/samba# grep -Rin "10.10.10.88" . > ./machines/nmbd.log:71: dump workgroup on subnet 10.10.10.88: > netmask=255.255.255.xxx: > ./machines/nmbd.log:85: dump workgroup on subnet 10.10.10.88: > netmask=255.255.255.xxx: > > Any idea? ? > >I don't think this has anything to do with Samba. If you set your machine to have a static IP, it should stay static, it shouldn't matter what the machine is. You need to find out what is changing and what is changing it, then stop it happening. Rowland
Elias Pereira
2019-Aug-19 14:41 UTC
[Samba] interference of the nmbd service with the dhcp of the debian server??
Thanks for your feedback Rowland!!! I am eliminating the possibilities! :D On Mon, Aug 19, 2019 at 10:57 AM Rowland penny via samba < samba at lists.samba.org> wrote:> On 19/08/2019 14:41, Elias Pereira via samba wrote: > > Hello guys, > > > > I have a fileserver configured on a debian 9.9 using Louis APT. This is > not > > always the case, but sometimes the server changes IP, and the > configuration > > in /etc/network/interfaces is static. I already disabled services that > > could potentially change the IP. > > > > - The server is an xenserver VM; > > - The "vlan" that the server is part of does not have DHCP enabled; > > - In xenserver already changed the MAC a few times, because it could, I > > don't know, have a static DHCP configured; > > > > The IP configured as static is: 10.10.10.7 (example ip) > > The last IP that the server got automatically was: 10.10.10.88 (example > ip) > > > > I searched for logs with IP 10.10.10.88 and returned: > > > > root at fileserver:/var/log/samba# grep -Rin "10.10.10.88" . > > ./machines/nmbd.log:71: dump workgroup on subnet 10.10.10.88: > > netmask=255.255.255.xxx: > > ./machines/nmbd.log:85: dump workgroup on subnet 10.10.10.88: > > netmask=255.255.255.xxx: > > > > Any idea? ? > > > > > I don't think this has anything to do with Samba. > > If you set your machine to have a static IP, it should stay static, it > shouldn't matter what the machine is. > > You need to find out what is changing and what is changing it, then stop > it happening. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Elias Pereira
L.P.H. van Belle
2019-Aug-19 14:52 UTC
[Samba] interference of the nmbd service with the dhcp of the debian server??
Hai Elias, One more possibility...> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Elias Pereira via samba > Verzonden: maandag 19 augustus 2019 15:42 > Aan: samba > Onderwerp: [Samba] interference of the nmbd service with the > dhcp of the debian server?? > > Hello guys, > > I have a fileserver configured on a debian 9.9 using Louis > APT. This is not always the case, but sometimes the server changes IP, > and the configuration in /etc/network/interfaces is static. > I already disabled services that could potentially change the IP.Does this happen on the XEN Server of Client (guest OS). If Xen, which xen version? I notice on XCP-ng 7.6 that, somehow the management IP changed from static to dhcp. In 7.6, im prepaired an upgrade to 8.0, which should be done somewhere this week. Fix for this is very simple, goto the xconsole and set the ip again. ( no reboots needed )> > - The server is an xenserver VM; > - The "vlan" that the server is part of does not have DHCP enabled; > - In xenserver already changed the MAC a few times, because > it could, I don't know, have a static DHCP configured; > > The IP configured as static is: 10.10.10.7 (example ip) > The last IP that the server got automatically was: > 10.10.10.88 (example ip)If you talking about the VM. AND is has only one ip configed by default. You should be able to run this. https://raw.githubusercontent.com/thctlo/debian-scripts/master/setup-systemd-networkd.sh It does not change anything to the system, but i give you the option to switch to systemd. Currently all my domain members are configured throught systemd-networkd because is safe packages to install.> > I searched for logs with IP 10.10.10.88 and returned: > > root at fileserver:/var/log/samba# grep -Rin "10.10.10.88" . > ./machines/nmbd.log:71: dump workgroup on subnet 10.10.10.88: > netmask=255.255.255.xxx: > ./machines/nmbd.log:85: dump workgroup on subnet 10.10.10.88: > netmask=255.255.255.xxx: > > Any idea? ????An other option,> > > -- > Elias Pereira > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >Greetz, Louis
Seemingly Similar Threads
- interference of the nmbd service with the dhcp of the debian server??
- interference of the nmbd service with the dhcp of the debian server??
- interference of the nmbd service with the dhcp of the debian server??
- member domain idmap config ad/rid
- member domain idmap config ad/rid