Questions tagged [macvlan]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 views

Why I can't ping between two siblings macvlans in bridge mode?

In a Ubuntu 20.04 machine connected to my home LAN, I created macvlans under my ethernet device: $ sudo ip link add macvlan1 link enp37s0 type macvlan mode bridge $ sudo dhclient macvlan1 $ sudo ip ...
1
vote
0answers
31 views

Use macvlan to emulate multiple hardware devices on network

I am trying to use linux's network name spaces to emulate multiple devices on my local network. I want this to appear as actual network devices, not my laptops IP masquerading on the subnet. Is this ...
0
votes
1answer
105 views

Linux Interface Mode MACVLAN with Private mode doesn't seem to work as advertised (Ubuntu)

I am trying to create virtual interfaces (type MACVLAN) such that all communication between the interfaces is sent out of the host towards the eternal default gateway. There is plenty of writeups ...
2
votes
1answer
35 views

Traffic shaping using tc-netem on macvlan

I am setting up a virtual network using macvlans and I have connected traffic-control tc to each of them. I set the delay for each as 90ms. But on ping I get the time of 0.02 seconds. Why is tc not ...
2
votes
0answers
222 views

OpenWRT hairpin L2 traffic

I have an OpenWRT Router with embedded switch. I have a KVM machine with macvtap network access. I need guest to host communication. By connecting the host to my Cisco switch hairpin traffic is ...
1
vote
1answer
608 views

systemd-nspawn/machinectl and macvlan

I would like to create a nspawn container connected to the network via macvlan and dhcp. All documentation I have found were very instructive but did not offer a step by step procedure for this setup. ...
1
vote
2answers
922 views

Slowing down a server with traffic shaping

I would like to study the behaviour of an application streaming from a slow server. I'm trying to take advantage of tc-netem to introduce a network delay. Before setting up a more complicated ...
3
votes
2answers
4k views

How to make reachable macvlan aliases in a different namespaces?

I have an interface, name eth0, in my main network namespace another interface, name jail0, in an alternate network namespace (name name0). This namespace is used by a jailed environment. jail0 is a ...
3
votes
1answer
1k views

Communication problem between macvlan interfaces when sockets are bound to devices

I have a Linux setup where two macvlan interfaces in mode bridge are added on the same physical interface, in the same IP subnet: ip link add link eth2 dev mvl0 type macvlan mode bridge ip link add ...
1
vote
2answers
2k views

Script to create macvlan bridge on the host doesn't work unless it's run twice

I have a script that should create a macvlan bridge in the host when it starts up. The host is an up-to-date Arch Linux. This is intended to allow host and guest to share the same network. I found ...
1
vote
0answers
308 views

Priority routing with macvtap bridges

I have a machine with 2 ethernet cards. One with single interface, one with 4. I intend to use the single interface card (which is should be connected to my LAN) as the means of accessing (ssh etc) ...
1
vote
0answers
571 views

Dedicate one physcial port to one virtual port in proxmox without libvirt

I simply need to dedicate 1 host physical port to 1 virtual port of guest without help of libvirt. Host has: 2 physical interfaces: eth0 and eth1 1 virtual bridge(vmbr0), that include virtual ...
2
votes
0answers
1k views

macvlan-network device doesn't communicate outside host from within a container

I am attempting to erect a set of Docker or LXC containers, each with their own routable IP address. The containing host is actually a VM running within RedHat Enterprise Virtualization, which is a re-...