Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [bridge]

A network bridge is a network device which transparently forwards packets between two or more network segments so that they appear as one local area network (LAN).

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

What's the difference between setting up bridge VLAN with `bridge` command and /etc/network/interfaces

On Debian, I noticed I can set up bridge VLANs in /etc/network/interfaces with bridge-tools installed: auto br0 iface br0 inet static bridge_ports enp2s0 enp3s0 enp4s0 enp5s0 enp7s0 address 192....
CodeDuck's user avatar
0 votes
1 answer
33 views

Isolated linux bridge interfaces can't ping neighbours

I'm trying to do a learning experiment with linux bridges. I wan't to create an isolated bridge on host without namespaces with the ability to debug interface connectivity. I want to be able ping ...
Dmytro Malovanyi's user avatar
0 votes
1 answer
32 views

Virtual network interface and route(s) to bypass VPN

I'm frequently connected to a system-wide VPN which I need to bypass for certain applications. On my home network I currently run a SOCKS proxy on another box which I use, for example, in a separate &...
kontextify's user avatar
1 vote
1 answer
22 views

List openvswitch virtual switch with ip command

I've configured openvswitch virtual switch and can list it with ip command as follows: # Show all interfaces ip link Output: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN ...
metablaster's user avatar
0 votes
0 answers
12 views

KVM/libvirt VMs layer 2 looks good but layer 3 isn't working

This looks like it's similar to this question but my setup (kvm/libvirt) looks closer to the answer than the question. Host is running Debian 12 (bookworm) and is up-to-date with upgrades, nothing ...
Jarad Downing's user avatar
1 vote
1 answer
41 views

Netfilter and forward chain traces ARP but not other packets

I am experimenting with netfilter in a Docker container. I have three containers, one a "router", and two "endpoints". They are each connected via pipework, so an external (host) ...
stevekez's user avatar
0 votes
0 answers
24 views

Linux networking bridge not forwarding manually created packet

I am trying to implement packet forwarding using a BPF-program. The idea is to forward a suitable packet from veth1 (ingress) directly to veth2 (egress). The problem I am facing is that the redirected ...
Dan23's user avatar
  • 9
0 votes
0 answers
17 views

Unable to ping gateway after OpenStack installation

I configured openstack with packstack and after configuring it is not possible to ping the gateway of the interface that I created openstack on. Is it because of the bridges that openstack creates? ...
Sol's user avatar
  • 1
0 votes
1 answer
20 views

dns resolution fails

I'm following the cloudstack quick installation guide to try out cloudstack. As server I use a centos vm. After the first step Configuring the Network, dns resolution fails, preventing my to make any ...
hobyte's user avatar
  • 113
1 vote
1 answer
38 views

Wake On Lan using a nic attached to a NetworkManager bridge interface

I have been trying to set up an environment for my hypervisor, which is just a Debian Bookworm running qemu. I have been using the web interface Cockpit to help me see things when the terminal is too ...
MetalMathician's user avatar
3 votes
3 answers
56 views

Share internet over external wlan

I have multiple devices (A, B, C). Device A is a sensor that captures data and shares it with device C (Android) over a local Wi-Fi network. The problem is that the application to receive data only ...
WorkPhone ID002's user avatar
0 votes
1 answer
38 views

Unable to create bridge using NetworkManager

I'm trying to work out why I cannot create a bridge for my Virtual Machines using NetworkManager. I have now searched in several places for how to create a bridge network using NetworkManager to the ...
MetalMathician's user avatar
1 vote
1 answer
12 views

Trying to conifugre bridge on GRE interface, facing issue

I have created an ipv6 tunnel by using the following commands: ip link add gre_test type ip6gre remote 2001:4860:4860::8888 local ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff ttl 255 removed actual ipv6 ...
vrax's user avatar
  • 11
0 votes
0 answers
39 views

Can VLANs coexist with a non-tagged LAN on the same interface?

The questions is basically in the subject, but to give it a little more context: Please consider a setup of 2 (embedded) systems, both running Linux. Each system has two physical NICs, named eth0 and ...
Robert's user avatar
  • 191
0 votes
0 answers
18 views

Docker container traffic through host iptables tproxy

Problem Docker container network does not go through the host TPROXY-configured tunnel. Setup I have a TPROXY-supported proxy server running on my machine (listening on 127.0.0.1:8080). I configured ...
xeptore's user avatar
0 votes
1 answer
29 views

Bridges on A Virtual Host

Years ago, I set up a virtual host on RHEL 7 with 2 NICs talking to 2 different LANs. I used some combination of brctl, ifconfig, etc. The host has guests on both LANs. The guests and external ...
Garnet's user avatar
  • 398
1 vote
1 answer
374 views

How to create a linux vlan aware bridge with ingress packets untagged and egress packets tagged

I am trying to implement an obscure workaround to a specific problem tied to a switch misconfiguration I observe in a real case scenario. Please just assume the following : My system is plugged to a ...
Almandin's user avatar
0 votes
0 answers
40 views

Nftables to do scalable MAC translation in NAPT-style

