Re: [Dnsmasq-discuss] client q: both static and dhcp

2021-06-26 Thread Dominik
Hey Carl, On Sat, 2021-06-26 at 19:16 -0500, Carl Karsten wrote: > I'm looking for advice on haveing some boxes to have both dynamic and > static IPs.  Why use a static IP at all? We have often enough seen people use static addresses for the wrong reasons. Consider using only DHCP and (a) use

Re: [Dnsmasq-discuss] dnsmasq dhcp relay not relaying response from upstream to client

2021-06-26 Thread Bino Oetomo
Dear Nicolas Cavallari I really appreciate your help I will go to my rest code and do some correction Well, actually that not freeradius (as a software name) but as a node name. All thing come from freeradius is sourced from my rest code. Sincerely -bino- On Sat, Jun 26, 2021 at 6:26 PM

[Dnsmasq-discuss] client q: both static and dhcp

2021-06-26 Thread Carl Karsten
This is a bit OT, if there is a better place let me know. I'm looking for advice on haveing some boxes to have both dynamic and static IPs. There is a risk that my static choice collides with an IP on a random lan I jack into, which I can deal with manually. Might even make a MOTD message

[Dnsmasq-discuss] [PATCH] Do not crash when Ubus connection fails.

2021-06-26 Thread Etan Kissling
When using multiple dnsmasq instances Ubus only connects on one of them. Since 3c93e8eb41952a9c91699386132d6fe83050e9be dnsmasq crashes instead. This change avoids the crash, leading to a graceful retry + error log. Signed-off-by: Etan Kissling --- src/dnsmasq.c | 4 +--- 1 file changed, 1

Re: [Dnsmasq-discuss] dnsmasq dhcp relay not relaying response from upstream to client

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 26, 2021 at 11:52:10AM +0700, Bino Oetomo wrote: > On Sat, Jun 26, 2021 at 4:12 AM Geert Stappers wrote: > > On Fri, Jun 25, 2021 at 11:30:18AM +0700, Bino Oetomo wrote: > > > but how to know if dnsmasq is receiving that response? > > > > ... use networksniffer at **server** to

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 26, 2021 at 02:58:16PM +0700, Bino Oetomo wrote: > On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers wrote: > > On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino Oetomo wrote: > > > Dear All. > > > > > Is 'next-server' different from dhcp-option-66? > > > > Yes, they are two different

Re: [Dnsmasq-discuss] dnsmasq dhcp relay not relaying response from upstream to client

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 26, 2021 at 01:26:10PM +0200, Nicolas Cavallari wrote: > Let's look at the reply from freeradius: > > > (14) Sent code 1026 Id 24307805 from 10.10.254.1:67 to 10.10.253.1:67 > > length 0 > > (14) DHCP-Relay-IP-Address = 10.10.253.1 > > (14) DHCP-Client-Identifier =

Re: [Dnsmasq-discuss] [PATCH v5] openwrt: Integration of connmark based DNS filtering

2021-06-26 Thread Etan Kissling
> On 16 Jun 2021, at 23:56, Etan Kissling wrote: > > This integrates the proposed Dnsmasq patch from email: > - [PATCH v5] dnsmasq: connection track mark based DNS query filtering > into OpenWrt 21.02. > > Signed-off-by: Etan Kissling > (updated to latest patch) > Signed-off-by: Etan

Re: [Dnsmasq-discuss] dnsmasq dhcp relay not relaying response from upstream to client

2021-06-26 Thread Nicolas Cavallari
Let's look at the reply from freeradius: (14) Sent code 1026 Id 24307805 from 10.10.254.1:67 to 10.10.253.1:67 length 0 (14) DHCP-Relay-IP-Address = 10.10.253.1 (14) DHCP-Client-Identifier = 0xff2784511b000100012867cc8108002784511b (14) DHCP-IP-Address-Lease-Time = 7200 (14)

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-26 Thread Bino Oetomo
Dear Geert Stappers I really appreciate your help On Sat, Jun 26, 2021 at 1:24 PM Geert Stappers via Dnsmasq-discuss < dnsmasq-discuss@lists.thekelleys.org.uk> wrote: > On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino Oetomo wrote: > > Dear All. > > > Is 'next-server' different from

Re: [Dnsmasq-discuss] what is 'next-server' ? is it dhcp-option 66?

2021-06-26 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jun 26, 2021 at 09:55:01AM +0700, Bino Oetomo wrote: > Dear All. Hello, > I have 3 Virtualbox guest. > A. tftp-server DNSMASQ v.2.80 with IP address 10.10.254.1 > B. dhcp-server DNSMASQ v.280 with IP address 10.10.254.2 and 10.10.253.1 > (This one facing IPXE client) > C. IPXE client