I currently have this configuration on my Debian in file / 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 enp3s0 iface lo inet loopback # Configure interfaces manually, avoiding conflicts with, for example, the network administrator auto enp3s0 # iface enp3s0 inet dhcp iface enp3s0 inet static address 192.168.0.140 broadcast 192.168.0.255 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 18.104.22.168 22.214.171.124 # Bridge Configuration 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 126.96.36.199 188.8.131.52
In the container I have internet connection, but I can’t reach the Lan with ping
Container X 192.168.0.18
I cannot get from the Host to the container despite being in the same network segment, how do I activate the PROMISCUO option in BRIDGE mode?