Public IP for container on different subnet than gateway

The routed NIC docs do cover which default gateway IPs to use: Linux Containers - LXD - Has been moved to Canonical

But to summarize, you should not be putting your host’s IP as the default gateway, but using 169.254.0.1 as documented.

There’s also some examples over at:

Also I would suggest to not use the br0 interface if you’ve no other reason to have it (its just more complexity which should be avoided where possible).