Network(5) - SerenityOS man pages

Name

NetworkServer - network configuration

Synopsis

/etc/Network.ini

Description

The Network configuration is loaded by NetworkServer service on startup. It consists of a list of interfaces, with adapter names as groups.

The interface that is not listed in this config file is not set up and disabled by default.

Options

Example

# Set static IP address to 10.0.0.5/8 and default gateway to 10.0.0.1
[ep1s0]
IPv4Address=10.0.0.5
IPv4Netmask=255.0.0.0
IPv4Gateway=10.0.0.1

# Try to run DHCP discovery on ep0s8.
[ep0s8]
DHCP=true

# Disable interface ep1s1 entirely. It is equivalent to not adding this entry at all.
[ep1s1]
Enabled=false