• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

Initial DHCP request from kernel boot or dhcp client

Hi...
I am implementing DHCP capability on a Linux embedded platform. When I configure the kernel I can chose DHCP, wherby the Linux when booting makes a single DHCP request to get ip addresses etc. Then in order to renew the ip address lease a dhcp client must be started.

My urgent question is then if it is nessesary to configure the kernel for DHCP since the dhcp client will do the DHCP request at startup anyway?

0
glunz-jensen
Asked:
glunz-jensen
  • 2
1 Solution
 
ravenplCommented:
You right, usually kernel has nothing to do with DHCP, as the dhcp client does the thing - it's just the IP is obtained little(but really little) later.
0
 
glunz-jensenAuthor Commented:
Right, Thank you! - But I wonder if it gives sense to use the kernel DHCP option and not use a dhcp client?
0
 
ravenplCommented:
Well, if the lease is long enought to survive whole linux life cycle, then You don't have to install dhcp client to renew the lease.
If it's embeded system You may save some disk space(or You have to if it's diskless) - I don't see any other reason.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now