LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2006, 09:01 AM   #1
Court-Jester
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 5
Posts: 7

Rep: Reputation: 0
can linux dhcp do reservations?


I am just wondering if its possible that linux (fedora core 5) dhcp server could do reservations? if so how does one go about setting it up ?
 
Old 10-12-2006, 03:32 AM   #2
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
first of all

1.) install the dhcpd service
2.) edit the dhcpd.conf like:

option routers xx.xx.xx.xx;
option netbios-name-servers xx.xx.xx.xx;
option netbios-dd-server xx.xx.xx.xx;
option netbios-node-type 8;
option ntp-servers xx.xx.xx.xx;


subnet 10.0.0.0 netmask 255.0.0.0 {
default-lease-time 432000;
max-lease-time 604800;

pool {
deny dynamic bootp clients;
range 10.40.40.1 10.40.40.254;
filename "pxelinux.0";

}
}

ddns-update-style ad-hoc;

3.) If you want to fix a host use:

host hostname {
hardware ethernet MAC-address;
fixed-address ip-address; }
 
Old 10-12-2006, 12:52 PM   #3
Court-Jester
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 5
Posts: 7

Original Poster
Rep: Reputation: 0
thanks very much
 
  


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
Zoom modem/switch & linux<->linux network: DHCP / Static ? tredegar Linux - Networking 8 11-11-2007 03:41 AM
How To know if a host configured with DHCP has obtained IP address from DHCP server? Prassanta SUSE / openSUSE 1 06-29-2006 09:48 AM
eth0 ip assigned by dhcp , how would i know the ip address of the dhcp server where.. kublador Linux - Networking 14 05-16-2006 06:33 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:18 AM.

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