LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-30-2008, 04:15 PM   #1
danwald79
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
dnsmasq dhcp not working


A kernel upgrade to 2.6.18-4-686 broke dnsmasq.

Dnsmasq version 2.35 Copyright (C) 2000-2006 Simon Kelley
Compile time options IPv6 GNU-getopt no-ISC-leasefile DBus I18N

All the machines that previously had addresses are fine. However, machines that have rebooted will not get an IP address and timeout.

My server is a debian box with 2 NIC's eth0 (public getting an IP via dhcp) and eth1(static 192.168.0.51/23). I am listening for dhcp requests on eth1 in the dnsmasq.conf file.

I also have arno-iptables-firewall running. I even opened up ports 67/68 tcp/udp (which I didnt have to do before the upgrade).

For private machines that already have an IP, is see this in syslog:

Code:
Jan 30 17:00:13 deimos dnsmasq[24018]: query[AAAA] puri.vis.uky.edu from 192.168.1.25
Jan 30 17:00:13 deimos dnsmasq[24018]: forwarded puri.vis.uky.edu to 128.163.1.6
Jan 30 17:00:13 deimos dnsmasq[24018]: reply puri.vis.uky.edu is <NODATA>-IPv6
Jan 30 17:00:13 deimos dnsmasq[24018]: query[A] puri.vis.uky.edu from 192.168.1.25
When I restart a network interface on a private machine, is see this:
Code:
Jan 30 17:07:13 deimos kernel: Spoofed packet: IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:a0:76:87:d4:08:00 SRC=192.168.0.1 DST=255.255.255.255 LEN=36 TOS=0x00 PREC=0x00 TTL=128 ID=21722 PROTO=UDP SPT=3033 DPT=3956 LEN=16
So now machines w/o an IP cant get one. Could someone give me some input on what is happening?
thanks

other information:

Code:
dig  vis.uky.edu
; <<>> DiG 9.3.4 <<>> vis.uky.edu
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33717
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;vis.uky.edu.			IN	A

;; ANSWER SECTION:
vis.uky.edu.		86400	IN	A	128.163.235.117

;; AUTHORITY SECTION:
vis.uky.edu.		86400	IN	NS	nic.net.uky.edu.
vis.uky.edu.		86400	IN	NS	ncc.uky.edu.

;; ADDITIONAL SECTION:
ncc.uky.edu.		86400	IN	A	128.163.1.6
nic.net.uky.edu.	86400	IN	A	128.163.3.10

;; Query time: 10 msec
;; SERVER: 128.163.3.10#53(128.163.3.10)
;; WHEN: Wed Jan 30 17:11:36 2008
;; MSG SIZE  rcvd: 117
Code:
cat /etc/resolv.conf 
search viz.uky.edu
nameserver 128.163.3.10
nameserver 128.163.1.6
 
Old 02-01-2008, 09:34 AM   #2
danwald79
LQ Newbie
 
Registered: Feb 2007
Posts: 4

Original Poster
Rep: Reputation: 0
FYI: a kernel upgrade fixed it...2.6.18-4 -> 2.6.18-6
all works now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with dnsmasq. DHCP not working zhjim Linux - Software 7 02-09-2009 09:26 AM
routing with dhcp dnsmasq /y0shi Slackware 12 11-19-2007 02:39 PM
dnsmasq: no dhcp ryerke Slackware 8 06-03-2007 06:29 PM
dnsmasq problem, nat not working tank728 Slackware 9 05-26-2006 04:15 PM
DHCP is working but still nothing im_not_jose Linux - Networking 12 07-26-2003 06:51 AM


All times are GMT -5. The time now is 08:33 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration