Arch Linux network configuration

From GigaTux Wiki
Jump to navigation Jump to search

Arch Linux uses a unique network configuration mechanism.

You will need to create a new file /etc/netctl/static with details similar to the following:

Description='Static ethernet connection'
Interface=eth0
Connection=ethernet
IP=static
Address=('85.195.107.236/24')
Netmask=255.255.255.224
Gateway=85.195.107.225
DNS=85.195.107.225
## for DHCPv6
#IP6=dhcp
## for IPv6 autoconfiguration
#IP6=stateless

Then type netctl enable static and systemctl enable netctl.