Networking Forums

Networking Forums > Computer Networking > Linux Networking > update /etc/hosts of every machine on network...

Reply
Thread Tools Display Modes

update /etc/hosts of every machine on network...

 
 
XirriX
Guest
Posts: n/a

 
      03-12-2005, 09:56 AM
hi,

In our organization Windows 2000 is used as the dhcp server and to
share the internet.

We have a small group of Linux network of about 16 Linux boxes. I
had configured a NFS server on one of these machine to share/store file
between the users.

When each time it require to mount the NFS the user require to
specify the IP address of the NFS server box or viceversa.I want to
setup a automatic /etc/hosts file update agent from the NFS server.

Whenever any change in the IP address occured on the Linux network,
then it should be known to the NFS server machine and it will
automatically update the /etc/hosts file of NFS server box and finally
to all other Linux boxes.


Please specify any solution for this problem


I should be so thankful to however is specifying the
solution.


Thanks in advance

 
Reply With Quote
 
 
 
 
Martin Blume
Guest
Posts: n/a

 
      03-12-2005, 10:51 AM
"XirriX" schrieb
>
> In our organization Windows 2000 is used as the
> dhcp server and to share the internet.
>
> We have a small group of Linux network of about 16
> Linux boxes. I had configured a NFS server on one of
> these machine to share/store file between the users.
>
> When each time it require to mount the NFS the
> user require to specify the IP address of the NFS
> server box or viceversa.I want to setup a
> automatic /etc/hosts file update agent from the NFS
> server.
>
> Whenever any change in the IP address occured on the
> Linux network, then it should be known to the NFS
> server machine and it will automatically update
> the /etc/hosts file of NFS server box and finally
> to all other Linux boxes.
>
>
> Please specify any solution for this problem
>
> I should be so thankful to however is
> specifying the solution.
>
>


Set up a DNS server and couple it to the DHCP server?
Set up the DHCP server so that the same IP addr is
always given to the NFS server?
Write a script that on bootup reads the server's
/etc/host and copies it to the Linux box?

HTH
Martin


 
Reply With Quote
 
XirriX
Guest
Posts: n/a

 
      03-13-2005, 02:36 PM
Our network uses Windows 2000 and I won't have any permission to chance
the settings. I only have the rights to change settings on Linux
network only.

Is there any other way to solve the problem instead of using
DNS server.

 
Reply With Quote
 
ray
Guest
Posts: n/a

 
      03-13-2005, 02:54 PM
On Sun, 13 Mar 2005 07:36:07 -0800, XirriX wrote:

> Our network uses Windows 2000 and I won't have any permission to chance
> the settings. I only have the rights to change settings on Linux
> network only.
>
> Is there any other way to solve the problem instead of using
> DNS server.


I think you can do that with YP (now NIS).


 
Reply With Quote
 
Bill Unruh
Guest
Posts: n/a

 
      03-13-2005, 09:01 PM
"XirriX" <(E-Mail Removed)> writes:

>Our network uses Windows 2000 and I won't have any permission to chance
>the settings. I only have the rights to change settings on Linux
>network only.


> Is there any other way to solve the problem instead of using
>DNS server.


What he mens is install a dns server on one of your Linux machines and
point all the linux machines to that. Thagt dns service will be set up to
go to your official one if it needs an address outside your local net.


 
Reply With Quote
 
Victor Rafael Rivarola
Guest
Posts: n/a

 
      03-14-2005, 12:58 PM
ray <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>.. .
> On Sun, 13 Mar 2005 07:36:07 -0800, XirriX wrote:
>
> > Our network uses Windows 2000 and I won't have any permission to chance
> > the settings. I only have the rights to change settings on Linux
> > network only.
> >
> > Is there any other way to solve the problem instead of using
> > DNS server.

>
> I think you can do that with YP (now NIS).


Perhaps, or you could use OpenLDAP, but the better solution IMHO is to
simply integrate with the (likely) Windows 2000 Active Diretory or the
(unlikely) NT4 domain using Samba.

http://www.netadmintools.com/art172.html

If you do this, not only will all the Windows boxes be available to
the Linux boxes, but the reverse will be true too. This will come in
handy to be able to set up Apache/ProFTPD/SSHd/MySQL/Postgres/whatever
in the Linux side and just use it from Windows.

Hope this helps,

Victor Rafael Rivarola
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
98SE Machine can see XP but cannot update Ray Carter Windows Networking 5 01-11-2006 12:42 PM
hosts.deny and hosts.allow problem dan Linux Networking 3 06-15-2005 07:26 PM
Roaming Profile fails to update on one XP machine =?Utf-8?B?V2VzbGV5IFdpbHNvbg==?= Windows Networking 3 01-04-2005 01:26 AM
Unable to connect to network and internet after WPA update thru Windows Update hesp Broadband Hardware 3 05-27-2004 10:28 PM
my xp machine doesn't see me millenium machine on home network edro Windows Networking 2 09-07-2003 10:17 PM



1 2 3 4 5 6 7 8 9 10 11