Solved

dhcp wins and dns

Posted on 1998-08-27
7
428 Views
Last Modified: 2013-12-23
I have a Windows NT server with DHCP server service, WINS server service, DNS server service running (and tcp/ip). Now I have 6 sun solaris station that I want to assign a dynamic ip adress using dhcp. Is this possible and how? I also want to replace the hosts table with the WINS-server database or if that is not possible the DNS-server database. Is this also possible and how?

Thanks in advance,

Evert Dieperink
TED Gigaprint
evert@ted-gigaprint.nl
 
0
Comment
Question by:evertd
7 Comments
 
LVL 2

Expert Comment

by:JYoungman
ID: 1582076
Get dhcpcd from ftp.isc.org.

0
 
LVL 2

Author Comment

by:evertd
ID: 1582077
What is that? I think it is only for DHCP not for WINS and DNS. Is it not standard in SUN Solaris 2.5?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1582078
You may use NT's DHCP server to assign IP address (and some other values) to your Sun (which needs somthing like dhcpd, see JYougman's comment).
AFAIK, there is no possibility to use NT's WINS from Solaris (I won't suggest it either, 'cause WINS is a zombie;-). You must use DNS for this.
First setup your DNS server on NT (which can ask WINS for DHCP assigned IPs), then setup Solaris as a simple DNS client, you just need /etc/resolf.conf and /etc/nsswitch.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 2

Author Comment

by:evertd
ID: 1582079
I think DHCP is standard! is this true? Can you send me a manual how to install it. I don't know unix very good I know more about windows nt & 95 & 98
0
 

Accepted Solution

by:
tphipps earned 200 total points
ID: 1582080
DHCP is definately a standard - it has just taken some vendors a while to recognize and implement it.

In your case:

1) Solaris 2.6 does have a DHCP server system included, but not a DHCP client.  Solaris 2.51 doesn't have either one.  Anyway, this isn't going to help you as you've already got a DHCP server on your NT box.  Solaris workstations do support the BOOTP protocol (a limited-use predecessor to DHCP), and Microsoft's DHCP server on NT 4 Service Pack 2 or later does support BOOTP requests (see Microsoft document # Q174765 at http://support.microsoft.com/support/kb/articles/q174/7/65.asp for more info on this).  So, theoretically, you could configure your Sun workstation to use BOOTP to get it's IP address.  

Even this solution has problems - Microsoft's DHCP server requires that BOOTP clients have a reservation in the DHCP database - so this is little better than assigning a static IP address to your Sun machine.

I think your best approach here is to assign static IP addresses to your Solaris clients.  It will end up being much easier all around.

2) WINS is a Microsoft-only name server.  It's used to resolve NetBIOS names into IP addresses.  Forget about it in terms of your Solaris machines.  Unless you want your Solaris machines to talk NetBIOS to your NT machines (using a product such as SAMBA), then it is of no use to you.

3) Your NT DNS server should work just fine for your Solaris client.  To get it working, do the following on your Solaris machine:

a) create a file /etc/resolv.conf containing the following 2 lines, substituting abc.com for your domainnames and 1.2.3.4 for the IP address of your nameserver

domain abc.com
nameserver 1.2.3.4

b) edit /etc/nsswitch.conf and make sure that the line that begins with "hosts:" looks like this:

hosts:      dns files

c) make sure your machine's domain name is set correctly.  Do this by typing "domainname" at the UNIX shell prompt.  If it's set incorrectly, login as root and set it using the command with an argument (eg. "domainname abc.com").  You will want to automate this by putting it in your /etc/rc* files.




0
 
LVL 2

Author Comment

by:evertd
ID: 1582081
Ok, I already get DNS working. On the NT server I use a lookup to the WINS server on the DNS server. Now, I only need to configure the DHCP server on a SOLARIS 2.51. I will try the Microsoft article, or maybe I will tr the program dhcpcd from ftp.isc.org.

0
 
LVL 2

Author Comment

by:evertd
ID: 1582082
Aaaarggg... What about configuring the BOOTP client on the SUN. I don't know how to do this?
0

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cisco MRA Phones 4 70
Linux as a middle box 7 64
Botnet detection help me please 21 86
DNS and NSLOOKUP 21 58
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now