change network to static ip
by
Wyden Silvan
—
last modified
26.11.2009 16:14
#open the file /etc/networking/interfaces
Find and remove dhcp entry:
iface eth0 inet dhcp
Append new network settings:
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
dns-nameservers 172.17.0.10
