Fedora Linux Support Community & Resources Center
  #1  
Old 11th June 2012, 05:56 AM
leojau Offline
Registered User
 
Join Date: Jun 2012
Location: Brazil
Posts: 7
windows_7ie
How to find a file in a computer (using DHCP)

Hi,

I have a working system that is being expanded. Cuurrently the system is using only 1 (one) server and is being expanded to multiple servers.
I need these servers to be "plug and play". They will be identical. They need to operate through DHCP (new IP will be assigned every time it connects to the network).

My problem is:
* I need to develop a software that will identify all the active servers in a specified IP range.

I use Fedora Core 13 for the servers.
The servers have freenx running.

Is there an existing software that will do this job?
Can anyone give me some ideas?
I'm pretty newbie with Linux.

Thanks.
Reply With Quote
  #2  
Old 11th June 2012, 08:23 AM
flyingfsck Online
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,908
linuxfirefox
Re: How to find a file in a computer (using DHCP)

net-snmp auto-discover
Zabbix: http://www.zabbix.com/
Reply With Quote
  #3  
Old 11th June 2012, 08:49 AM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,935
linuxfirefox
Re: How to find a file in a computer (using DHCP)

nmap --open -sV 192.168.1.* -p 53 # for dns servers

nmap -sP 192.168.1.* # to see then all (mostly)


lot of additional options.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 11th June 2012 at 09:16 AM.
Reply With Quote
  #4  
Old 11th June 2012, 06:25 PM
droidhacker Offline
Registered User
 
Join Date: Oct 2009
Posts: 827
linuxfirefox
Re: How to find a file in a computer (using DHCP)

Quote:
Originally Posted by leojau View Post
Hi,

I have a working system that is being expanded. Cuurrently the system is using only 1 (one) server and is being expanded to multiple servers.
I need these servers to be "plug and play". They will be identical. They need to operate through DHCP (new IP will be assigned every time it connects to the network).

My problem is:
* I need to develop a software that will identify all the active servers in a specified IP range.

I use Fedora Core 13 for the servers.
The servers have freenx running.

Is there an existing software that will do this job?
Can anyone give me some ideas?
I'm pretty newbie with Linux.

Thanks.
Ok... this seems like a fun little project.

First, there is no need for machines to get different IP addresses every time they start. You can give them consistent addresses within the address pool. DHCP isn't the place to perform load distribution, DNS is a better choice.

Obviously, you can't have all identical servers, since one server must be acting as a DHCP server. Without this, your whole idea must fall apart. This server should also be running a DNS server.

I suggest setting up your dhcpd.conf to establish a client class for your servers. You can use DDNS to associate those with your DNS server and use short timeouts and a load distribution scheme in your DNS server to hand out server IP addresses to client machines.

http://ntrg.cs.tcd.ie/undergrad/4ba2.01/group8/DNS.html

In this way, when a server happens to be brought online, the DHCP server will recognize it as a server, register its IP address with the DNS server, and when clients request the "server" by name, they will receive a list of IP addresses in a varying order.

As an example, run "dig google.com" and observe its response.
Reply With Quote
  #5  
Old 12th July 2012, 11:54 PM
leojau Offline
Registered User
 
Join Date: Jun 2012
Location: Brazil
Posts: 7
windows_7ie
Re: How to find a file in a computer (using DHCP)

Thanks droidhacker for your answer.

I managed to find the active computers in my network using nmap and awk combined to export those ip's to a file o variable.

About the DHCP... is set through the router and that's how it should be! i developed a way to find my servers using ssh and cat to retrieve some specific info.

Thanks everyone
Reply With Quote
Reply

Tags
dhcp, fedora 13, file, files, freenx, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Windows system cannot find Fedora computer for SAMBA dmaxel Servers & Networking 3 9th January 2011 03:01 AM
How do i find out what memory my computer uses? tootal2 Hardware & Laptops 6 10th October 2008 09:23 PM
Workgroup, Host-computer-name, Dhcp SlowJet Fedora Focus 0 20th June 2005 07:58 PM
FC3 Fresh Install - found Eth0 but can't find DHCP... thayerw Servers & Networking 8 28th February 2005 02:06 AM
can't find (windows) dhcp server w/ fedora box sbontrager Servers & Networking 6 17th March 2004 06:42 PM


Current GMT-time: 10:44 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Giresun Photos - Kaeng Khro Travel Photos on Instagram - Dobropillya Photos