LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-18-2009, 03:39 AM   #1
Imranteli
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Rep: Reputation: 0
exclude ip range


I have a dhcp server with two nics.
I want to dedicate range of 192.168.10.10 to 192.168.10.50 on eth0 and 10.0.0.1 to 10.0.0.50 on eth1. What should i need to edit in dhcpd.conf so that eth0 should give ip from 192.168.10.10 and eth1 should give ip from 10.0.0.1.
I also want to exclude ip range of 192.168.10.15 to 192.168.10.25 from eth0.its a project work.Do i need to do any changes in client machine
Please help

Last edited by Imranteli; 08-18-2009 at 03:42 AM.
 
Old 08-19-2009, 12:15 PM   #2
kapilsingh
LQ Newbie
 
Registered: Apr 2009
Location: Indore, India
Distribution: ubuntu, centOS,RHEL,Mandriva
Posts: 10

Rep: Reputation: 0
Specify your Ip range in this manner :

In the subnet section:
specify your ip range something like this :

Ex :
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.14 ;
range 192.168.1.26 192.168.1.50 ;
}
 
Old 08-20-2009, 10:31 PM   #3
Imranteli
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you i tried it and reallyy worked.
 
  


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
CVS Exclude : Exclude sub directories from check out On Linux from command line shajay12 Linux - Newbie 1 08-03-2009 12:36 AM
[SOLVED] What are short range link and long range links in routing? mq15 Linux - Networking 6 06-26-2009 11:16 PM
How can i exclude an ip address from given range in dhcp server? saurabh_pandya4 Linux - Networking 4 03-05-2009 03:39 AM
du exclude pvracko Linux - General 9 08-14-2008 03:01 AM
tar --exclude --exclude-from cefn Linux - Software 4 10-11-2005 07:31 PM

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

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