networking.service
Configuring static ip on Debian based Linux distributions (Ubuntu, Kali, Raspberry Pi OS, etc.)
General configuration
auto <iface>
iface <iface> inet static
address xxx.xxx.xx.xxx
netmask xxx.xxx.xx.xxx
gateway xxx.xxx.xx.xxx
broadcast xxx.xxx.xx.xxx
# Optional: not needed for a basic static ip address configuration
dns-nameservers <nameserver-address>Troubleshooting
Last updated