Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-28-2003, 04:12 PM
|
#1
|
|
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024
Rep:
|
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?
|
|
|
|
01-29-2003, 06:18 PM
|
#2
|
|
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024
Original Poster
Rep:
|
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?
|
|
|
|
01-29-2003, 06:48 PM
|
#3
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
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
|
|
|
|
01-29-2003, 06:50 PM
|
#4
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
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
|
|
|
|
01-29-2003, 06:59 PM
|
#5
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
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
|
|
|
|
01-29-2003, 08:40 PM
|
#6
|
|
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024
Original Poster
Rep:
|
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.
|
|
|
|
01-29-2003, 09:02 PM
|
#7
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
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
|
|
|
|
01-29-2003, 10:09 PM
|
#8
|
|
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:04 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|