/ Archlinux 固定IP設定

Archlinux 固定IP設定

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

— posted by くま at 07:44 pm  

この記事に対するコメントはありません

<< 2018.4 >>
SMTWTFS
123 45 6 7
89 10 11 12 1314
15 161718 192021
2223 242526 27 28
2930      
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.0694 sec.