For static IP situations, the Ubuntu Server Guide says to change the file /etc/network/interfaces, which may look like this:
https://help.ubuntu.com/14.04/serverguide/serverguide.pdf Page 38
iface eth0 inet static
address 192.168.3.3
netmask 255.255.255.0
gateway 192.168.3.1
dns-search example.com
dns-nameservers 192.168.3.45 192.168.8.10
You change the IPs 192.168.3.45 192.168.8.10 for the ones you want, like 8.8.8.8https://help.ubuntu.com/14.04/serverguide/serverguide.pdf Page 38
0 comentários:
Postar um comentário