[Dnsmasq-discuss] serving EFI and traditional BIOS at the same time

2014-02-18 Thread Olaf Hering
In my network a Fritzbox is serving DHCP to clients, and my workstation runs dnsmasq as a proxy. This is working for the traditional PC BIOS: dhcp-range=192.168.2.0,proxy dhcp-boot=pxelinux.0 pxe-service=x86PC,x86PC: Automatic Network boot from ProBook,pxelinux enable-tftp tftp-root=/tftpboot

Re: [Dnsmasq-discuss] serving EFI and traditional BIOS at the same time

2014-02-19 Thread Olaf Hering
On Tue, Feb 18, Olaf Hering wrote: On Tue, Feb 18, Olaf Hering wrote: How should the config look like to offer PXE to old and new VM types at the same time? At least the separation appears to work like that: dhcp-match=x86PC, option:client-arch, 0 dhcp-match=BC_EFI, option:client

[Dnsmasq-discuss] how to track changes for a given hostname

2014-05-30 Thread Olaf Hering
My dnsmasq sometimes forgets the hostname of one of my boxes. I wonder how to track that without tweaking the source? My reconnect script reports: ... ssh: connect to host optiplex port 22: Connection refused rc '255'. root@optiplex @ Fr 30. Mai 11:27:43 CEST 2014 ssh: connect to host optiplex

Re: [Dnsmasq-discuss] how to track changes for a given hostname

2014-06-04 Thread Olaf Hering
On Sun, Jun 01, Simon Kelley wrote: How can I find out why optiplex fails to resolve? Look at --dhcp-script in the man page. A very simple script which logs argv and the environment to a file should provide you with information about the comings and going of DHCP leases. localhost does not

[Dnsmasq-discuss] question about the host-record= example

2015-11-18 Thread Olaf Hering
I have several host-record=$name,$name.$domain,$ip4,$ip6 lines in my dnsmasq 2.62 conf file. Today I realized that "host $ip4" resolves to just "${name}.", but I was expecting "${name}.${domain}.". So I removed the "$name," part and get now the full name. I wonder why the example in the

Re: [Dnsmasq-discuss] question about the host-record= example

2015-12-07 Thread Olaf Hering
On Wed, Nov 18, Olaf Hering wrote: > I wonder why the example in the host-record= lists both? Any answer to that question? Olaf ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listi

[Dnsmasq-discuss] DHCP option 121, handling of interface address

2018-04-27 Thread Olaf Hering
I had to add DHCP option 121 to server an extra network to the clients in case one of the clients has to use USB tethering via the mobile phone. Therefore I added this line, and all is (almost) fine: dhcp-option=option:classless-static-route,$other_local_net/24,$interface_IP But it is not

Re: [Dnsmasq-discuss] Extension to hosts-dir and dhcohosts-dir

2018-02-09 Thread Olaf Hering
On Thu, Feb 08, Kurt H Maier wrote: > You should fix the editor; that behavior is dangerous for other reasons, > similar to the ones outlined here: > http://openwall.com/lists/oss-security/2017/11/27/2 This talks about apples, while Andy talks about oranges. Fix "$dnsmasq" to process only files

Re: [Dnsmasq-discuss] DHCPv6 with IPv4 address in last 32 bits of IPv6 address: ideas?

2020-04-22 Thread Olaf Hering
Am Tue, 21 Apr 2020 15:58:25 +0200 schrieb "William Edwards" : > Ideas are welcome. You did not say how hosts are identified, nor did you say why exactly addresses matter in your setup. If it is done based on their MAC addresses, just give each host a name.

[Dnsmasq-discuss] lease time affects ipv6 prefix life time

2020-05-04 Thread Olaf Hering
I have this in dnsmas.conf to advertise the current ipv6 prefix: dhcp-range=::,constructor:${interface},slaac,ra-names,64,${lease_time} enable-ra If the prefix gets changed, dnsmasq starts to announce the new prefix, but it keeps announcing the old one (as deprecated) as well for a while. I

Re: [Dnsmasq-discuss] lease time affects ipv6 prefix life time

2020-05-22 Thread Olaf Hering
Am Thu, 21 May 2020 15:16:49 +0200 schrieb Geert Stappers : > On Mon, May 04, 2020 at 03:51:58PM +0200, Olaf Hering wrote: > > dhcp-range=::,constructor:${interface},slaac,ra-names,64,${lease_time} > > I wonder why the value of ${lease_time} is not used verbatim? >

Re: [Dnsmasq-discuss] Static leases issues

2020-06-10 Thread Olaf Hering
Am Mon, 8 Jun 2020 18:18:16 +0200 schrieb Bruno BEAUFILS : > am I struggling with some kind of bug? The behavior you are seen is caused by the fact that DHCP is an overly complicated crap protocol. To get this fixed quickly, remove the lease both from the client file-system and from the

Re: [Dnsmasq-discuss] Static leases issues

2020-06-30 Thread Olaf Hering
Am Mon, 29 Jun 2020 15:45:16 +0100 schrieb Simon Kelley : > the DHCP server has to comply I think this is the question: comply to what? Clearly the DHCP admin is the _only_ authority to decide which MAC gets what IP address, the DHCP client is only allowed to make suggestions. As such every

Re: [Dnsmasq-discuss] [PATCH v2] DHCPv6: Honor assigning IPv6 address based on MAC address

2020-07-23 Thread Olaf Hering
Am Thu, 23 Jul 2020 10:35:45 +0200 schrieb Pali Rohár : > If user set in configure file that for MAC address AB:CD:EF:AB:CD:EF > must be assigned IPv6 address FD::1 then user would expect that host > with address AB:CD:EF:AB:CD:EF would get IPv6 address FD::1. In a world where a DHCP client has