Docker Community Forums

Share and learn in the Docker community.

Macvlan with ipv6 for pihole on Diskstation


#1

Hey, iam using pihole on my Synology Diskstation. I installed it via this guide.

It connects via a macvlan to avoid conflicts with other services running on the Diskstation. Works great, but the macvlan used in this guide has no support for IPv6. Anybody has an idea how to change the code to generate a network that supports both? Container needs a fixed IPv4 and Ipv6.

networks:
home:
driver: macvlan
driver_opts:
parent: ovs_eth0
ipam:
config:
- subnet: 192.168.178.0/24
gateway: 192.168.178.1
ip_range: 192.168.178.200/28

regards
hendrik