LXD: DHCP IP를 가져오지만 외부에는 핑이 없습니다.

LXD: DHCP IP를 가져오지만 외부에는 핑이 없습니다.

그래서 VirtualBox에 클린 VM을 설정했습니다. 설명에 따라 브리지 장치를 설정했습니다.여러 개의 튜토리얼. VM을 생성하고 DHCP 주소를 얻습니다. 그러나 그 후에는 컨테이너에서 외부는 물론 로컬 네트워크의 어떤 IP로도 핑을 받지 못했습니다. 하지만 내 호스트에서 VM을 핑할 수 있습니다.

그래서 질문은 남아 있습니다. 내가 뭘 잘못하고 있는 걸까요? 저는 LXD 2.0.8을 사용하여 호스트와 VM Ubuntu 16.04 LTS를 모두 실행하고 있습니다.

   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         |
+------+---------+-----------------------+------+------------+-----------+

나는 완전히 미쳐 가고 있으므로 어떤 도움이라도 감사하겠습니다. 감사해요!

관련 정보