Remove default gateway of proxy network

Hi there,

I have a running container of Home-Assistant. There I want to add a proxy bridge network to my traefik container.
But if I do this I get an default route to a completely wrong interface.

So Home-Assistant runs in a macvlan-bridge network to gateway 172.16.40.1.
The default route points to 172.18.0.0 which is then mapped to 172.16.0.1 from ubuntu host.

How can I prevent Docker to create the default route in this oder the container(s)?