I am using debian squeeze, and I want to have a static ip configuration on the computer in question. Here is my /etc/network/interfaces :
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.10
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
dns-nameservers 192.168.1.1
I have a DHCP server in this network, but I don't want to use it for this computer. However, sometimes I see that the ip address was altered to something offered by the DHCP server. How can I keep my ip address really static?