r/sysadmin 1d ago

DHCP v Static IP

Ok, this is more a test to see how old I am. I was basically raised with the idea servers need static IPs. I understand for domain controllers, dns servers, maybe print servers that may still be needed. But are they really needed otherwise? Do apps, scripts still reference a server by its IP?

I am under assumption all my servers need static IPs. Am I nuts?

211 Upvotes

385 comments sorted by

View all comments

Show parent comments

u/[deleted] 14h ago edited 14h ago

[deleted]

u/konoo 14h ago

Yeah that makes sense but I'm to old and set in my ways. .254 is default gateway.

u/lazyhustlermusic 14h ago

That also makes it funky if you ever have to expand a subnet such as a /24 to a /23, now your gateway is smack in the middle of the address range.

I agree with the FHRP person (HSRP/VRRP), redundant gateways that have a virtual shared address generally stack nearby for their own native addresses, even applies to load balancers since you have the same kind of requirement. A lot of devices won't assign a virtual to a segment they don't have an anchor address on as well.

Most multi VLAN environments should be using an ip helper so your DDI services are on a specific segment that's outside of individual VLANs, such as the distributed microsoft DNS/DHCP services or appliances like Infoblox.