Using LXD with ROS, on exposing the IP address of the container, in a WiFi network

Hello,

I followed https://blog.simos.info/how-to-get-lxd-containers-get-ip-from-the-lan-with-routed-network/ to setup with a routed nic. I am running ubuntu18 64bits on a raspberry pi. unfortunately, lxc list shows an the container started with an ip address momentarily, but then stops showing a network address on the second time.

Here is the profile I am using:

config:
raw.idmap: “both 1000 1000”
user.user-data: |
#cloud-config
package_update: no
package_upgrade: no
packages:
- libnss-mdns
- net-tools
user.network-config: |
version: 2
ethernets:
eth0:
addresses:
- 192.168.1.201/32
nameservers:
addresses:
- 8.8.8.8
search: []
routes:
- to: 0.0.0.0/0
via: 169.254.0.1
on-link: true

description: routed
devices:
eth0:
ipv4.address: 192.168.1.201
nictype: routed
parent: wlan0
type: nic
name: routed_192.168.1.201
used_by: []

Best Regards,
C.