Solved

Connecting Solaris DHCP client to a Windows DHCP server

Posted on 2003-10-31
4
2,952 Views
Last Modified: 2013-12-27
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 .
0
Comment
Question by:sluch
  • 2
4 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 9660785
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.
0
 

Author Comment

by:sluch
ID: 9660825
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.
0
 
LVL 24

Accepted Solution

by:
shivsa earned 125 total points
ID: 9661583
I think u have to request host name registration to dhcp.

1. edit the /etc/default/dhcpagent file as root and modify this line,
REQUEST_HOSTNAME=yes
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.
3.
# pkill dhcpagent
# rm /etc/dhcp/interface.dhc
# reboot

see if the name of client is registered to server or not.
0
 

Author Comment

by:sluch
ID: 9672692
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
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question