# Traefik on a MACVLAN net container on BRIDGE

**URL:** <https://community.traefik.io/t/traefik-on-a-macvlan-net-container-on-bridge/3653>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [December 31, 2019, 7:49pm UTC](https://community.traefik.io/t/traefik-on-a-macvlan-net-container-on-bridge/3653 "2019-12-31T19:49:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EarlGrei](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/earlgrei/32/216_2.png) [@EarlGrei](https://community.traefik.io/u/EarlGrei)\
**Post date:** [December 31, 2019, 7:49pm UTC](https://community.traefik.io/t/traefik-on-a-macvlan-net-container-on-bridge/3653/1 "2019-12-31T19:49:50Z")

</div>

I have setup Traefik on a MACVLAN network and another container running Nginx (just for testing). When the NGinx container is bound to the MACVLAN network my setup works. When I switch that same NGinx Container over to the default bridge network i get a 504 error. I have verified that Traefik is picking up the right IP when on either network. I did search the forums and found references to traefik.docker.network and have tried that as show below. If anyone has thoughts I would be most grateful.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/c/c85ac31c742c81344a07d11dc4473bbd6f839de2.png)

---

<div class="post-metadata">

**Author:** ![EarlGrei](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/earlgrei/32/216_2.png) [@EarlGrei](https://community.traefik.io/u/EarlGrei)\
**Post date:** [January 2, 2020, 9:39pm UTC](https://community.traefik.io/t/traefik-on-a-macvlan-net-container-on-bridge/3653/2 "2020-01-02T21:39:45Z")

</div>

Is there maybe more information I can include to try to get an answer here? I am currently stuck on moving 2 dozen containers to the new hosts pending getting this resolved.

---

<div class="post-metadata">

**Author:** ![zespri](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/zespri/32/310_2.png) [@zespri](https://community.traefik.io/u/zespri)\
**Post date:** [January 3, 2020, 2:17am UTC](https://community.traefik.io/t/traefik-on-a-macvlan-net-container-on-bridge/3653/3 "2020-01-03T02:17:44Z")

</div>

Are you sure, that your issue is trafik related, and not a docker issue in general? I've had some problems with macvlan in the past which were completely traefik unrelated...

In terms of information, the best you can do is to provide a minimal way to reproduce your results.