I'm a networking senior guy steadily diving more into Linux internals over last 5 years, grasping networking caps a lot, however just arriving at Netfilter domain and learning of nftables last 3-4 ...
PeterG's user avatar
  • 1
0 votes
1 answer
113 views

KVM VM on bridge to host not getting IP address

I have a host with 4 ethernet ports. I want to assign eno1 to VM1, eno2 to VM2 and so on... eno1, eno2 , eno3 and eno4 each have static IPs. I want VM01 to have the static IP of eno2. For that purpose ...
rajeev's user avatar
  • 245
0 votes
0 answers
76 views

For a VLAN aware bridge, do you assign the native VLAN to the bridge itself or a vlan interface?

Given a vlan-aware bridge in which I have a multitude of (tagged) vlans. VLAN1 is the management VLAN and untagged. The machine hosts lots of VMs/containers which are part of one more VLANs; the host ...
divB's user avatar
  • 208
0 votes
1 answer
107 views

systemd-networkd bridge does not work with VLAN

I am trying to configure one bridge per VLAN (without VLAN filtering) with systemd-networkd for easy configuration of libvirt VMs on Debian 12. This does work as expected without VLAN and it does work ...
Hauke Laging's user avatar
  • 90.1k
0 votes
1 answer
27 views

Advanced router/bridge with SNAT on Linux

Let's assume we've got some system with 2xEthernets (eth0 and eth1) and one WLAN (wlan0) interface working on Linux. I'd like to make bridge interface br0 with eth0 and eth1 attached into it and in ...
user2699113's user avatar
0 votes
0 answers
45 views

Losing IP address "DHCPv4: grace period expired"

