security question

Status
Not open for further replies.
My institution has a somewhat odd security stance (in my opinion) on ARP and DHCP. I thought someone could chime in on if this is a standard practice.

Our network is setup requiring MAC registration to get a machine online. Thats fine. In addition, the machine must use DHCP, or it will not be allowed to connect to the network. This applies to all machines even servers. I can and have setup reservations in DHCP to cover these servers. But I have always been of the mind that servers should be hard coded with their network info. Last semester a co-worker had their servers become in-operative after DHCP went down and the servers couldn't renew their lease.

Am I wrong in thinking this is a bad thing?
 

Frennzy

Ars Legatus Legionis
85,841
. I can and have setup reservations in DHCP to cover these servers. But I have always been of the mind that servers should be hard coded with their network info

Why?

Last semester a co-worker had their servers become in-operative after DHCP went down and the servers couldn't renew their lease.

Then there is something wrong with their setup. Under DHCP, any host will renew it's lease halfway through the expiry period. If it can't reach a server, it will try again 3/4 of the way through. Then 7/8. Etc. It is trivial to provide HA DHCP, so barring some massive failure, if your settings are tuned properly, it should never be an issue.

The only devices that really, really *need* static IPs are network devices, and not even all of those. Mostly anything participating in dynamic routing. You don't want to cause convergence events should IPs start changing for whatever reason.

The next question to ask yourself is "What do I *gain* from DHCP on servers?"

The answer is the same as for hosts...in the event you need to make large scale changes (say you merge with another company and have to re-IP, or you want to broadcast a new gateway address, for example). With DHCP, this becomes a bit of planning, a little testing, and then you just let it roll out. You don't have to visit every single machine. With DDNS, this becomes even easier.

In other words, while this conventional wisdom persists, it has little basis in reality nowdays. (there will always be exceptions, of course...but why not make your life as simple as possible?)
 

ab421

Seniorius Lurkius
38
Last semester a co-worker had their servers become in-operative after DHCP went down and the servers couldn't renew their lease.

Then there is something wrong with their setup. Under DHCP, any host will renew it's lease halfway through the expiry period. If it can't reach a server, it will try again 3/4 of the way through. Then 7/8. Etc. It is trivial to provide HA DHCP, so barring some massive failure, if your settings are tuned properly, it should never be an issue.

When I considered this the problem we encountered was what happens at boot. If DHCP wasn't available then some servers (I don't recall which OS) didn't continue with their previous lease but just gave up.
That had me worried about a scenario where several servers reboot simultaneously and the DHCP server doesn't come up, or comes up late.

We could probably have come up with a fix but it was enough to persuade us to stick with static IPs for everything.
 
[url=http:/civis/viewtopic.php?p=26206647#p26206647:3qntgr1z said:
TechGeek[/url]":3qntgr1z]Our network is setup requiring MAC registration to get a machine online.

This is a pointless waste of time. It's a giant pain in the ass to keep a MAC database updated, and it's trivial to spoof a MAC address. Use 802.1x if you really want to keep unregistered machines off the network.
 
Thanks for the replies. The DHCP outage happened during Thanksgiving break and for some reason there was no HA, or it was also taken down. Most of the problem I have in my organization is the lack of documentation. I am a SA on the academic/research side. Most of our ITS for the campus is under the CFO and acts like we are just like any business. Its hard getting them to accept that academia != business environment. It causes a lot of problems on both sides....
 

Nilt

Ars Legatus Legionis
22,043
Subscriptor++
[url=http:/civis/viewtopic.php?p=26210957#p26210957:323juiww said:
twdog[/url]":323juiww]
[url=http:/civis/viewtopic.php?p=26206647#p26206647:323juiww said:
TechGeek[/url]":323juiww]Our network is setup requiring MAC registration to get a machine online.

This is a pointless waste of time. It's a giant pain in the ass to keep a MAC database updated, and it's trivial to spoof a MAC address. Use 802.1x if you really want to keep unregistered machines off the network.
++
 

ab421

Seniorius Lurkius
38
This is a pointless waste of time. It's a giant pain in the ass to keep a MAC database updated, and it's trivial to spoof a MAC address. Use 802.1x if you really want to keep unregistered machines off the network.

We do basic MAC filtering for all our desktops and I've found it surprisingly straightforward to keep everything up to date. We already need to know the MACs for DHCP and the switch ports so that they're cabled up. Cross referencing the two has been quite easy.
It's true that they're easily spoofed, but it still protects us against users casually plugging in their laptop and it was a nice protection when an access point was accidentally plugged into the wrong port.

But yes, if this is specifically coming in as a security requirement then 802.1x is the right answer.
 
Status
Not open for further replies.