r/ProgrammerHumor • • 26d ago

Meme staticIpAddress

Post image
2.9k Upvotes

45 comments sorted by

View all comments

Show parent comment

1

u/TheAsteroid 26d ago

Client side request can become a guarantee if the requested IP is outside the DHCP pool. You know, just in case you can't set it on the router/DHCP server.

1

u/SneeKeeFahk 26d ago

I didn't know that, so if my pool is 100 - 200 and I request 205 as a static IP the DHCP spec will give it to me?

2

u/TheAsteroid 25d ago

I think it's more like DHCP doesn't know about it anymore. Your device just starts talking with that IP, and because no one else will ever be assigned that, it works fine.