On 2024-12-04 10:10, oss.gr...@omnilan.de wrote:
...
Hereby I happily confirm that 5a1f2c577d fixes --dhcp-relay=<local address>,<server address> problem with dnsmasq 2.90 on FreeBSD 14.2. Also --dhcp-proxy seems to work as designed, a very brief check showed expected results with the following dnsmasq.conf
no-resolv
no-hosts
domain=ab.cd.example.com
dhcp-range=172.17.147.0,172.17.147.254,255.255.240.0,15m
dhcp-proxy=172.17.146.10
dhcp-authoritative
log-dhcp
...

My intention was to provide a working example for a relay-agent & proxy config...  messed it up, the -range line is wrong of course.
So this is the relevant lines from my tested setup:
dhcp-relay=172.17.146.10,172.17.128.253
dhcp-proxy=172.17.146.10
dhcp-authoritative

The relay has eth0 with 172.17.128.14/23 and eth1 with 172.17.146.10/21 <- client face. The server has 172.17.128.253/23 with a host route to 172.17.146.10 via 172.17.146.10.

-harry


_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to