9/5/2017 - 5:09 PM

Red en Debian 9

Red en Debian 9

# Instalar herramientas de red en debian9
apt-get install net-tools
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
	# dns-* options are implemented by the resolvconf package, if installed
# Ver tarjetas de red e ip's
ip addr show
# Desactivar interfaz de red
ip link set eth0 down
# Activar interfaz de red
ip link set eth0 up