This is first time I am executing LXD with Firewall enabled on host machine. Unfortunately, I am not able to get IP Assigned to container.
LXD (3.21) was installed via SNAP.
I was able to successfully complete
lxd init
lxdbr0 seems to be up. Validated DNSMASQ running.
config:
ipv4.address: 10.193.144.1/24
ipv4.nat: “true”
ipv6.address: none
description: “”
name: lxdbr0
type: bridge
used_by:
- /1.0/instances/chrome
managed: true
status: Created
locations:- none
default profile
config: {} description: Default LXD profile devices: eth0: name: eth0 nictype: bridged parent: lxdbr0 type: nic root: path: / pool: default type: disk name: default used_by: - /1.0/instances/chrome
Lxc Container Info:
Name: chrome Location: none Remote: unix:// Architecture: x86_64 Created: 2020/02/19 18:25 UTC Status: Running Type: container Profiles: default Pid: 1333 Ips: eth0: inet6 fe80::216:3eff:feb2:cc0b vethe0dc5607 lo: inet 127.0.0.1 lo: inet6 ::1 Resources: Processes: 1 Disk usage: root: 747.36MB CPU usage: CPU usage (in seconds): 0 Memory usage: Memory (current): 38.77MB Network usage: eth0: Bytes received: 9.25kB Bytes sent: 656B Packets received: 54 Packets sent: 8 lo: Bytes received: 0B Bytes sent: 0B Packets received: 0 Packets sent: 0
lxc list
Any thoughts what setting I am missing and if I need to update firewall?
I added following ports to firewall.
- 10443(TCP),
- 53(TCP)
- 53(UDP)
- 67(UDP)