netctlコマンドを使って設定する。
# cat /etc/netctl/enp1s0
Description='A basic static ethernet connection'
Interface=enp1s0
Connection=ethernet
IP=static
ONBOOT=yes
Address=('192.168.11.7/24')
Gateway='192.168.11.1'
DNS=('192.168.11.1')
# netctl enable enp1s0
# netctl start enp1s0
# systemctl enable netctl@enp1s0.service
# systemctl start netctl@enp1s0.service
Comments