Solved

Connecting Solaris DHCP client to a Windows DHCP server

Posted on 2003-10-31
4
2,961 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

732 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