LinuxQuestions.org
Visit Jeremy's Blog.
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, 04: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 04:42 AM.
 
Old 08-19-2009, 01: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, 11: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


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

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

All times are GMT -5. The time now is 07:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration