Debian from DHCP to Static


All you have to do is edit /etc/network/interfaces and change:

iface eth0 inet dhcp


iface eth0 inet static<br /> address<br /> netmask<br /> network<br /> broadcast<br /> gateway

Of course it is possible to uninstall dhclient, but I wouldn’t advise it because it can be useful in the future.

comments powered by Disqus