This enables automatic configuration of IP addresses of devices and
of the routing table during kernel boot, based on either information
supplied on the kernel command line or by BOOTP or RARP protocols.
So it can't be used with plain DHCP
For using with DHCP you need additional option.
Make sure:
Then add ip=dhcp to the kernel command line and you're good to go.
From KConfig
CONFIG_IP_PNP:
This enables automatic configuration of IP addresses of devices and of the routing table during kernel boot, based on either information supplied on the kernel command line or by BOOTP or RARP protocols.
So it can't be used with plain DHCPFor using with DHCP you need additional option.