Dhcpcd

Dynamic Host Configuration Protocol Client Daemon (DHCPCD) is a popular DHCP client for Gentoo Linux users. DHCPCD offers a large feature set and easily integrates into OpenRC.

Emerge
Use the following command to install dhcpcd:

Configuration
All its configuration goes into but for most installations nothing needs to be done there, presumed that most computers nowadays are behind a router or access point providing DHCP. Though man 5 dhcpcd.conf will be helpful in case of advanced configuration demand.

Static IP address
In case the network interface card should be configured with a static IP address, add their data to. The following is an example of manually adding a static address, routes and DNS by editing the appropriate configuration file using a text editor of choice: