Set a static IP Address on Debian base distributions
Source : https://wiki.debian.org/NetworkConfiguration
Edit network interfaces configuration file (as Super User) :
nano /etc/network/interfaces
Change configuration file to look like this :
auto eth0
iface eth0 inet static
address 192.0.2.7
netmask 255.255.255.0
gateway 192.0.2.254
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.