DHCP reservation is better than static address.
I like knowing a permanent address for the printer, so that I can get into it with a browser and check what is going on when a user has a problem.
A DHCP reservation will effectively make it a static IP. It just will get that IP from the DHCP server.
But I agree that the OP’s solution isn’t ideal. But if he needs to print now, I can see doing that and having IT sort it out later.
This.
And this.
If it stops seeing the server, as in a power failure, it will lease another IP.
But yes, to print right then, that was best for the user.
That’s not how DHCP reservations and leases work.
That’s the way they seem to here. How do leases work, manson1972? I thought the server had a table of issued addresses, and freed one if it hadn’t seen the device for a time.
I think carnivorousplant missed the reservation piece…
Additionally, having the printer grab a dhcp address without talking to IT isn’t the best idea. Who knows, maybe the setup has multiple vlans and the PC vlan gets DHCP while the printer vlan is static (Which is why you should never plug anything into a port without talking to the IT guy first. At the same time, the IT guy ought to have unused ports disabled.)
Slee
Who, on the opening night of a casino had a user unplug a PC and plug in a ‘switch’ so he could install his own (brought from home) printer. Of course, the switch was actually a router that took over DHCP functions and brought down about half the casino floor. We had port-security enabled on the port to allow two macs but that wasn’t enough…
If there is a reservation defined for a MAC address, then it will never free that IP for use by other MAC addresses.
Oh yes, good point.
Not if you have a reservation for the device. If you have a device get a DHCP address, you can go to the server and have it make the lease a reservation where, when the DHCP server sees the same device it gives out the same IP. It looks at the mac address. It will only give out that dhcp address to the device with that mac. The ip is static in that the DHCP server won’t give it out to any other device but the IP is not hard coded to the device.
Slee
A bit too slow I see
Pardon?
He’s saying he was ninjaed by manson1972. He’s not calling you slow.
I was slow in figuring that out. ![]()