Initial DHCP request from kernel boot or dhcp client

Posted on 2006-05-31
Last Modified: 2010-03-18
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?

Question by:glunz-jensen
    LVL 43

    Accepted Solution

    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.

    Author Comment

    Right, Thank you! - But I wonder if it gives sense to use the kernel DHCP option and not use a dhcp client?
    LVL 43

    Expert Comment

    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.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now