LXD: DHCP IP は取得できるが、外部に ping が通らない

LXD: DHCP IP は取得できるが、外部に ping が通らない

そこでVirtualBoxでクリーンなVMをセットアップしました。ブリッジデバイスは次のようにセットアップしました。いくつかの チュートリアル。 VM を作成し、DHCP アドレスを取得します。しかし、その後、コンテナからローカル ネットワーク上のどの IP にも ping が届かず、外部への ping も届きません。ただし、ホストから VM に ping することはできます。

では、何が間違っているのかという疑問が残ります。私はホストと VM の両方で Ubuntu 16.04 LTS を 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         |
+------+---------+-----------------------+------+------------+-----------+

完全に気が狂いそうなので、どんな助けでもありがたいです。ありがとう!

関連情報