Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ficheros Debian 9 Host
- ----------------------------
- Fichero: /etc/network/interfaces
- //////////////////////////////////////////////
- # 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/*
- auto lo
- iface lo inet loopback
- # The loopback network interface
- auto lo enp3s0
- iface lo inet loopback
- # Configurar interfaces manualmente, evitando conflictos con, por ejemplo, el administrador de red
- auto enp3s0
- # iface enp3s0 inet dhcp
- iface enp3s0 inet static
- address 192.168.0.140
- broadcast 192.168.0.255
- gateway 192.168.0.1
- dns-nameservers 8.8.8.8 8.8.4.4
- # Configuración del puente
- auto bt0
- # iface bt0 inet dhcp
- iface bt0 inet static
- bridge_ports enp3s0
- address 192.168.0.143
- broadcast 192.168.0.255
- netmask 255.255.255.0
- gateway 192.168.0.1
- dns-nameservers 8.8.8.8 8.8.4.4
- //////////////////////////////////////////////
- Fichero: /etc/resolv.conf
- --------------------------------
- nameserver 8.8.8.8
- nameserver 8.8.4.4
- /////////////////////////////////////////////
- *****************************************************************************
- Ficheros Contenedor ***********
- -------------------------------
- :~$ sudo lxc-ls --fancy
- NAME STATE AUTOSTART GROUPS IPV4 IPV6
- *********** RUNNING 0 - 192.168.0.18 ::216:3eff:fe43:24c4
- ///////////////////////////////////////////////
- File: /etc/network/interfaces
- -----------------------------------
- auto lo
- iface lo inet loopback
- auto eth0
- iface eth0 inet dhcp
- ////////////////////////////////////////////////
- File: /etc/resolv.conf
- -----------------------------
- nameserver 200.73.96.167
- nameserver 190.104.12.43
- ///////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement