lunes, 23 de diciembre de 2013

Configurar una ip estática

fuente: http://unbrutocondebian.blogspot.com.es/2011/10/configurar-una-ip-estatica-en-mi-red.html

mil gracias, este es otro de los que necesito y no me acuerdo nunca.

edite el /etc/network/interfaces para que me quedara de esta manera:
# This file describes the network interfaces available on your system
# 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
auto eth1

iface eth1 inet static

address 192.168.1.120 << ESTA ES LA IP QUE YO QUERIA FIJAR
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1 

 Finalmente reinicie el servicio, parándolo y volviéndolo a levantar con:
  • ifdown eth1
  • ifup eth1

No hay comentarios:

Publicar un comentario