Hello LinuxQuestions.org,
I recently had my router machine die on me and I'm replacing it with a new one. I installed ubuntu on the new machine (the old installation was on debian). I have copied all my iptables firewall rules, dhcpd and bind / named configuration files in hopes that I could just drop them into the new server and everything would work. Unfortunately, that has not been the case.
Everything appears to be working okay but I noticed that when a machine powers up on the network it takes some extra time before windows detects that the system can talk to the internet. I reviewed the syslog and I see these martian source messages every time there's a dhcpd/dns update.
Code:
Jul 19 11:46:10 routeitx dhcpd: Dynamic and static leases present for 192.168.0.12.
Jul 19 11:46:10 routeitx dhcpd: Remove host declaration jane or remove 192.168.0.12
Jul 19 11:46:10 routeitx dhcpd: from the dynamic address pool for 192.168.0.0/24
Jul 19 11:46:10 routeitx dhcpd: DHCPREQUEST for 192.168.0.12 from 6c:f0:49:e1:99:29 via eth0
Jul 19 11:46:10 routeitx dhcpd: DHCPACK on 192.168.0.12 to 6c:f0:49:e1:99:29 via eth0
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone 'mynet/IN': update unsuccessful: Jane.mynet: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: signer "dhcpupdate" approved
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone 'mynet/IN': deleting rrset at 'Jane.mynet' A
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone 'mynet/IN': adding an RR at 'Jane.mynet' A
Jul 19 11:46:10 routeitx dhcpd: Added new forward map from Jane.mynet to 192.168.0.12
Jul 19 11:46:10 routeitx kernel: [41286.653192] IPv4: martian source 192.168.0.4 from 192.168.0.1, on dev eth0
Jul 19 11:46:10 routeitx kernel: [41286.653216] ll header: 00000000: ff ff ff ff ff ff 00 14 6c 41 48 c2 08 06 ........lAH...
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: signer "dhcpupdate" approved
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone '0.168.192.in-addr.arpa/IN': deleting rrset at '12.0.168.192.in-addr.arpa' PTR
Jul 19 11:46:10 routeitx named[10155]: client 192.168.0.1#44942/key dhcpupdate: updating zone '0.168.192.in-addr.arpa/IN': adding an RR at '12.0.168.192.in-addr.arpa' PTR
Jul 19 11:46:10 routeitx dhcpd: Added reverse map from 12.0.168.192.in-addr.arpa. to Jane.mynet
Jul 19 11:46:31 routeitx dhcpd: DHCPINFORM from 192.168.0.12 via eth0
Jul 19 11:46:31 routeitx dhcpd: DHCPACK to 192.168.0.12 (6c:f0:49:e1:99:29) via eth0
My iptables firewall is pretty extensive, I'm using a hacked iptables script similar to this one:
http://www.net.co.at/doc/howto/docs/...g/iptables.txt.
I know I can disable the martian source messages but that doesn't seem like the correct approach here. I think it's telling me something is wrong with my setup but I don't know where to look. Any suggestions?
Thanks,
-Greg