LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-16-2008, 05:31 AM   #1
soumalya
Member
 
Registered: Nov 2006
Posts: 260

Rep: Reputation: 31
dhcp server configuration


Sir

in windows 2003 i can use excluding ip range if i want to give few machine to have static ip suppose 192.168.1.20 to 192.168.1.100.

in linux i have to know the mac address of all this machine and write in the script each mac address and ip address if i exclude these machine form dhcp.

is there any other way to write the excluding range same as windiws without having mac address in linux.

thanks in advance.
 
Old 06-16-2008, 08:01 AM   #2
kyawlinnyein
LQ Newbie
 
Registered: Jun 2008
Posts: 7

Rep: Reputation: 0
Arrow

Quote:
Originally Posted by soumalya View Post
Sir

in windows 2003 i can use excluding ip range if i want to give few machine to have static ip suppose 192.168.1.20 to 192.168.1.100.

in linux i have to know the mac address of all this machine and write in the script each mac address and ip address if i exclude these machine form dhcp.

is there any other way to write the excluding range same as windiws without having mac address in linux.

thanks in advance.
MY configuration for DHCP SERVER (FEDORA-8)
dhcpd.conf
#/etc/dhcpd.conf

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

default-lease-time 72000;
max-lease-time 86400;
option subnet-mask 255.255.255.128;
option routers 192.168.1.*;
option domain-name-servers 192.168.1.*;
option domain-name "your-desire.com";

subnet 192.168.1.0 netmask 255.255.255.128 {
range 192.168.1.10 192.168.1.100;
}


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


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
DHCP server configuration shishirkotkar Linux - Networking 1 09-20-2007 01:56 PM
GUI for DHCP Server Configuration? Hewson Linux - Networking 2 06-22-2007 11:29 AM
DHCP client and server configuration trovatou Linux - Server 7 05-24-2007 04:42 AM
Fedora Noob, DHCP Server Configuration - Help! plz :( Linuxfrog Linux - Networking 3 10-22-2006 01:06 PM
dhcp server configuration spank Linux - Networking 7 08-12-2006 03:46 AM

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

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