LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-03-2011, 04:28 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Rep: Reputation: 34
DHCP assign address start from the last ip in the range


Hi, just a question!

I am using DHCP 3.05 and the every thing works ok other than the assignment is in descending order. Is this the behavior or that I am doing something wrong?

Best Regards
 
Old 10-03-2011, 01:38 PM   #2
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298

Rep: Reputation: 99
procfs,

can you post your DHCP config here?
 
Old 10-12-2011, 06:12 AM   #3
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 651

Original Poster
Rep: Reputation: 34
Hi my configuration file is as below

deny duplicates;
ignore declines;
one-lease-per-client false;
log-facility local7;
authoritative;
allow booting;
allow bootp;



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

subnet 10.30.0.0 netmask 255.255.0.0 {

# --- default gateway
option routers 172.16.0.1;
option subnet-mask 255.255.0.0;

#option nis-domain "my.maxnet.iq";
#option domain-name "mos.com";
option domain-name-servers 85.90.229.188,8.8.8.8;
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 10.30.0.10 10.30.0.110;
default-lease-time 21600;
max-lease-time 43200;

# we want the nameserver to appear at a fixed address
#host ns {
#next-server marvin.redhat.com;
#hardware ethernet 12:34:56:78:AB:CD;
#fixed-address 207.175.42.254;
#}

}


Thanks and Best REgards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to assign IP address or renew DHCP ip from kernel module? drost Programming 3 05-16-2010 08:59 PM
How do I assign a static IP address to a DHCP server? Cyberman Linux - Networking 6 01-29-2010 03:47 PM
Cannot Assign an IP address in my LAN IP range amilauduwerella Linux - Hardware 8 05-21-2009 11:42 PM
DHCP Assign ip to specific MAC address gfem Linux - Networking 2 08-02-2007 02:58 PM
how to assign dhcp address? hank43 Linux - Networking 1 09-10-2006 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration