I already have a bridge network bridge0 on my host. It includes a physical
interface connected to a router.
Then I start my container with --network-bridge=bridge0
My container will get a ip address from the router, but it seems never
renew.

For debug, I change my router's DHCP Leasetime to 2 minutes. Then start
container.
machinectl show my container IP is 192.168.1.*.
After few minuets, run machinectl again, it change to 169.254.xxx.xxx. I
can not ping this address.

Do I need some extra configure to use an existing bridge?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to