DHCP *AND* static address on the same interface?

Hello everyone,

Just wondering if it is possible to have a dhcp assigned ip address and a static ip address on the same (ethernet) interface?

Thanks in advance, Mike.

Sure it is.

:wink: thanks for that response. I am sure it is correct, but I guess I should have worded my original question a little differently:

“How can I set up an interface so that it receives a DHCP address AND allow me to assign a static address as well.”

Regards, Mike.

Setup the DHCP client to pull down its address as usual. Then go into /ip address add and put whatever static ip you wish. They can both co-exist, you’ll simply see a ‘D’ next to the ip entry that came in dynamically. If you need you can setup the static with a /32.

Sam