LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2008, 09:30 AM   #1
don_wombat_73
Member
 
Registered: Sep 2005
Posts: 60

Rep: Reputation: 15
ISC DHCP Config File Assitance


I have ISC DHCP server running on a box and it is operating as expected. What I am trying to configure is to have multiple subnets with some mac reservations on these multiple subnets.

Here is my conf file:

option domain-name-servers 10.11.99.253, 10.11.101.253;
default-lease-time 86400;
max-lease-time 86400;
log-facility local7;
authoritative;
ddns-update-style none;

# I'm here to make sure 10.21.73.0/25 isn't dhcp enabled
subnet 10.21.73.128 netmask 255.255.255.128 {
}

# Permanent Leases - Old PPPOE Addresses
subnet 10.11.111.128 netmask 255.255.255.128 {
}

# DHCP Pool 10.21.88.0 255.255.248.0
subnet 10.21.88.0 netmask 255.255.248.0 {
option broadcast-address 10.21.95.255;
option subnet-mask 255.255.248.0;
option routers 10.21.95.254;
range 10.21.88.1 10.21.88.254;
range 10.21.89.1 10.21.89.254;
range 10.21.90.1 10.21.90.254;
range 10.21.91.1 10.21.91.254;
range 10.21.92.1 10.21.92.254;
range 10.21.93.1 10.21.93.254;
}
# test station
host cea3e {
hardware ethernet 00:06:b1:1c:ea:3e;
fixed-address 10.11.111.206;
}


10.21.73.0/25 is the network of the interface. 10.21.88.0 255.255.248.0 is a pool of addresses I want to use. 10.11.111.128 netmask 255.255.255.128 is a left over of some PPPoE addresses. I have a system that is using this server as a DHCP helper. The server should be configured so that it is not handing out addresses for the 10.21.73.0 subnet.

What I want to do is have the server handle regular DHCP from the 10.21.88.0 pool (working fine). If there is a mac reservation and it matches a mac of a known device, have it use a reservation from the 10.11.111.128 netmask 255.255.255.128 subnet. Even though I have the reservation stated in the config, my system with the above listed mac continues to get a pool address out of the 10.21.88.0 netmask 255.255.248.0 network.

My goal is to be able to have multiple networks and have mac reservations from multiple subnets.

Any assistance is appreciated! TIA!!
 
Old 10-13-2008, 11:35 AM   #2
don_wombat_73
Member
 
Registered: Sep 2005
Posts: 60

Original Poster
Rep: Reputation: 15
Made a little progress.... now my log tells me that there are no available leases for the 88.0 subnet.

Should I use classes?

Current Config:

option domain-name-servers 10.11.99.253, 10.11.101.253;
default-lease-time 86400;
max-lease-time 86400;
log-facility local7;
authoritative;
ddns-update-style none;

# I'm here to make sure 10.21.73.0/25 isn't dhcp enabled
subnet 10.21.73.128 netmask 255.255.255.128 {
}

# Permanent Leases - Old PPPOE Addresses
subnet 10.11.111.128 netmask 255.255.255.128 {
option broadcast-address 10.11.111.255;
option subnet-mask 255.255.255.128;
option routers 10.11.111.129;
deny unknown-clients;
# Desk
host desk.polarcomm.com {
hardware ethernet 00:0e:50:bd:f7:50;
fixed-address 10.11.111.240;
}
}


# DHCP Pool 10.21.88.0 255.255.248.0
subnet 10.21.88.0 netmask 255.255.248.0 {
option broadcast-address 10.21.95.255;
option subnet-mask 255.255.248.0;
option routers 10.21.95.254;
pool {
range 10.21.88.1 10.21.88.254;
range 10.21.89.1 10.21.89.254;
range 10.21.90.1 10.21.90.254;
range 10.21.91.1 10.21.91.254;
range 10.21.92.1 10.21.92.254;
range 10.21.93.1 10.21.93.254;
allow unknown-clients;
}
}
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ISC DHCP Server gsuresh_01 Linux - Server 0 01-02-2008 01:09 PM
Migrate DHCP from Microsoft to ISC DHCP on Linux rsmccain Linux - Networking 4 10-27-2006 07:47 PM
Isc Dhcp Server On Aix 5.2 rylaix AIX 0 09-08-2005 11:42 AM
ISC DHCP Server MAC Address dlucas10 Linux - Networking 1 05-25-2004 05:49 PM
Dhcp Isc Help x86br Linux - Networking 6 04-19-2003 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:15 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