Flaxplax

Personal documentation

Static Ip

Set static ip

vim /etc/dhcpcd.conf

interface eth0
static ip_address=192.168.1.10/24
static routers=192.168.1.1
static domain_name_server=8.8.8.8 8.8.4.4

Enable and start the service

systemctl enable --now dhcpcd
Last updated on 5 Feb 2022
Published on 5 Feb 2022