# nano /etc/network/interfacesHere is what my file looks like
This file describes the network interfaces available on your systemOnce it's done, it's time to configure your DNS servers with this command:
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.10.10.200
netmask 255.255.255.0
gateway 10.10.10.1
network 10.10.10.0
broadcast 10.10.10.255
# nano /etc/resolv.conf
An example of what the file could look like using Google's DNS:
nameserver 8.8.8.8To apply the changes, fire up this command:
nameserver 8.8.4.4
# /etc/init.d/networking restart
No comments:
Post a Comment