[Dnsmasq-discuss] dnsmasq ignoring some clients
Chris Marget
chris at logsoft.com
Wed Oct 1 22:43:30 BST 2008
Greetings,
I've been happily using dnsmasq 2.33 for some time. It came bundled
with the openwrt distribution running on my Linksys router.
Happily, that is, until I started trying to use it to serve some virtual
servers. It's still serving up adresses to everything else, but is
ignoring the requests from my virtual servers.
Nothing is logged to syslog or to stdout with the -d flag.
I've compared packet dumps of lots of different clients, and found lots
of differences between them, so nothing jumps out at me as THE
difference.
Following is my dnsmasq.conf, and following that is a sample DHCP
packet, received on eth0. Is there something wrong with the request?
Can I tweak dnsmasq to service this request?
Thanks very much for any assistance.
/chris
------------- dnsmasq.conf -------------
domain-needed
bogus-priv
filterwin2k
localise-queries
local=/lan/
domain=lan
expand-hosts
no-negcache
resolv-file=/tmp/resolv.conf.auto
log-queries
dhcp-authoritative
dhcp-range=eth0,192.168.1.101,192.168.1.150,255.255.255.0,24h
dhcp-range=eth2,172.16.1.101,172.16.1.150,255.255.255.0,24h
dhcp-leasefile=/tmp/dhcp.leases
dhcp-option=eth0,3,192.168.1.1
dhcp-option=eth2,3,172.16.1.1
dhcp-option=eth0,6,192.168.1.1
dhcp-option=eth2,6,172.16.1.1
dhcp-option=eth0,42,time.nist.gov
dhcp-option=eth2,42,time.nist.gov
read-ethers
------------- dnsmasq.conf -------------
-------------- the packet --------------
Ethernet II, Src: Xensourc_11:11:11 (00:16:3e:11:11:11), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Destination: Broadcast (ff:ff:ff:ff:ff:ff)
Address: Broadcast (ff:ff:ff:ff:ff:ff)
.... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
.... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
Source: Xensourc_11:11:11 (00:16:3e:11:11:11)
Address: Xensourc_11:11:11 (00:16:3e:11:11:11)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
Type: IP (0x0800)
Internet Protocol, Src: 0.0.0.0 (0.0.0.0), Dst: 255.255.255.255 (255.255.255.255)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 576
Identification: 0x0000 (0)
Flags: 0x04 (Don't Fragment)
0... = Reserved bit: Not set
.1.. = Don't fragment: Set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: UDP (0x11)
Header checksum: 0x38ae [correct]
[Good: True]
[Bad : False]
Source: 0.0.0.0 (0.0.0.0)
Destination: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Source port: bootpc (68)
Destination port: bootps (67)
Length: 556
Checksum: 0x0000 (none)
Good Checksum: False
Bad Checksum: False
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x2bb26297
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
0... .... .... .... = Broadcast flag: Unicast
.000 0000 0000 0000 = Reserved flags: 0x0000
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 255.255.255.255 (255.255.255.255)
Next server IP address: 255.255.255.255 (255.255.255.255)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: Xensourc_11:11:11 (00:16:3e:11:11:11)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option: (t=53,l=1) DHCP Message Type = DHCP Request
Option: (53) DHCP Message Type
Length: 1
Value: 03
Option: (t=54,l=4) Server Identifier = 1.2.3.4
Option: (54) Server Identifier
Length: 4
Value: 01020304
Option: (t=50,l=4) Requested IP Address = 255.255.255.255
Option: (50) Requested IP Address
Length: 4
Value: FFFFFFFF
Option: (t=55,l=7) Parameter Request List
Option: (55) Parameter Request List
Length: 7
Value: 0103060C0F1128
1 = Subnet Mask
3 = Router
6 = Domain Name Server
12 = Host Name
15 = Domain Name
17 = Root Path
40 = Network Information Service Domain
End Option
Padding
-------------- the packet --------------
More information about the Dnsmasq-discuss
mailing list