[Dnsmasq-discuss] Incorrect broadcast address given
bcook at poughkeepsieschools.org
Tue Oct 7 14:56:14 BST 2008
On Oct 6, 2008, at 11:17 AM, OB Lutz wrote:
> 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 :
> 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.
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
ipcalc -n 192.168.8.230/27
Address: 192.168.8.230 11000000.10101000.00001000.111 00110
Netmask: 255.255.255.224 = 27 11111111.11111111.11111111.111 00000
Wildcard: 0.0.0.31 00000000.00000000.00000000.000 11111
Network: 192.168.8.224/27 11000000.10101000.00001000.111 00000
HostMin: 192.168.8.225 11000000.10101000.00001000.111 00001
HostMax: 192.168.8.254 11000000.10101000.00001000.111 11110
Broadcast: 192.168.8.255 11000000.10101000.00001000.111 11111
Hosts/Net: 30 Class C, Private Internet
Looks like what you are asking for is correct.
I am using things like this without any problems..
Dnsmasq version 2.45 Copyright (C) 2000-2008 Simon Kelley
Compile time options no-IPv6 GNU-getopt BSD-bridge no-ISC-leasefile no-
DBus no-I18N TFTP
I am not sure what you mean by "every router whose addresses are at
the end of the class C subnet give this incorrect broadcast address"..
What do you define for vlan0 what does that look like?
More information about the Dnsmasq-discuss