2 - vi /etc/network/interfaces
3 - 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.1
dns-nameservers 8.8.8.8
dns-nameservers 8.8.8.8
4 - save and exit
5 - service networking restart
No comments:
Post a Comment