I couldnt get the OS version yet. DHCP server is administrated by somebody else. I will update it soon.
DHCP Server 4.1.1-P1
I mentioned before that I was going to copy the /etc/dhcpd.conf to /etc/dhcp/dhcpd.conf
I did that and restarted the service.
Now I started to receive a new kind of error and the service doesnt start. How it was working before with /etc/dhcpd.conf is still something I have no idea.
Subnet declaration was defined as below.
Because of the error seen in messages logs, or something else, the dhcpd service doesnt work anymore.
I have intall a REdhat 9.0 as a server and Ive configure to act as a DHCP however Im having technical problems b/c the file /etc/dhcpd.conf does not exists. I went to the text edit and I created :
subnet 192.192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.10 192.168.100.150;... (1 Reply)
Thanks for reply , i realy love using unix ... is there anyone who can give me an instruction to configure DHCP Server in Sun Solaris 10 just a quick guide .. i know how to configure DHCP Server in Windows operating System
..But i want also learn how to configure it from the SUN SOLARIS 10...... (6 Replies)
Hi,
I need to get a script together to edit the dhcp service configuration file dhcpd.conf.
Mac addresses are defined in classes ex.
class "HOST1" { match if substring (hardware, 1,18)=00:11:11:FF:FF:FF;}
class "HOST2" ...
class "HOST3" ...
...
followed by allow or deny statements:... (4 Replies)
Hi,
I've setup DHCP Server on RH linux AS3 and everything works fine except static routes. They are not getting effected on client systems.
My dhcpd.conf:
+++++++++++
ddns-update-style interim;
ddns-updates off;
option domain-name-servers 192.168.116.122;
option domain-name... (3 Replies)
I am trying to use sed to remove entries from my dhcpd.conf file.
The form of the file is:
host foo {
option 1
option 2
}
host bar {
option 1
option 2
}
I was trying to use a label like:
sed -e :a -e "s/^host bar {*//g;/{/N;//ba" /etc/dhcpd.conf... (2 Replies)
I am trying to configure my jumpstart server to install Solaris 10 on a T1000 machine(target) over WAN. I do not know the IP address of the client, i wish the client to get the IP address from DHCP.
how do i configure my /etc/netboot hierarchy. One option would be to keep the wanboot.conf in... (1 Reply)
Hi,
While installation of apache on linux, we perform the below tasks.
1) Untar
2) configure
3) make
4) make install.
I wanted to understand the difference and working of configure/make/make install.
Can any one help me understanding this?
Thanks in advance. (1 Reply)
Hi all,
I am too new for this stuff and i am lost in perl tutorials. I need help to change dhcp entries in .conf file with a perl script.
The file entries are like below :
host bertha-clp-0 {
hardware ethernet AA:0A:A0:00:6c:40;
fixed-address 10.10.10.72;
option... (6 Replies)
Hi,
I have to prepare a script to check the dhcp conf file. The script has to check for a specific parameter called circuit ID. If the Circuit ID is unique it should show the output that it is unique and if it is duplicate it should show that the Circuit ID is duplicate. I have prepared the... (4 Replies)
Hy everybody,
Within a dhcpd.conf file, we got some fixed IP adresses from 192.168.0.1 - 192.168.0.254.
Sample:
#ddns-update-style interim;
ddns-update-style none;
ignore client-updates;
deny client-updates;
authoritative;
#### By red for PXE Booting
allow booting;
allow bootp;
###... (17 Replies)
Discussion started by: hermouche
17 Replies
LEARN ABOUT DEBIAN
text::dhcpleases
Text::DHCPLeases(3pm) User Contributed Perl Documentation Text::DHCPLeases(3pm)NAME
Text::DHCPLeases - Parse DHCP leases file from ISC dhcpd.
SYNOPSIS
use Text::DHCPLeases;
my $leases = Text::DHCPLeases->new("/etc/dhcpd.leases");
foreach my $obj ( $leases->get_objects ){
print $obj->name;
if ( $obj->binding_state eq 'active' ){
...
}
...
DESCRIPTION
This module provides an object-oriented interface to ISC DHCPD leases files. The goal is to objectify all declarations, as defined by the
ISC dhcpd package man pages.
This interface is useful for analyzing, reporting, converting lease files, or as a tool for other applications that need to import dhcpd
lease data structures.
CLASS METHODS
new - Class Constructor
Arguments:
Hash with the following keys:
file - Leases file path
Returns:
Text::DHCPLeases object
Examples:
Text::DHCPLeases->new(file=>"/etc/dhcpd.leases");
INSTANCE METHODS
get_objects - Get objects from leases file
Arguments:
Object attributes to match (optional)
Returns:
Array of Text::DHCPLeases::Lease objects,
or iterator depending on context.
Examples:
my $it = $leases->get_objects(ip_address=>'192.168.0.1');
while ( my $obj = $it->next ) ...
print - Print all lease objects contents as a formatted string
Arguments:
None
Returns:
Formatted String
Examples:
print $leases->print;
BUGS AND LIMITATIONS
Correct parsing of leases files depends on changes made to the format of said files by the authors of the ISC DHCPD package. This module
was tested against leases files generated by ISC DHCPD version 3.1.0. In addition, I do not have access to leases file with all possible
declarations and statements, so parsing could be broken in some circumstances. Patches are welcome.
No bugs have been reported.
Please report any bugs or feature requests to "bug-Text-DHCPleases@rt.cpan.org", or through the web interface at <http://rt.cpan.org>.
AUTHOR
Carlos Vicente <cvicente@cpan.org>
LICENCE AND COPYRIGHT
Copyright (c) 2007-2010, Carlos Vicente <cvicente@cpan.org>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
perl v5.10.0 2009-08-12 Text::DHCPLeases(3pm)