|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
|
name resolution problem
I've got a BSD box named typhoid on network.com. It fetches an IP and can do all the good things that machines on this network are supposed to do. however no other users can find the machine. ping typhoid.network.com does not work. telnet typhoid.network.com however if I use the IP it works. How can I get these windows boxes to resolve the hostname to an IP?
Thanks in Advance, Seth "Cosmo" Kramer |
|
|
|
|
|
#2 |
|
Member (8 bit)
Join Date: Apr 2000
Posts: 226
|
You could add the bsd box to the all the host and lmhost files to see if that works.Someone with more network savvy(I have none)could provide a better solution.
lynch |
|
|
|
|
|
#3 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
You have to edit /etc/hosts file to map IP addresses to host names.
for example this would be probably what your network's /etc/hosts should look like.. 127.0.0.1 localhost localhost.localdomain 192.168.0.1 diphtheria 192.168.0.2 typhoid 192.168.0.3 malaria If you are using NetBIOS on any of the windoze computers on your network then its a good idea to do the same with /etc/lmhosts as well #/etc/lmhosts localhost hospital diphtheria diphtheria typhoid typhoid malaria malaria This maps the hosts to the Netbios names (on the right). HTH |
|
|
|
|
|
#4 |
|
Member (9 bit)
|
Only problem with that idea, the IP address is dynamically assigned and I don't want to go around to each machine on our network to adjust the hosts file every 5 days when the lease is up and I have a new ip.
|
|
|
|
|
|
#5 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
How do you get the IP? DHCP?
Seems like you might have to run Dynip or some DNS. |
|
|
|
|
|
#6 |
|
Member (9 bit)
|
Yeah. DHCP. But your last comment was over my head could you explain further?
Thanks, Seth "Cosmo" Kramer |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|