my laptop had poor wireless signal, so I hooked it up with an ethernet cable to an access point setup in bridge mode ('client mode' it's called on the AP, I believe). It works fine, but after some ...
vicmortelmans's user avatar
0 votes
1 answer
111 views

Communicate With Multiple Devices Using One IP

I am working on a project where I have to communicate with multiple devices (same manufacturer, same model) from my Linux (Ubuntu 20.04) computer. For simplicity, I will stick to two devices, named A ...
IAmHereForOneQuestion's user avatar
0 votes
0 answers
34 views

same ip and subnet in 2 different bridges

I am trying to create 2 different virtual networks in the same ip range (not using NAT) in virt manager. This doesn't work with the gui or editing the xml of the new virtual network. Is creating ...
ISG's user avatar
  • 1
0 votes
1 answer
151 views

Linux and KVM Qemu VM - "Couldn't ARP for host" despite that host and VM are both bridged and in the same subnet

I am using KVM Qemu in Kali linux host, and trying to practice ARP spoofing. In the Kali linux (which is connected to wired ethernet network), I have set up the following configuration (from tutorials ...
Shy's user avatar
  • 599
-2 votes
1 answer
942 views

How to configure bridged networking for KVM virtual machines in Kali Linux host?

My base/host machine is running Kali Linux. It is a fresh install. My purpose is to configure the use of Bridged network mode in the KVM virtual machines I install and run on top of this host OS. I ...
Shy's user avatar
  • 599
0 votes
0 answers
17 views

OpenVPN Bridged Mode Virtualbox 3 VMs(Virtualbox) Setup ARP

I am currently experimenting with bridged mode in OpenVPN, only used the tun adapter so far. I have a setup with 3 VMs(Oracle Virtualbox) and internal Network in Virtualbox (Ubuntu 22.04 LTS). VM01(...
Octo's user avatar
  • 1
0 votes
0 answers
38 views

How to connect two docker containers on different VMs with VxLAN without using bridge

I need to connect two docker containers on different VMs but without using bridges on hosts. For now I add vxlan interface to bridge, but I need to get rid of bridge, because bridge can drop some ...
Ildar's user avatar
  • 101
0 votes
1 answer
214 views

A solution to bridge wlan0 or permit to use the same lan for tap/br?

I have a tftp server on lan 192.168.0.0/24 I want a qemu vm reach it, with ethernet is simple a) First create br0 MAC1="52:54:$(dd if=/dev/urandom count=1 2>/dev/null | md5sum | sed 's/^\(..\)\...
elbarna's user avatar
  • 12.7k
1 vote
1 answer
480 views

IPv6 SLAAC configuration of bridged interface

My dual-stack network at home uses router advertisements for IPv6 configuration, with a (mostly fixed) delegated /56 prefix from my ISP. All my machines therefore have a predictable global IPv6 ...
philfr's user avatar
  • 1,088
0 votes
0 answers
36 views

How to remove the IP address assigned to tap0 creating an udev rule

I would like to remove the IP address (169.254.149.209) that's assigned to tap0 on Linux host os (Devuan 5) at a certain point of the booting process of FreeBSD (the guest os / vm),creating an udev ...
Marietto's user avatar
  • 549
1 vote
0 answers
303 views

networkd leaves bridged main interface in "configuring"

I'm using netplan with systemd-networkd to configure a KVM bridge on an Ubuntu 22.04 server. The bridge works, but networkctl shows the main interface in status configuring. Amongst other things, this ...
emmenlau's user avatar
  • 111
0 votes
0 answers
37 views

Create bridge with Wifi

I was using a bridge the Ethernet port, but I need to change. I am trying with this config without success: # This file describes the network interfaces available on your system # and how to activate ...
Erlen's user avatar
  • 1
2 votes
1 answer
3k views

What exactly does the br_netfilter kernel module control?

I'm trying to get a clear understanding of what exactly the br_netfilter Linux kernel module does (I know it has something to do with networking). My simple question I'm posing here is as follows: ...
user1015214's user avatar
0 votes
1 answer
52 views

docker bridge can't reach external address defined as `route via`

I have 3 raspberry pi in a daisy-chain network, with ip routes and iptables accept fwd - all three hosts can reach each others: A <--> B <--> C However a container from docker-compose ...
earcam's user avatar
  • 101
0 votes
0 answers
98 views

Bridged NIC is unreachable via my host PC

I have an ethernet connection between my AOSP device and host PC, once I set ipv4 for both on the same subnet i can connect between them but once I create a bridge on my AOSP device and make its NIC ...
Itachi's user avatar
  • 1
0 votes
0 answers
63 views

Playing Music through Sonos Speaker connected to ETH Raspberry Pi

I have a Raspberry Pi Wifi-to-Ethernet bridge, and have a Sonos Symfonisk speaker plugged into the Ethernet output. In it's current configuration I can't play music through the speaker, is there a ...
cdubs's user avatar
  • 103
0 votes
0 answers
60 views

How do I access a web server on the other end of an ethernet bridge?

Sorry if this is a stupid question; I know very little about networking and I've been struggling to figure this out! For a fun project, I'm trying to set up a vintage Mac as a web server (technically ...
Alex Anderson-Mcleod's user avatar
1 vote
0 answers
30 views

Can one tie a bridge link state to one member interface state?

Is it possible to tie the state of a bridge's link to that of a member interface's link state? Scenario: Virtualization host plugged directly into a SOHO router. Router needs to be rebooted. Because a ...
Pyrroc's user avatar
  • 11
1 vote
1 answer
387 views

Packet flow in linux NAT enabled on bridge IP assigned interfaces

On My Linux machine, I have following configuration: br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether bc:e6:7c:51:20:6b txqueuelen 1000 (Ethernet) br0.1: flags=4163<...
RootPhoenix's user avatar
0 votes
1 answer
341 views

Understanding libvirt / kvm bridged network and its IP

I'm trying to get the IP of a guest virtual machine connected to my network with libvirt / kvm bridging. I've come across a couple of resources online, but they seem to be out of date, like this and ...
xpt's user avatar
  • 1,614
0 votes
0 answers
38 views

What is the **openSUSE way** for using VLAN 10 for my host and VLAN 20 for guest VMs with a bridged connection and KVM?

I have a fresh install of openSUSE Tumbleweed installed on my box. During the install process I said to install KVM Hypervisor and it defauled to a bridged connection (which is what I want). My box is ...
IMTheNachoMan's user avatar
2 votes
1 answer
204 views

nftables does not limit ipv6 traffic in rate limit rule in bridge and ip6 family

I have a wifi router where the wlan0 interface (radio interface) is bridged with the ethernet interface eth0 (connected to another server acting as DHCP) / # brctl show br0 bridge name bridge id ...
Haswell's user avatar
  • 141
0 votes
0 answers
204 views

vlan with linux bridge ping not working

I want to configure the bridge br-mgmt with VLAN. I created the VLAN and bridge, then assigned IP addresses to the bridge, but ping is not working. My netplan configuration looks like this: server 1 ...
daniel's user avatar
  • 1
0 votes
0 answers
337 views

Problem using Iptables for filtering traffic on a network interface which is a bridge port, on a specific tcp port

I am using iptables as firewall to filter traffic. I want to block traffic on a network interface on a certain tcp port (I'm testing on port 22). The network interface is a bridge port, so I'm using ...
foadk's user avatar
  • 1
0 votes
0 answers
24 views

Connect wifi adapter to motherboard ethernet connection, same machine, linux

I just want to connect my wifi adapter to my ethernet adapter, plug the ethernet adapter (onboard) into a router, and share Internet with the wifi adapter through the router. Possible? Easy? I'm using ...
Brian's user avatar
  • 158
0 votes
0 answers
849 views

Linux bridge and vlan configuration with Qemu/Libvirt VM

I am trying to forward traffic from my Qemu VMs to my pfSense VM with the help of vlan tagging. I know that libvirt has no direct support for vlan traffic in conjunction with Linux bridges which is ...
MathsJoe's user avatar
0 votes
1 answer
310 views

Uplink-less Bridge with systemd-networkd

I am trying to configure several Linux bridges, all without physical uplinks, for use as isolated virtual networks with KVM/QEMU. I am running Archlinux, which uses systemd-networkd to configure ...
MamboDee's user avatar
0 votes
1 answer
402 views

How to get full information about the bridges?

I have many bridges on my laptop,Ubuntu 22.04 ip link show type bridge shows 3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen ...
MikiBelavista's user avatar

1
2 3 4 5
11