Dhcp server sends lease time value which is bigger than configured.?

author

Hello,

I have setup with 3 nodes. server-------snooper--------client. I do some operations on snooper switch (eg: deleting vlan interface, disabling snooping, then adding back vlan interfaces, enable snooping etc). After the above steps, snooper started to receive a bigger value as lease time, which was greater than the configured value.

root@Node1/usr/sbin# cat /etc/dhcp/dhcpd.conf
subnet 30.30.30.0 netmask 255.255.255.0 {
        option subnet-mask 255.255.255.0;
        range 30.30.30.1 30.30.30.100;
        default-lease-time 40;
        max-lease-time 40;
        option domain-name "Domain1.com";
        option domain-name-servers 53.22.53.22;
        option bootfile-name "Bootfile1";
        option tftp-server-name "Tftpserver1";
        option host-name "abc";
}

Here the max lease time is 40 secs, But snooper gets 107 secs, 120 secs in the ACK packet. When I check the offer packet, lease time was always 40. Any idea, what might be happening here? How the operation done on snooper affecting the server?  I examined the packets which are send by server and also received by snooper switch. When I disabled snooping, this issue did not seen and snooper gets the lease value exactly as mentioned in /etc/dhcp/dhcpd.conf.

Thanking you

  • Total 0 Answer
  • 877
Can You answer this question?

Whoops, looks like something went wrong.

1/1 ErrorException in Filesystem.php line 111: file_put_contents(/var/www/html/storage/framework/sessions/RitEA2sD2BalqQUPYDKJJobbdTeqK0LZRjny3hwn): failed to open stream: No space left on device

  1. in Filesystem.php line 111
  2. at HandleExceptions->handleError(2, 'file_put_contents(/var/www/html/storage/framework/sessions/RitEA2sD2BalqQUPYDKJJobbdTeqK0LZRjny3hwn): failed to open stream: No space left on device', '/var/www/html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php', 111, array('path' => '/var/www/html/storage/framework/sessions/RitEA2sD2BalqQUPYDKJJobbdTeqK0LZRjny3hwn', 'contents' => 'a:4:{s:6:"_token";s:40:"ZfPMlpqaEWReOjhIzQvGnqHnIwGrGr5QJHbNSkzd";s:11:"viewed_urls";a:1:{i:0;s:66:"dhcp-server-sends-lease-time-value-which-is-bigger-than-configured";}s:9:"_previous";a:1:{s:3:"url";s:94:"http://www.networkbulls.com/dhcp-server-sends-lease-time-value-which-is-bigger-than-configured";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 'lock' => true))
  3. at file_put_contents('/var/www/html/storage/framework/sessions/RitEA2sD2BalqQUPYDKJJobbdTeqK0LZRjny3hwn', 'a:4:{s:6:"_token";s:40:"ZfPMlpqaEWReOjhIzQvGnqHnIwGrGr5QJHbNSkzd";s:11:"viewed_urls";a:1:{i:0;s:66:"dhcp-server-sends-lease-time-value-which-is-bigger-than-configured";}s:9:"_previous";a:1:{s:3:"url";s:94:"http://www.networkbulls.com/dhcp-server-sends-lease-time-value-which-is-bigger-than-configured";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', 2) in Filesystem.php line 111
  4. at Filesystem->put('/var/www/html/storage/framework/sessions/RitEA2sD2BalqQUPYDKJJobbdTeqK0LZRjny3hwn', 'a:4:{s:6:"_token";s:40:"ZfPMlpqaEWReOjhIzQvGnqHnIwGrGr5QJHbNSkzd";s:11:"viewed_urls";a:1:{i:0;s:66:"dhcp-server-sends-lease-time-value-which-is-bigger-than-configured";}s:9:"_previous";a:1:{s:3:"url";s:94:"http://www.networkbulls.com/dhcp-server-sends-lease-time-value-which-is-bigger-than-configured";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}', true) in FileSessionHandler.php line 83
  5. at FileSessionHandler->write('RitEA2sD2BalqQUPYDKJJobbdTeqK0LZRjny3hwn', 'a:4:{s:6:"_token";s:40:"ZfPMlpqaEWReOjhIzQvGnqHnIwGrGr5QJHbNSkzd";s:11:"viewed_urls";a:1:{i:0;s:66:"dhcp-server-sends-lease-time-value-which-is-bigger-than-configured";}s:9:"_previous";a:1:{s:3:"url";s:94:"http://www.networkbulls.com/dhcp-server-sends-lease-time-value-which-is-bigger-than-configured";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}') in Store.php line 128
  6. at Store->save() in StartSession.php line 88
  7. at StartSession->terminate(object(Request), object(Response)) in Kernel.php line 216
  8. at Kernel->terminateMiddleware(object(Request), object(Response)) in Kernel.php line 187
  9. at Kernel->terminate(object(Request), object(Response)) in index.php line 58
  10. at require_once('/var/www/html/public/index.php') in index.php line 20