Questions tagged [macvlan]
62 questions
1
vote
1 answer
Run multiple DNS servers with pi-hole and docker
Setup
I have a Unifi Home Setup with multiple Wifi Networks set up and a RaspberryPi with Arch to take care of DNS filtering.
Goals
I want to run multiple DNS Servers on the Raspberry Pi and direct the different Wifis to different DNS. To this end I…

Phteven
- 161
- 2
- 10
1
vote
1 answer
Multiple network created using Macvlan CNI plugin with whereabouts ipam - communication not happening across nodes
I brought up openshift container platform on top of Google Cloud Platform.I used Multus for having Multiple networks to pods.
I used Macvlan CNI and whereabouts instead of static in ipam to avoid IP conflicts. I deployed three pods , two in same…

Ieneya
- 11
- 2
1
vote
0 answers
Assign multiple IPs to same docker container using macvlan (or by any other method)
I have currently 2 networks created using macvlan over running over my synology. These networks are physically seprated and completely isolated. So device on one network can not communicate to other.
root@syno:/# docker network ls
NETWORK ID …

AbDhops
- 11
- 2
1
vote
1 answer
LXC - Failed to create macvlan interface - Operation not permitted
I am having problem to create a LXC container over OpenVZ server, I am getting the error bellow when lxc try to create an interface. I am not sure if OpenVZ permit this kind of configuration, it is my first time trying. I have looking for some…

m4u2o
- 43
- 1
- 1
- 3
1
vote
1 answer
Network routing for docker container using macvlan
TLDR; I cannot ping my docker containers from my other network clients. Only when a container actively pings the gateway I am able to reach the containers afterwards.
On my homenetwork (192.168.0.0/24) I run a gateway 192.168.0.1 which hosts a DNS…

Christian
- 446
- 2
- 14
1
vote
1 answer
Connecting Docker Container to Home Network
I am running some frr (free range routing) and ceos (Arista) containers on an "Ubuntu Docker Host" which is running on Virtual Box on Windows 10.
I created a macvlan network (net3) and tied it to enp interface of Ubuntu and connected my containers…

gonuladami
- 97
- 1
- 13
1
vote
1 answer
Run Docker container on host network
I'd like to assign a static IP to a docker container and have it work like a virtual machine on the host network.
Example:
Network of 10.10.10.0/24
Physical host running Docker IP: 10.10.10.1
Docker container IP: 10.10.10.2
Now obviously that's…

Fang
- 2,199
- 4
- 23
- 44
1
vote
0 answers
tcp ip connection to open port in a docker container within macvlan network
I'm starting up a container within a macvlan driver powered docker network, this is the relevant bit of my docker-compose.yml file:
version: '3.7'
services:
tws:
build: ./ib-docker
image: ibconnect
container_name: ibconnect
…

Don Giulio
- 2,946
- 3
- 43
- 82
1
vote
1 answer
Share Docker container through local network and access to it from an another host
I try to share a container through my local network, to access this container from an another machine on the same network. I have follow tihs tutorial (section "With macvlan devices") and I succeeded to share a simple web container and access from…

Mathieu Dumez
- 25
- 5
0
votes
0 answers
Listen to two seperate ip/port/mac/vlan, duplicate ip address when TAP:in ethernet
edit, simplified the scenario, same problem
On eth1 I'm receiving traffic which is actually a pcap playback from another machine. The recording contains udp traffic sent between 198.20.4.1 (biderectional) and 198.20.4.4
Intention is to tap the…

Aleksandarf
- 373
- 4
- 8
0
votes
0 answers
Forward traffic from container's localhost to host IP
I have a podman container running on my host with a public IP. If I try to access localhost:80 from container, it should get mapped to host-ip:443.
I tried to do this using port forwarding like this:
podman run -it ..... -p host-ip:443:80
since in…

im_mgn
- 26
- 3
0
votes
0 answers
Cannot access nginx when the container is in macvlan
I have started nginx container, it is in macvlan. Everything works fine ping, system updating, and so on. But when I want to access nginx and type the IP of the container in my browser nothing happens why is that? I know that there is no need to do…

Ivaylo
- 7
- 2
0
votes
0 answers
How to connect application in Docker container on macvlan IP to reverse proxy
I want to connect my self hosted Budibase application to the reverse proxy of my DS1621xs+ Synology NAS.
The DHCP range is 192.168.178.20 until 192.168.178.192
I tried a lot of different things, but none of the changes to my docker commands were…

Mike_H
- 1,343
- 1
- 14
- 31
0
votes
1 answer
Kubernetes with multus, and macvlan selecting the wrong interface eth0
I am working through some training on kubernetes and have the following config.
4 vm's running ubuntu 20.04 with the, one master and 3 nodes with calico CNI.
I managed to deploy some nginx pods and got the connectivity to work as expected/
I am…

Peter Bonham
- 47
- 6
0
votes
0 answers
how to build a bridge using ip link macvlan?
I am trying to create a macvlan bridge link with the following command:
sudo ip link add access link ens33 type macvlan mode bridge
I can see that new interface is created:
ubuntu@master-node:~/sd-core$ ip link show access
26: access@ens33:…

Daniel
- 41
- 1
- 4