• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3011
  • Last Modified:

Connecting Solaris DHCP client to a Windows DHCP server

I have a Solaris 8 system and I want to run DHCP client on it. I need to connect to a Microsoft DHCP server.
I get an IP Address from the DHCP/WINS server however it does not register the hostname in DNS. NSLOOKUP returns nothing for this hostname.
Is there something special I need to do on the Solaris system to make this registration ?
Thanks in advance .
  • 2
1 Solution
AFAIK DHCP wouldn't register a DNS entry, they are entirely different protocols.  If you have a program that does both for windows machines, it is a hybrid program that does DHCP (IP address, default gateway and netmask) and DNS registration.
sluchAuthor Commented:
No, I don't have a hybrid program.
I guess all I am asking for is how to get an entry into DNS for lookups with out having to hard code in the IP and hostname into the DHCP server.
I think u have to request host name registration to dhcp.

1. edit the /etc/default/dhcpagent file as root and modify this line,
if a # sign is there remove it.

2. Edit the /etc/hostname.interface file on the client system and add the following line:

inet hostname

where hostname is the name you want the client to use.
# pkill dhcpagent
# rm /etc/dhcp/interface.dhc
# reboot

see if the name of client is registered to server or not.
sluchAuthor Commented:
I don't have this line in the file you indicate however I have added it.

Also I have added the entry in the hostname.interface as you indicated and I get an error message on bootup:

Something about "inet: bad address", however it now registers the hostname and IP address with the DHCP server.

Thanks for you help
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now