Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I have a DHCP server running on CentOS and for some reason it is assigning the highest number from the IP range as a first one? - range 192.168.1.20 ...
  1. #1
    HTF
    HTF is offline
    Just Joined!
    Join Date
    Feb 2011
    Posts
    14

    DHCP Server on CentOS

    Hello,

    I have a DHCP server running on CentOS and for some reason it is assigning the highest number from the IP range as a first one?
    - range 192.168.1.20 - 192.168.1.50 - so the first IP on my PC recived from this DHCP server was .50 - is it normal behaviour?

    Config file:

    ddns-update-style interim;
    ignore client-updates;

    subnet 192.168.1.0 netmask 255.255.255.0 {

    # --- default gateway
    option routers 192.168.1.1;
    option subnet-mask 255.255.255.0;

    # option nis-domain "domain.org";
    # option domain-name "domain.org";
    option domain-name-servers 192.168.1.10;

    option time-offset -18000; # Eastern Standard Time
    # option ntp-servers 192.168.1.1;
    # option netbios-name-servers 192.168.1.1;
    # --- Selects point-to-point node (default is hybrid). Don't change this unless
    # -- you understand Netbios very well
    # option netbios-node-type 2;

    # range dynamic-bootp 192.168.0.128 192.168.0.254;
    range 192.168.1.20 192.168.1.50;
    default-lease-time 21600;
    max-lease-time 43200;
    }

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Yes, this is normal.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

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