Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
DHCPD problem.
Results 1 to 3 of 3

Thread: DHCPD problem.

  1. #1
    CK
    Guest

    DHCPD problem.

    Hi All,

    I've set up a DHCP Daemon with failover.
    Everything is working fine, except that the server is leasing IPs with a 10 minutes expiration time.

    My config in both primary and secondary servers has:
    default-lease-time 604800;
    max-lease-time 846000;

    Any clues?
    TKS!

  2. #2

    Re:DHCPD problem.

    Can you post a copy of your /etc/dhcpd.conf ?
    Its better to regret something you have done than to regret something you havent done :P

  3. #3

    Re:DHCPD problem.

    No well mine looks like this and works well - i have 3 interfaces eth0 eth1 and eth2
    192.168.0.0 - eth0
    192.168.1.0 -eth1
    192.168.2.0-eth2

    ddns-update-style interim;
    subnet 192.168.0.0 netmask 255.255.255.0 {
    option routers 192.168.0.1;
    option subnet-mask 255.255.255.0;
    option domain-name "beer.hic";
    option domain-name-servers 203.220.6.130, 139.130.4.4;
    range 192.168.0.4 192.168.0.200;
    }

    subnet 192.168.1.0 netmask 255.255.255.0 {
    option routers 192.168.1.1;
    option subnet-mask 255.255.255.0;
    option domain-name "beer.hic";
    option domain-name-servers 203.220.6.130, 139.130.4.4;
    range 192.168.1.4 192.168.1.200;
    }

    subnet 192.168.2.0 netmask 255.255.255.0{
    option routers 192.168.2.1;
    option subnet-mask 255.255.255.0;
    option domain-name "beer.hic";
    option domain-name-servers 203.220.6.130, 139.130.4.4;
    range 192.168.2.4 192.168.2.200;


    hope it helps
    why are you specifying a lease time anyway?
    is it essential?
    Its better to regret something you have done than to regret something you havent done :P

Similar Threads

  1. dhcpd fails to start
    By JoeW in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 06-01-2012, 10:27 PM
  2. dhcpd unable to serve multiple subnets
    By licause in forum Linux - Hardware, Networking & Security
    Replies: 10
    Last Post: 06-09-2009, 06:50 AM
  3. starting dhcpd: failed
    By lynntwin in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 03-25-2008, 01:28 AM
  4. Getting madwifi, wpa_supplicant and dhcpd to run at boot time
    By JoeyJoeJoe in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 07-25-2007, 02:34 AM
  5. dhcpd
    By friskydrifter in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 11-24-2002, 09:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •