LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 08-08-2005, 08:50 AM   #1
tnine9
Member
 
Registered: Jan 2003
Posts: 39

Rep: Reputation: 15
DHCP + DNS connection refused or timed out errors


Hi all,
I recently updated my Bind 9 and DHCP configuration. I now have Bind set up to allow my DHCP server to update the host names for my local domain. It works well from all the windows clients, I can ping all the other nodes on my network. However, I am receiving errors in my logs, and I am having trouble getting other linux servers that use dhcp client to send their hostname. I really need this functionality so I can plug in any servers or PC's or servers I am working on, and they are automatically added to my dns domain name. Outlined below are my two problems.


Specs:
Router/firewall with Bind 9 and DHCP is Fedora Core 2.
Multiple windows PCs
Multiple linux servers

Problem 1. Logwatch is reporting these errors to me from dhcp. However the host names are registering correctly.

--------------------- dhcpd Begin ------------------------

DHCP Server Listening On:
LPF/eth1/00:04:5a:7b:a4:fe/192.168.0.0/24: 34 Time(s)

Unknown Entries:
Abandoning IP address 192.168.0.82: pinged before offer: 1 Time(s)
Abandoning IP address 192.168.0.83: pinged before offer: 1 Time(s)
If this DHCP server is authoritative for that subnet,: 1 Time(s)
Internet Systems Consortium DHCP Server V3.0.1rc14: 51 Time(s)
of the dhcpd.conf file.: 1 Time(s)
please write an `authoritative;' directive either in the: 1 Time(s)
receive_packet failed on eth1: Network is down: 1 Time(s)
send_packet: Operation not permitted: 1 Time(s)
subnet declaration - for example, write it at the top: 1 Time(s)
subnet declaration or in some scope that encloses the: 1 Time(s)

DNS Mappings:
if bart.nine.homelinux.com IN A rrset doesn't exist add bart.nine.homelinux.com 300 IN A 192.168.0.50: connection refused.: 14 Time(s)
if bart.nine.homelinux.com IN A rrset doesn't exist add bart.nine.homelinux.com 300 IN A 192.168.0.50: timed out.: 226 Time(s)
if lisa.nine.homelinux.com IN A rrset doesn't exist add lisa.nine.homelinux.com 300 IN A 192.168.0.87: connection refused.: 19 Time(s)
if lisa.nine.homelinux.com IN A rrset doesn't exist add lisa.nine.homelinux.com 300 IN A 192.168.0.87: timed out.: 222 Time(s)
if maggie.nine.homelinux.com IN A rrset doesn't exist add maggie.nine.homelinux.com 300 IN A 192.168.0.98: connection refused.: 1 Time(s)
if maggie.nine.homelinux.com IN A rrset doesn't exist add maggie.nine.homelinux.com 300 IN A 192.168.0.98: timed out.: 52 Time(s)
if marge.nine.homelinux.com IN A rrset doesn't exist add marge.nine.homelinux.com 300 IN A 192.168.0.82: connection refused.: 2 Time(s)
if marge.nine.homelinux.com IN A rrset doesn't exist add marge.nine.homelinux.com 300 IN A 192.168.0.82: timed out.: 3 Time(s)
if marge.nine.homelinux.com IN A rrset doesn't exist add marge.nine.homelinux.com 3600 IN A 192.168.0.97: connection refused.: 2 Time(s)
if marge.nine.homelinux.com IN A rrset doesn't exist add marge.nine.homelinux.com 3600 IN A 192.168.0.97: timed out.: 4 Time(s)

Addresses Leased:
192.168.0.50 -> 00:02:e3:1d:94:8a [bart] (eth1): 1 Time(s)
192.168.0.82 -> 00:0c:41:21:7b:6c (eth1): 1 Time(s)
192.168.0.82 -> 00:0c:41:21:7b:6c [marge] (eth1): 1 Time(s)
192.168.0.83 -> 00:0c:41:21:7b:6c (eth1): 7 Time(s)
192.168.0.97 -> 00:0c:41:21:7b:6c [marge] (eth1): 6 Time(s)
192.168.0.98 -> 00:90:4b:43:20:24 [maggie] (eth1): 2 Time(s)


---------------------- dhcpd End -------------------------

Problem 2. My Fedora 4 test server is not sending its name via DHCP. As a result, I cannot connect to it by name from any other LAN client. I do not want to assign a static IP since I will be adding and removing linux machines regularly.


Any help would be greatly appreciated.

Thanks,
Todd
 
Old 08-08-2005, 10:57 PM   #2
tnine9
Member
 
Registered: Jan 2003
Posts: 39

Original Poster
Rep: Reputation: 15
Ok, I�m thoroughly confused. Someone please give me some help! I still cannot see my fedora 4 box with a dhcp client from any windows machine or my router. Nor can my fedora 4 box see anything else. All of my windows clients work, and they all use dns resolution. I can now get the hostname to register on my DHCP lease and update DNS, but I still can�t resolve anything. Below are my configs.

/etc/resolv.conf
Code:
; generated by /sbin/dhclient-script
search nine.homelinux.com
nameserver 192.168.0.1
/etc/dhclient.conf
Code:
send host-name "marge";
send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#send dhcp-lease-time 3600;
#supersede domain-name "nine.homelinux.com";
#prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers;
#require subnet-mask, domain-name-servers;
#timeout 60;
#retry 60;
#reboot 10;
#select-timeout 5;
#initial-interval 2;
#script "/etc/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;

#alias {
#  interface "ep0";
#  fixed-address 192.5.5.213;
#  option subnet-mask 255.255.255.255;
#}
Any ideas?

Todd
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS: connection timed out; no servers could be reached ubu_roi Linux - Networking 1 04-13-2005 12:45 PM
Infernal omnipresent connection refused errors pressman57 Linux - Networking 2 02-10-2005 09:23 PM
Dynamic DHCP/BIND Connection refused problem aglock Linux - Networking 4 04-28-2004 08:43 AM
Dynamic DHCP/BIND9 connection refused problem aglock Linux - Networking 1 04-05-2004 01:16 PM
vsftpd Connection Refused Errors SForsgren Linux - General 2 04-27-2003 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration