I have found only one discussion about my problem here, but not a solution.I have access to one Debian 7.8.0 amd64 virtual machine (under VMware) and its IP address is gained through DHCP, e.g., 192.168.0.90 (gateway 192.168.0.121).To obtain a static IP I configure /etc/network/interfaces like this:auto eth0iface eth0 inet static    address 192.168.0.10    netmask 255.255.255.0    gateway 192.168.0.121Then I run ifdown eth0 && ifup eth0 and everything works for hour or two (from ifconfig I see 192.168.0.10). After that time I see with ifconfig that my IP has changed automatically to 192.168.0.90 (the old one obtained from DHCP).Why is this happening?I tried to execute /etc/init.d/networking restart, but it says that It is deprecated because it may not enable some interfaces... and my eth0 goes away and does not show up in ifconfig anymore (I need to run ifup eth0 to bring it up again).Noone in the network is using x.x.x.10.
Static IP changes to dynamic automatically after time
debian;networking;ip;dhcp