![]() |
DHCP (Dynamic host configuration protocol)DHCP allows client machines (eg macs, pcs and unix machines) to load their network information from a server. Thus certain network values (such as dns server etc) can be updated automatically from the server.Our network defines all hosts statically (by their ethernet number) and a number of 'leased' IP numbers for new hosts. PackagesUnder linux, following rpm's are required (for mandrake8.0).
HostsDHCP can run a number of serves on the same network so we shall define a number of dhcp servers for the department.
Files
dhcpd.leases is managed by the server process on the host and can be used to track down new hosts (sometimes, pc's especially) as it sometimes contains 'host names'. ConfigurationNo configuration is required as the host/machine database generates the conf file and that is all thats needed.Problems...?DHCP should be reasonably stable because of the redundancy. The host/machine database should restart the service when it updates the config file.You must be root to do the following.
Finding unregistered machinesPeople just plug machines into our network and dont register them, so....Looking in the lease file will tell you which numbers have been allocated to what ethernet addresses. You can identify a host type with: nmap -O ipnumber while the host is active. Checking the logs on orion (/var/adm/SYSLOG) might tell you who is using that dhcplease. |