[Dnsmasq-discuss] Incorrect broadcast address given

OB Lutz ob.lutz at gmail.com
Mon Oct 6 16:17:52 BST 2008


Hi
I'm running dnsmasq 2.41 on openwrt kamikaze. My network has various
routers with blocks of 32 addresses hanging off of them. On every 8th
router, the relevant line from my dnsmasq.conf is :

dhcp-range=vlan0,192.168.8.230,192.168.8.254,255.255.255.224,48h

This should yield a broadcast address of 192.168.8.255. However, when
obtaining an IP address from the router, I am given a broadcast IP of
192.168.8.226, which happens to be the IP of a wireless interface on
the router. Changing the configuration to specify the broadcast
address manually everything is fine. Other IP ranges yield the proper
broadcast, but every router whose addresses are at the end of the
class C subnet give this incorrect broadcast address.



More information about the Dnsmasq-discuss mailing list