Ob die Netzwerkkarte über DHCP oder statisch mit einer IP versorgt wird, regelt man in folgender Konfigurationsdatei:

/etc/conf.d/net

Unten sieht man eine Beispielkonfiguration für DHCP und statische Adressen.

# Für DHCP
config_eth0=( "dhcp" )

# Für statische IP-Adresse mit CIDR Notation
config_eth0=( "192.168.0.7/24" )
routes_eth0=( "default via 192.168.0.1" )

# Für statische IP-Adresse mit netmask Notation
config_eth0=( "192.168.0.7 netmask 255.255.255.0" )
routes_eth0=( "default via 192.168.0.1" )