Comments on: How to Create and Use MacVLAN Network in Docker https://www.linuxtechi.com/create-use-macvlan-network-in-docker/ Sat, 06 May 2023 20:30:11 +0000 hourly 1 By: Fernando https://www.linuxtechi.com/create-use-macvlan-network-in-docker/#comment-52990 Sat, 06 May 2023 20:30:11 +0000 https://www.linuxtechi.com/?p=13484#comment-52990 I tried this command: ip route add 192.168.2.0/24 dev demo-macvlan-net and i got

RTNETLINK answers: File exists

]]>
By: Carrie https://www.linuxtechi.com/create-use-macvlan-network-in-docker/#comment-50903 Fri, 24 Mar 2023 18:49:48 +0000 https://www.linuxtechi.com/?p=13484#comment-50903 In reply to Thoggy.

Maybe the random IP assigned to your container is clashing with another one in your network. You can fix this by assigning a static IP in your router (in order to avoid your DHCP picking it) then assign that same IP when you’re creating your container.

]]>
By: Thoggy https://www.linuxtechi.com/create-use-macvlan-network-in-docker/#comment-48038 Mon, 16 Jan 2023 03:23:43 +0000 https://www.linuxtechi.com/?p=13484#comment-48038 Tried this on an openwrt router, but got “error response from daemon: Pool overlaps with other one on this address space. Any ideas?

]]>