# With 2 docker networks traefik chooses wrong one

**URL:** <https://community.traefik.io/t/with-2-docker-networks-traefik-chooses-wrong-one/7506>\
**Category:** Traefik v2\
**Tags:** consul-catalog, docker\
**Created:** [September 2, 2020, 2:05pm UTC](https://community.traefik.io/t/with-2-docker-networks-traefik-chooses-wrong-one/7506 "2020-09-02T14:05:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kitenco](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/kitenco/32/2513_2.png) [@kitenco](https://community.traefik.io/u/kitenco)\
**Post date:** [September 2, 2020, 2:05pm UTC](https://community.traefik.io/t/with-2-docker-networks-traefik-chooses-wrong-one/7506/1 "2020-09-02T14:05:19Z")

</div>

I have Services coming in from consul catalog. They are in 2 different networks, both not internal. Then I get a gateway timeout.  
What is missing?

---

<div class="post-metadata">

**Author:** ![kitenco](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/kitenco/32/2513_2.png) [@kitenco](https://community.traefik.io/u/kitenco)\
**Post date:** [September 2, 2020, 2:34pm UTC](https://community.traefik.io/t/with-2-docker-networks-traefik-chooses-wrong-one/7506/2 "2020-09-02T14:34:39Z")

</div>

the networks are defined in docker-compose

networks:  
traefik\_proxy:  
external: true  
common:  
external: true

also

--providers.docker.network=traefik\_proxy

is set, even thouth I don't know if it is used when the provider is consul catalog,  
and it doesn't have an effekt
