Interface

ip address dhcp

Acquire the address via DHCP rather than hard-coding it.

Works on: RouterMode: iface
Run this command live

Don't just read it — type ip address dhcp in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "ip address dhcp" command do?

Acquire the address via DHCP rather than hard-coding it.

More Interface commands

← Back to the full command reference

ip address dhcp — network CLI command reference · NetForge-AI