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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-06-2016, 07:43 AM
|
#1
|
Member
Registered: Nov 2015
Posts: 397
Rep: 
|
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.
|
|
|
11-06-2016, 11:31 AM
|
#2
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
> 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.
|
|
|
11-06-2016, 11:47 AM
|
#3
|
Member
Registered: Nov 2015
Posts: 397
Original Poster
Rep: 
|
Quote:
Originally Posted by AlucardZero
> 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.
|
|
|
11-06-2016, 02:32 PM
|
#4
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
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.
|
|
|
11-06-2016, 02:36 PM
|
#5
|
Member
Registered: Nov 2015
Posts: 397
Original Poster
Rep: 
|
Thanks.
I wonder what else could built-in DHCP server cause.
|
|
|
11-07-2016, 06:55 AM
|
#6
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,140
|
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.
|
All times are GMT -5. The time now is 08:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|