# Is Traefik officially compatible with macvlan at all?

**URL:** <https://community.traefik.io/t/is-traefik-officially-compatible-with-macvlan-at-all/25633>\
**Category:** Traefik v3 (latest)\
**Tags:** docker\
**Created:** [December 19, 2024, 12:00am UTC](https://community.traefik.io/t/is-traefik-officially-compatible-with-macvlan-at-all/25633 "2024-12-19T00:00:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rxunique](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/rxunique/32/8531_2.png) [@rxunique](https://community.traefik.io/u/rxunique)\
**Post date:** [December 19, 2024, 12:00am UTC](https://community.traefik.io/t/is-traefik-officially-compatible-with-macvlan-at-all/25633/1 "2024-12-19T00:00:16Z")

</div>

I've created a macvlan network to expose traefik directly to my network, the purpose is easy management with ipv6 slaac and routing.

I've been running into all different kind of strange issue, and almost no macvlan questions here ever got solution (op posted no conclusion)

**So I just want to confirm, has anyone has ever got traefik to proxy on macvlan**

I've got to the stage where treafik got ipv6 and ipv4, can ping with either v4 & v6, and my domain via cloudflare proxy can reach treafik instance. But getting following errors

- treafik log complains ports not open, i.e. 8080 not open for api@internal
- getting 418 error when via [sub.mydomain.com](http://sub.mydomain.com)
- treafik can't discover labels of its own container

I've been trying various combination of configurations and getting some of above problems with some of the attempts, which lead me to the question, is traefik suppose to proxy off a macvlan network at all? Or only compatible with docker bridge network driver.

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [December 19, 2024, 6:03am UTC](https://community.traefik.io/t/is-traefik-officially-compatible-with-macvlan-at-all/25633/2 "2024-12-19T06:03:10Z")

</div>

I would expect that Traefik doesn’t care which Docker network type is used. If you don’t find an answer here, maybe try [forums.docker.com](https://forums.docker.com/).

---

<div class="post-metadata">

**Author:** ![rxunique](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/rxunique/32/8531_2.png) [@rxunique](https://community.traefik.io/u/rxunique)\
**Post date:** [December 20, 2024, 3:41am UTC](https://community.traefik.io/t/is-traefik-officially-compatible-with-macvlan-at-all/25633/3 "2024-12-20T03:41:54Z")

</div>

That's what I thought initially, then as I tried to battle these strange problems, I start to get the feeling that treafik's auto config discovery may not work at all with macvlan, been digging at official documentation and didn't find anything helpful

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://avatars.discourse-cdn.com/v4/letter/b/a9adbd/32.png) [@bluepuma77](https://community.traefik.io/u/bluepuma77)\
**Post date:** [December 20, 2024, 6:01am UTC](https://community.traefik.io/t/is-traefik-officially-compatible-with-macvlan-at-all/25633/4 "2024-12-20T06:01:30Z")

</div>

Share your full Traefik static and dynamic config, and `docker-compose.yml` if used.

Enable and check Traefik debug log and Traefik access log in JSON format, especially during requests.
