Re: [Dnsmasq-discuss] Defending IP address

2023-05-06 Thread Johan Vromans
On Sat, 6 May 2023 11:17:22 -0700, A C wrote: > The official blog does not list using that method at all. Instead it > either points to using a systemd network file or through the > /etc/network/interfaces file. If so, I have been unable to find it... Sorry for that. Can you give the link?

Re: [Dnsmasq-discuss] Defending IP address

2023-05-06 Thread Johan Vromans
On Sat, 6 May 2023 19:03:21 +0200, Geert Stappers wrote: > Let's assume there is > > } xx:xx:xx:xx:xx:aa,192.168.1.10,dnsmasq.squirrel.nl,24h True. System name is srv1 but that does not matter. > > # Addresses for dynamic hosts. > > dhcp-range=192.168.1.33,192.168.1.50,6h > > Now we known

Re: [Dnsmasq-discuss] Defending IP address

2023-05-05 Thread Johan Vromans
On Fri, 5 May 2023 22:13:24 +0200, Geert Stappers wrote: > It is too early to blame the IoT devices. I don't blame them... They merely revealed there's something fishy. > The original problem is most likely solvable with the original dhcpcd > configuration in-place. Strange that you keep

Re: [Dnsmasq-discuss] Defending IP address

2023-05-05 Thread Johan Vromans
On Fri, 05 May 2023 14:56:40 +, "Buck Horn" wrote: > Roy Marples's DHCP client daemon >dhcpcd > is not the same as ISC's DHCP server daemon >dhcpd. > > It would seem to me that Johan Vromans has been using the former: > I think I recognise t

Re: [Dnsmasq-discuss] Defending IP address

2023-05-05 Thread Johan Vromans
On Fri, 5 May 2023 11:54:31 +0200, Johan Vromans wrote: > > do not run dhcpcd. All docs tell me to set the static address in the /etc/dhcpcd.conf, this is confusing. I've now disabled dhcpcd and put the static address in /etc/network/interfaces. Thanks

Re: [Dnsmasq-discuss] Defending IP address

2023-05-05 Thread Johan Vromans
Hi Geoff, Thanks for your reply. > Set static IP on the interface and do not run dhcpcd.  The problem is > with dhcpcd releasing the address, not with dnsmasq. I have this in my /etc/dhcpcd.conf: interface eth0 static ip_address=192.168.1.10/24 static routers=192.168.1.1 I do not run

[Dnsmasq-discuss] Defending IP address

2023-05-05 Thread Johan Vromans
Hi, I have a number of IoT devices. Occasionally, when they try to set up the DHCP lease, some of them send wrong packets. The device effectively claims the IP address of the DHCP server. From the system log: May 4 05:39:59 srv1 dhcpcd[449]: eth0: hardware address xx:xx:xx:xx:xx::ce

Re: [Dnsmasq-discuss] Single-file config

2010-07-05 Thread Johan Vromans
Simon Kelley si...@thekelleys.org.uk writes: It would be possible to add something like dns-host=IP,name[,name] which would be semantically exactly the same as a line in /etc/hosts. dnsmasq serves several purposes. Small LANs, bigger LANs, etc. In my particular situation, which I think is

Re: [Dnsmasq-discuss] Single-file config

2010-07-04 Thread Johan Vromans
Sergei Zhirikov sf...@yahoo.com writes: It's not a requirement. There is no-hosts configuration option. Sure. But how to specify the hosts names then? If you have all the hosts names and IP addresses specified using dhcp-host then you don't need the hosts file. But you should use simple

[Dnsmasq-discuss] Single-file config

2010-07-03 Thread Johan Vromans
I'm experimenting with dnsmasq to build a very simple DNS/DHCP server. I'm going to employ this server on a FritzBox DSL modem/router and some other small systems as well. Currently there are two things that do not yet work as I want. First, it would be nice if I could specify the complete