Configurer Eth0 sur Ubuntu Server

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
auto eth0 # pour la lancer au démarrage
iface eth0 inet static # static = fixe, sinon dhcp
address 192.168.0.3 # l'ip de ton choix
network 192.168.0.0 # l'adresse du réseau
netmask 255.255.255.0 # le masque
broadcast 192.168.0.255 # le broadcast
gateway 192.168.0.254 # et enfin ta passerelle

Ensuite :

sudo /etc/init.d/networking restart

Pour  redémarrer le réseau.
Cette entrée a été publiée dans Debian, Linux, Ubuntu. Vous pouvez la mettre en favoris avec ce permalien.

Les commentaires sont fermés.