Debian from DHCP to Static

        

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

iface eth0 inet dhcp

to:

iface eth0 inet static<br /> address 10.10.10.2<br /> netmask 255.255.255.0<br /> network 10.10.10.0<br /> broadcast 10.10.10.255<br /> gateway 10.10.10.1

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