I have debian server with a default DHCP. I change the IP of the system by using ifconfig as below:
/ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
It is getting the new static IP, but when reboot it will get back as dhcp and a new IP is assigned such as 192.168.1.100
I need to save the new IP in the system and stop the dhcp. how?