J'utilise Ubuntu 12.04.
Mon /etc/network/interfaces
Le dossier est composé de :
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.58
gateway 192.168.1.1
network 192.168.1.0
broadcast 192.168.1.255
dns-nameservers 66.212.63.228 66.212.48.10
J'ai lancé la commande : /etc/init.d/networking restart
Qui a répondu par :
*Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
*Reconfiguring network interfaces...
RTNETLINK answers: File exists
Failed to bring up eth0
[ OK ]
Ensuite j'ai lancé ping google.com et j'ai reçu :
ping: unknown host google.com
Je ne suis pas sûr que mes interfaces se soient rafraîchies. Comment puis-je configurer correctement mon réseau avec mes adresses DNS statiques ?