LXD: DHCP-IP wird abgerufen, aber kein Ping von außen

LXD: DHCP-IP wird abgerufen, aber kein Ping von außen

Also habe ich eine saubere VM in VirtualBox eingerichtet. Ich habe Bridge-Geräte eingerichtet, wie beschrieben vonmehrere Anleitungen. Ich erstelle eine VM und bekomme eine DHCP-Adresse. Aber danach bekomme ich keinen Ping vom Container zu irgendeiner IP im lokalen Netzwerk, geschweige denn außerhalb. Ich kann die VM jedoch von meinem Host aus anpingen.

Die Frage bleibt also: Was mache ich falsch? Ich verwende sowohl auf dem Host als auch auf der VM Ubuntu 16.04 LTS mit LXD 2.0.8:

   root@ubuntu:/home/test# cat /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/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp0s3
iface enp0s3 inet manual

auto br0
iface br0 inet dhcp
        bridge_ports enp0s3
root@ubuntu:/home/test# lxc profile list
default
docker
root@ubuntu:/home/test# lxc profile show default
config:
  environment.http_proxy: ""
  user.network_mode: ""
description: Default LXD profile
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: br0
    type: nic
name: default
used_by: []
root@ubuntu:/home/test#

root@ubuntu:/home/test# lxc list
+------+---------+-----------------------+------+------------+-----------+
| NAME |  STATE  |         IPV4          | IPV6 |    TYPE    | SNAPSHOTS |
+------+---------+-----------------------+------+------------+-----------+
| u1   | RUNNING | 192.168.192.12 (eth0) |      | PERSISTENT | 0         |
+------+---------+-----------------------+------+------------+-----------+

Ich bin für jede Hilfe dankbar, denn ich werde völlig verrückt. Danke!

verwandte Informationen