DEV Community

Cover image for DHCP

DHCP

Gabriel Guzman on May 23, 2018

Once upon a time, if you wanted to connect to the internet (or even to your local network) you needed to edit a bunch of files, ask your system or ...
Collapse
 
computersmiths profile image
ComputerSmiths

DHCP servers: There Can Be Only One. Some of the problems caused by misconfigured systems can be a real nightmare. If you turn on the DHCP server in your laptop, you will probably have all traffic from ‘your’ clients routed through your laptop, until you turn your laptop off and then those clients will stop working. I run a nightly script on one of the networks I maintain to detect just this issue.

Collapse
 
gabeguz profile image
Gabriel Guzman • Edited

Yes! I've lived this before, it's interesting to see how fragile the network infrastructure we rely on daily is. There's no one stopping you (except for a competent network admin) from plugging in a DHCP server and handing out addresses on your local network. This is mostly true of the greater Internet as well, we rely heavily on people being good neighbours and not doing silly things.

I remember having to track down a network issue once when I worked as a network admin on my university campus: For some reason, the network on one floor of a dorm went down, it took us way to long to figure out that someone had just plugged an ethernet cable into the wall, the only problem was the other end of that cable was also plugged into the wall. Our switch did not like that (: We eventually got smarter switches, but it was eye-opening to see how easy it was to disrupt service for a whole floor of students.

Collapse
 
computersmiths profile image
ComputerSmiths

Ah, yes, broadcast storms. Look up SONOS Blacklist sometime, what a nightmare.

Collapse
 
juliavii profile image
juliavii

This was the best explanation of the communication between computer and dhcp client I saw. It's OK computer, I yell sometimes too.
Maybe you can make an article about NAT because I am tired of problems, and trying explaining the concept for people I work, most developers (or the firewall guys. They had one job!). Much Thanks!

Collapse
 
gabrielfellone profile image
Gabriel Fellone

Great post!
Thank you Gabriel

:)

Collapse
 
joruch profile image
Joris

Don't you just hate it when your computer starts yelling... Good article!