Linux – Kernel level IP configuration not working in Linux kernel

kernellinux

I have enabled kernel level IP configuration in my linux kernel and compiled it, but it does not try get any DHCP address. Why?

Is there something extra or special I have to do?

Best Answer

Make sure:

  • the kernel has loaded the drivers for your NIC
  • DHCP is enabled for IP autoconfiguration

Then add ip=dhcp to the kernel command line and you're good to go.

Related Topic