Questions tagged [macvlan]
62 questions
2
votes
0 answers
Docker container on QEMU guest has no LAN-connection
On a Ubuntu 20.04 server I run a Debian 10 as a KVM-guest, connected via a macvtap-bridge. Inside that guest I have a macvlan-bridge, connecting a docker container.
For some reason that container does not seem to have any network connection and I'm…

linuzer
- 31
- 5
2
votes
0 answers
What is the best/correct way to make a custom Synology NAS network configuration persistent?
I have a macvlan on my Synology DS218+ that provides Synology access to a few Docker containers running on a Docker-managed macvlan. I create the Synology macvlan using IP commands. What is the best way to make this macvlan configuration persistent…

Brad Smith
- 183
- 1
- 7
2
votes
1 answer
IP addresses added using multus-cni are not reachable from another pod in same cluster
I am using multus-cni to create multiple interfaces in my pod. I have weave-net CNI configured so pods come up with cluster ip 10.32.x.x. Using the below network-attachment-definition , I am able to bring up multiple interfaces inside a pod with IP…

santanu
- 21
- 2
2
votes
0 answers
Get gitlab/gitlab-ce working with macvlan on docker
The following docker-compose.yml file below was supposed to bring up gitlab's gitlab-ce on my local network using docker's macvlan. However, I am unable to view gitlab-ce in a browser or ping the assigned Ip. After inspecting the resulting container…

cmobley7
- 21
- 2
2
votes
2 answers
How can i ping a local docker container from an outside host using macvlan network?
objective : assume two hosts A & B. container x at A should be able to be pinged from host B such that this container x is present in the same network as A & B and has its own ip address.
Docker provides two types of network solutions for multi-host…

Yashgiri Goswami
- 181
- 3
- 15
1
vote
0 answers
Access Cassandra docker container from a different host by static IP
I have two vms(Oracle VirtualBox) with Ubuntu 22.04 lts. Bridged network is configured between these vms.
On the first vm i run Cassandra docker container.
My goal is to make it accessible from the second vm with cqlsh using static ip of that…

Alan Synix
- 11
- 2
1
vote
1 answer
docker compose use ipvlan with static address for a DHCP server
I'd like to run a docker-compose made of a few containers one of which should act as a DHCP server and assign IP addresses to a few devices attached to a bridge directly plugged into one of the docker-compose host interface.
I think I could use…

pedr0
- 2,941
- 6
- 32
- 46
1
vote
0 answers
Docker-Compose for Traefik on Macvlan
I am running on a Synology NAS and trying to get Traefik working over macvlan, because ports 80 and 443 are already in use. I can access the Traefik dashboard via 192.168.0.240:8080 and my external IP, however, I am unable to do so through my web…

user2337871
- 450
- 1
- 5
- 14
1
vote
1 answer
Synology running docker & Portainer MacVlan Setup
I recently started Using Docker&Portainer on my Synology. However all containers I Create use my Synology ipadres just a different port.
I want to setup a MacVlan through Portainer I am able to create the network only containers that use it have no…

gavin
- 21
- 1
1
vote
1 answer
Docker "network connect --ip" static ip not persistent after reboot
I have a Nginx Proxy Manager container, which proxies docker containers as well as some physical devices within host external network.
For NPM to get access to them, I've created a network:
sudo docker network create -d macvlan…

Konata
- 275
- 1
- 3
- 14
1
vote
0 answers
Kubernetes NetworkAttachmentDefinition
currently I'm running a Kubernetes Cluster.
Host Network: 10.17.20.x
Docker Network: 172.17.60.x
Im running a RabbitMQ pod which has the IP: 172.17.60.217
Annotations:
cni.projectcalico.org/podIP: 172.17.60.217/32
cni.projectcalico.org/podIPs:…

KoBa
- 11
- 1
- 3
1
vote
1 answer
Having trouble configuring static IPs to PODs attached with MACVLAN interface
Here is the scenario.
There is a deployment set through which 2 PODs are created. I am attaching a MACVLAN interface to these PODs for external communication.
Macvlan definition
apiVersion: "k8s.cni.cncf.io/v1"
kind:…

Ravi Pillai
- 41
- 5
1
vote
1 answer
Windows 10 - place docker container directly on local network?
I’ve been trying to place my container direclty on my local network (LAN). I’ve tried setting up macvlan and by using a docker but I’ve been unable to communicate directly to the container.
Here is what I’ve done:
-> Created a “macvlan” network…

MeirDayan
- 620
- 5
- 20
1
vote
0 answers
Second NIC with Macvlan on GKE
I need to add a second interface to some of the specific K8s pods on GKE that need to be accessible directly from public users on the Internet. So I used Multus and defined a Macvlan cni like this:
apiVersion: "k8s.cni.cncf.io/v1"
kind:…

PSDK
- 11
- 4
1
vote
0 answers
Docker containers on macvlan can't ping external internet
I am trying to set up a pihole docker instance running on a macvlan on a Raspberry Pi 4B.
I am unable to ping the external internet from my container.
I've managed to reduce the problem for replication:
Create a macvlan on wlan0, which has…

Ivan Smirnov
- 35
- 5