I set the following in dnsmasq.conf which according to the documentation, enables the dhcp server in dnsmasq, however it does not provide dhcp addresses, I have confirmed that the system is otherwise setup correctly as if I run dhcp instead, addresses are provided.. INFO Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-ck4 i686) ================================================================= System uname: 2.6.12-ck4 i686 AMD Athlon(tm) processor Gentoo Base System version 1.6.13 ccache version 2.3 [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://gentoo.mirrored.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 4kstacks acpi bash-completion berkdb bzlib ccache cdr ck-server crypt curl dhcp eds emboss ftp gdbm gstreamer idea imap libg++ libwww mime mmap mmx mmxext ncurses nls nomac nptl nptlonly ogg pam perl python readline sasl sdl sftplogging shaper smime softquota spell ssl tcpd threads unicode userlocales vorbis xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
(In reply to comment #0) > I set the following in dnsmasq.conf You set the following - hmm, I cannot see anything following here.
I set *this* in dnsmasq.conf... I always had trouble with fridays.... dhcp-range=192.168.1.50,192.168.1.150,12h
So whats going on here... Is this a configuration issue or a broken dnsmasq
What version of dnsmasq? Also, can you please attach your dnsmasq.conf?
Created attachment 65761 [details] Config File Version 2.22 configuration file, only slightly modified
Is this a gentoo bug or should I be going upstream?
I don't see any uncommented dhcp-range entries in the attached dnsmasq.conf.
Line above is the command I used, as I currently am running dnsmasq and dhcpd so the line is commented until I can nail down the issue. Line 110 is where I uncommented the above.
One last question.. with the dhcp server enabled in dnsmasq what's the output of `netstat -pan --inet | grep dnsmasq` ? (I don't use the dnsmasq dhcp server personally and can only do limited testing here. CC'ing tigger, I seem to recall he was using dnsmasq's dhcp at some point)
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 24449/dnsmasq udp 0 0 0.0.0.0:33452 0.0.0.0:* 24449/dnsmasq udp 0 0 0.0.0.0:53 0.0.0.0:* 24449/dnsmasq udp 0 0 0.0.0.0:67 0.0.0.0:* 24449/dnsmasq raw 0 0 0.0.0.0:1 0.0.0.0:* 7 24449/dnsmasq (Slightly edited to make it smaller)
That looks correct. Is this the only DHCP server on the network? Tried it without dhcp-authoritative?
Removed dhcp-authoratative, no change, as far as other servers, definitely not, as this is my network and I know all equipment connected to it.
Config looks OK, netstat looks OK, no other similar reported issues with 2.22... I'm afraid I'm going to have to send this one upstream and see what Simon has to say about it. http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Am you sending it upstream, or am I?
Probably be easier for both you and upstream if you did. I suggest mailing the dnsmasq mailing list and referencing this bug. Simon tends to be quite helpful and responsive.