Well, a nice design for failover has the secondary just recording leases unless the primary dies. A nasty design says it has to wait 10 minutes and then all the leases are free. Google time again.
Hi all,
I have a bit of an inexplicable problem....
Up until today, on my Toshiba Satellite A30 Laptop running SuSE 8.2 Professional, I had a dual mouse (USB Mouse / Touchpad) configuration in X and everything was running fine.
I booted the laptop today, and for some reason unbeknownst to... (3 Replies)
Hi, I have an issue to setup DHCP log in syslog-ng. Here are what I've done:
(1) Remove 'log-facility local7;' line from dhcpd.conf
(2) Add following lines to /etc/syslog-ng/syslog-ng.conf:
destination dhcplog { file("/var/log/dhcpd.log"); };
filter f_dhcpd { level(info) and match("dhcpd");... (1 Reply)
Hi,
I got a strange issue here: We are using ISC DHCP v4 which is default in Open SuSE 11.4. These two options 'default-lease-time' and 'max-lease-time' are set in all subnets, with values between 43200 (12 hours) to 518400 (144 hours). See partial dhcpd.conf below please.
Now the lease time... (0 Replies)
Hi,
I have to parse the dhcp.lease file and have to keep the most recent entry and remove the rest and also the number of lines between any two leases might not always be the same.
eg:
lease 5.5.5.252 {
starts Wed Jul 27 09:48:39 2011
ends Wed Jul 27 21:48:39 2011
tstp Wed Jul... (1 Reply)
Hi frnds
I am testing DHCP server on vmware.I have two REDHAT 9 vmware machine.DHCP is installed on one machine and second machine is using as a client .I have configured DHCP with Ip Address ,Mask and Gateway.But client machine is not getting ip address.When i type ifconfig command on client it... (6 Replies)
Dear all, today I'm scratching my head with a simple (I believe) issue.
Working with date is quite simple, so if I Need to add some seconds to current time, I'll use:
date --date='+30 seconds' +"%Y-%m-%d %H:%M:%S"But, how to pass the value to add from a variable? I tried the following without... (2 Replies)
Hi, please help with below time conversion to minutes.
one column values:
2 minutes 16 seconds 420 msec
43 seconds 750 msec
0 days 3 hours 29 minutes 58 seconds 480 msec
11 seconds 150 msec
I need output in minutes(total elapsed time in minutes) (2 Replies)
Hi all,
System Ubuntu 16.04.3 LTS
i have the following log
INFO 2019-02-07 15:13:31,099 module.py:700] default: "POST /join/8550614e-3e94-4fa5-9ab2-135eefa69c1b HTTP/1.0" 500 2042
INFO 2019-02-07 15:13:31,569 module.py:700] default: "POST /join/6cb9c452-dcb1-45f3-bcca-e33f5d450105... (15 Replies)
Discussion started by: charli1
15 Replies
LEARN ABOUT LINUX
dhclient.leases
dhclient.leases(5) File Formats Manual dhclient.leases(5)NAME
dhclient.leases - DHCP client lease database
DESCRIPTION
The Internet Systems Consortium DHCP client keeps a persistent database of leases that it has acquired that are still valid. The database
is a free-form ASCII file containing one valid declaration per lease. If more than one declaration appears for a given lease, the last
one in the file is used. The file is written as a log, so this is not an unusual occurrance.
The format of the lease declarations is described in dhclient.conf(5).
FILES
DBDIR/dhclient.leases
SEE ALSO dhclient(8), dhcp-options(5), dhclient.conf(5), dhcpd(8), dhcpd.conf(5), RFC2132, RFC2131.
AUTHOR dhclient(8) was written by Ted Lemon under a contract with Vixie Labs. Funding for this project was provided by Internet Systems Consor-
tium. Information about Internet Systems Consortium can be found at https://www.isc.org.
dhclient.leases(5)