LinuxQuestions.org
Review your favorite Linux distribution.
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 11-06-2016, 07:43 AM   #1
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Rep: Reputation: Disabled
DHCP


I came across this:

https://kb.iu.edu/d/adov

Excerpts at bottom page, "Note":
Quote:
At Indiana University, UITS prohibits individuals and departments from setting up local DHCP servers on the IU network. Almost all wireless access points, many wired Ethernet routers, and computers running Internet Connection Sharing have built-in DHCP servers. While this makes configuration of a small network easier, it can cause problems when the DHCP servers are used in larger networks. Client computers configured to use DHCP for IP assignment do not need statically assigned IP addresses. In addition, they generally do not need to have addresses configured for DNS servers or WINS servers, as these are also set by the DHCP server. For more, see What are the DHCP operational policies at IU?
For the underlined sentence above, what problems can a
built-in DHCP server cause when used in a large network?


On CentOS7:
Quote:
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search Home
"nameserver 127.0.1.1" would mean DNS is 127.0.1.1, correct?
If so, why is DNS on local host?

Last edited by fanoflq; 11-06-2016 at 07:54 AM.
 
Old 11-06-2016, 11:31 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
> what problems can a built-in DHCP server cause when used in a large network?
A rogue DHCP server will cause problems such as another device's network not working at all.

> If so, why is DNS on local host?
A local DNS server that is forwarding requests, such as dsnmasq or bind, is in use, likely for caching.
 
Old 11-06-2016, 11:47 AM   #3
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AlucardZero View Post
> what problems can a built-in DHCP server cause when used in a large network?
A rogue DHCP server will cause problems such as another device's network not working at all.
Can you be more specific?
Thank you.
 
Old 11-06-2016, 02:32 PM   #4
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
If a device gets an IP from the rogue DHCP server instead of the properly configured site DHCP server, it's quite likely that the device won't be able to get to the Internet.
 
Old 11-06-2016, 02:36 PM   #5
fanoflq
Member
 
Registered: Nov 2015
Posts: 397

Original Poster
Rep: Reputation: Disabled
Thanks.

I wonder what else could built-in DHCP server cause.
 
Old 11-07-2016, 06:55 AM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
It's really much the same thing that will happen if a "second" DHCP server is running anywhere, even in your own home or office network.

The problem is, simply, that when any newly-powered-on computer broadcasts, asking for an IP-address that it can use, it needs to hear from only one DHCP server, and from it receive the correct answer.

If more-than-one computer might "answer," it's unpredictable which one the new computer will hear from first, since that's the only reply that it will react to. If the answer comes from a computer that doesn't have the right answer ... that doesn't have a complete and accurate list of addresses that have been assigned and to whom they have been assigned ... very-unpredictable outcomes may occur including IP-address conflicts.

The University's policy is quite ordinary, and quite necessary for any (and every) TCP/IP subnet that offers DHCP.
 
1 members found this post helpful.
  


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
Two DHCP ranges in one DHCP server using one NIC on a MPLS network - centos6 6.3 x64 pablobhz Linux - Newbie 7 03-04-2013 04:22 PM
Baffling DNS from a DHCP server problem. Appears to be ignoring dhcp.conf royce2020 Linux - Networking 1 02-16-2010 12:40 PM
Linux DHCP client unsuccessful on a windows DHCP served network tom1080 Linux - Newbie 1 12-16-2009 11:37 AM
DHCP on CentOS 4.7 - /var/lib/dhcp/dhcpd.leases: Permission denied Latitude Linux - Networking 1 06-05-2009 02:08 AM
Dhcp failed with error (Pump Told us : no dhcp reply recived.) alok.rhct Linux - Networking 3 03-24-2007 07:28 AM

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

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