Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP problem

Status
Not open for further replies.

xor2

Programmer
Mar 24, 2005
22
Hey
I am writting dhcp server .. so i have few questions.
First one:
I have seen in real protocol (with sniffer) that
when dhcp server (XP system) sends information, it doesn;t contain dns IP numbers, however in option section there is entered ip address of gate (192.168.0.1). I have been trying to put there real dns numbers (in my onw dhcp server) but client doesn;t even read it.
How to update dns numbers on clients machine sending dhcp protocol??
Sec question. I have seen in RFC that there are 3 timers./
T1 renewing, T2, rebinding and IP lease time.
Which this timers correpond to time values in dhcpd config (there is default and max lease time)??

Really thanks for help
 
I hope this answers your DNS IP question...
In DHCP - under Server Options, configure 006 DNS Servers (add IP Address) and 015 DNS Domain Name (yourcompany.com).
At the workstation make sure the TCP/IP prperties are set up to 1. Obtain an IP address automatically and 2. Obtain DNS server address automatically.
 
I have seen in real protocol (with sniffer) that
when dhcp server (XP system) sends information
Need some clarification. XP cannot be a dhcp server, unless I'm wrong. Not a xp pro though, so let us know. What is the os of the server?

Glen A. Johnson
If you're from the Illinois or Florida area, check out Tek-Tips in Chicago IL
To get the best answers to your questions, check out faq950-5848
Tickety-boo all.
 
I am using XP Professional system, which doesn;t contain real DHCP server program, but it has small version of it, It is included in internet connection when it makes internet available to computers in local network.

First question i have already solved. WIN98 client must have been rebooted to refresh DNS configuration. Like "WhoKilledKenny" said, when i entered DNS(6) and Domain Name (15) everything is good. (However I don;t still know why dhcp server sends 192.168.0.1 as a GATE in DNS (6) field option.

But the sec answer i am not so pretty sure.
As i said, there are 3 timers. Renewing, rebinding and lease time.
In linux config in dhcpd server thera are "fefault lease time" and "max lease time" Which one are which?

Thanks







 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top