LinuxQuestions.org
Help answer threads with 0 replies.
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 05-28-2009, 05:28 AM   #1
daveginorge
Member
 
Registered: Oct 2006
Location: Porsgrunn, Norway
Distribution: CentOS 5 / 6 / 7
Posts: 107

Rep: Reputation: 16
Exclude NIC from DHCP Server


Hi All

I have a dhcp server with 1 wan NIC & 2 lan NICs and 2 subnets and all works well.

I would like to add a 3rd lan NIC on a new subnet but NOT have the dhcp server allocate addresses.

If I add the NIC but make no entries in the dhcpd.conf file for that subnet will the dchp server exclude it?

This subnet has it's own dhcp server (not in our control) but will be routed through the linux box.
 
Old 05-28-2009, 05:54 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I think that you should better specify in the dhcpd startup options the interfaces on which it should listen for requests, so it does not messes with the other dhcpd server, even though there is nothing in dhcpd.conf for that subnet.

Regards
 
Old 05-28-2009, 06:13 AM   #3
david1941
Member
 
Registered: May 2005
Location: St. Louis, MO
Distribution: CentOS7
Posts: 267

Rep: Reputation: 58
I have an interface that I want nothing done on and I just put an empty sebnet declaration in dhcpd.conf like this:
Code:
subnet xx.xxx.xx.40 netmask 255.255.255.248 { }  # Nothing to do here
and it ignores it.

Dave
 
  


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
Instead of Router DHCP Server, Pass DHCP Server control to Slackware orbit Slackware 6 05-11-2009 02:00 AM
How can i exclude an ip address from given range in dhcp server? saurabh_pandya4 Linux - Networking 4 03-05-2009 03:39 AM
Exclude a mac Address in Dhcp server alnmostafa Linux - Networking 3 12-30-2006 09:20 AM
How to exclude the arp requests of the monitoring NIC Bassam General 1 02-10-2004 12:29 PM
Urgent- How to exclude the arp rquests of the monitoring NIC Bassam Linux - Networking 3 02-09-2004 11:56 PM

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

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