复制netctl示例文件并编辑
cp /etc/netctl/examples/ethernet-static /etc/netctl/
#修改为自己需要的ip
*需注意address后面需要跟掩码24,Address=('10.207.27.253/24')
启用服务并重启系统
netctl enable ethernet-static
reboot
cp /etc/netctl/examples/ethernet-static /etc/netctl/
#修改为自己需要的ip
*需注意address后面需要跟掩码24,Address=('10.207.27.253/24')
netctl enable ethernet-static
reboot
Copyright © 2016 yjiang's cake