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
 
Search this Thread
Old 01-28-2003, 05:12 PM   #1
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Exclamation Mystery DHCP error


Here is a little DHCPd stumper:

All Linux machines are Slackware 8.1 The DHCP Server does hand out IPs, 2 different Slack clients when starting the network give these errors:

dhcpcd[53]: dhcpT1value option is missing in DHCP server response. Assuming 3600 sec
dhcpcd[53]: dhcpT2value option is missing in DHCP server response. Assuming 6300 sec

Winblows boxes don't give errors but that doesn't say much. In Linux I get a valid lease and any OS/machine under DHCP can network (ping, dns, internet, etc) but I'd like to chase down these errors so on the clients...

/etc/dhclient.conf is empty

in /etc/dhcpc/dhcpcd-eth0.info these two lines stick out:
RENEWALTIME=3600
REBINDTIME=6300

I'm guessing that the server isn't giving out this info, dhcpT1value aka RENEWALTIME and dhcpT2value aka REBINDTIME but I have checked man dhclient.conf, man dhcpd.conf, man dhcpd, man dhcpcd, and the DHCP mini HOWTO but none of them reference this.

Here is my dhcpd.conf from the server:
Code:
# dhcpd.conf
default-lease-time 2400;
max-lease-time 7200;
option domain-name "mysteryinc";
ddns-update-style none;

subnet 192.168.0.0 netmask 255.255.255.0 {
   option subnet-mask 255.255.255.0;
   option broadcast-address 192.168.0.255;
   option routers 192.168.0.1;
   option domain-name-servers 192.168.0.1;
   option netbios-name-servers 192.168.0.1;
   range 192.168.0.51 192.168.0.249;
}

subnet 192.168.98.0 netmask 255.255.255.0 {
   option subnet-mask 255.255.255.0;
   option broadcast-address 192.168.98.255;
   option routers 192.168.98.1;
   option domain-name-servers 192.168.98.1;
   option netbios-name-servers 192.168.98.1;
   range 192.168.98.51 192.168.98.249;
}

host shaggy.mysteryinc {
    hardware ethernet 00:10:4B:97:62:16;
    fixed-address 192.168.98.10,192.168.0.10;
}
Shaggy is one of the clients but my other client gives the same errors and like I said they do get valid DHCP and can network but I'd still like to pin down these errors if possible. Any thoughts?
 
Old 01-29-2003, 07:18 PM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Original Poster
Rep: Reputation: 45
Is it just scary when I ask a network question or is it that the answer is so simple that it should be obvious to me?
 
Old 01-29-2003, 07:48 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Click here

:)

Ok, it looks like it's just another value that dhcpcd is going to look for. If you want to try some values, it looks like you can supply this in your dhcpd.conf:
dhcpT1value=0
dhcpT2value=0

I am assuming you are also wanting to know what the hell they mean...

Got me :D

Cool
 
Old 01-29-2003, 07:50 PM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
And yes, it's earily scary when you ask a networking question Darin. I think you should contact http://www.isc.org/ and let them know about the glitch

Cool
 
Old 01-29-2003, 07:59 PM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Renewal (T1) Time Value

58

4 octets

Time interval from address assignment until the client transitions to RENEWING state.
Value: seconds, as 32-bit unsigned integer

Rebinding (T2) Time Value

59

4 octets

Time interval from address assignment until the client transitions to REBINDING state.
Value: seconds, as 32-bit unsigned integer

Halfway down this page:
http://www.cisco.com/univercd/cc/td/...rapb.htm#28545

It's apparently some lease renewal/rebiding value

Cool
 
Old 01-29-2003, 09:40 PM   #6
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Original Poster
Rep: Reputation: 45
Ah, you googled for it too huh? I got that page with the vague reference to it also.

Thanks, I kinda gathered what renewal and rebind times actually were I just figured it would either be IN a man page or not be as simple as adding the exact line "dhcpT1value=0" into dhcpd.conf

I guess if it's not mentioned in docs someone at isc should know about it though and if anyone has the same question, 0 is a bad value, something like this may be feasable:

dhcpT1value=3600
dhcpT2value=6300

The weird part is that the cisco link calls it "Lease Information, MS DHCP Client" while it was my linux box asking for the values. I gather from the cisco doc that also these values can be called
dhcp-renewal-time and dhcp-rebinding-time.
 
Old 01-29-2003, 10:02 PM   #7
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure did, couldn't just leave ya hangin And since you had already replied, I didn't have to worry about stealing your 0 replies status

Cool
 
Old 01-29-2003, 11:09 PM   #8
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Original Poster
Rep: Reputation: 45
Quote:
...I just figured...not be as simple as...
server: dhcpT1value=36;
client: dhcpT1value option is missing...

server: option dhcp-renewal-time 3600;
client: dhcpT1value option is missing...

server: option dhcpT1value 3600;
server error line 12: unknown option dhcp.dhcpT1value, DHCP fails to start

and yes I triple checked my syntax in /etc/dhcpd.conf and I was using:

killall -HUP dhcpd
/usr/sbin/dhcpd eth0 eth2

but since it was a stumper I even tried rebooting the server (it's the windows admin in me)

P.S. feel bad having 3 comps running so been using the server as my workstation and this little dual ppro200 does run X fairly well even with mozilla and me using all 4 desktops and a couple text VCs.
 
  


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
DHCP startup error dwarf007 Linux - Networking 4 07-14-2005 05:13 AM
dhcp error jeebas_13 Linux - Networking 0 01-11-2005 06:40 PM
DHCP Installation Error: Dependency Error rhonneil Linux - Networking 2 09-15-2003 06:56 AM
DHCP client error Sam1 Linux - Networking 2 09-05-2002 02:37 AM
dhcp restart error guanyu Linux - General 1 02-19-2002 06:48 PM


All times are GMT -5. The time now is 01:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration