Configure static IP Debian Linux

The purpose of this small message is to show how you can configure a static IP address in Debian Linux. I know that other sites have more detailed explanations on this (and the man page too), but I put it here mostly as a reminder to myself.

Add the following content in /etc/networking/interfaces to configure a static IP in Debian Linux:

iface eth0 inet static
        address 192.168.11.30
        gateway 192.168.11.2
        netmask 255.255.255.0
        broadcast 192.168.11.255
        network 192.168.11.0

Tags: 

Share