Network management

This article Article description::describes possibilities for managing the network stack. Gentoo provides several tools for bringing up networking interfaces and managing network connections. In addition, Gentoo provides tools for managing dialup modem connections and for managing wifi connections and network authentication.

Overview
After booting a Linux kernel, by default, all network interfaces are down, so something extra will be needed to be done to automatically bring them up, set static addresses, obtain dhcp leases on dynamic addresses, configure routes, DNS etc. These are the processes covered by the term "network management". netifrc or NetworkManager is usually used for this on Gentoo, or in simple situations just installing dhcpcd will suffice.

Other specific tools are used for network authentication, PPP connections, VPN connections etc.

Network management is often accomplished in Gentoo using netifrc (the net.* scripts described in the Gentoo Handbook). Also work is ongoing to provide a new networking stack as part of OpenRC. When using only static interfaces, it is possible to try this out by emerging OpenRC with the use flag and configuring  and.

Comparison of provided functionality
Gentoo provides several tools for managing the network stack. Some perform overall management, while others mainly perform specific subfunctions, but may also perform overall management.

Comparison of network managers
There are different solutions for overall management of network connections. The differences between them are as such: