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
1 vote
1 answer
2k views

How to disable ipv6 when bridge module is required?

In linux, if you need to bridge NICs, bridge module will be loaded automatically. But one of bridge's dependency is ipv6. Is there any way to overwirte ipv6 dependency since I only need ipv4? I ...
2 votes
1 answer
764 views

docker container install breaks DHCP for machines behind existing bridge interface on that machine

My initial state is something like this: A "normal" home network with a residential gateway that hands out DHCP addresses to a combination of wired and wireless machines on subnet 192.168.15.0/24. A ...
  • 489
3 votes
0 answers
2k views

I can ping across namespaces, but not connect with TCP

I'm trying to set up two network namespaces to communicate with eachother. I've set up two namespaces, ns0 and ns1 that each have a veth pair, where the non-namespaced side of the veth is linked to a ...
12 votes
1 answer
29k views

Bridged interfaces and VLAN tags

I'm trying to set up a system that joins an untagged Ethernet network to a TAP tunnel, adding a VLAN tag as the traffic moves to the tunnel. So far I have: eth0 - the physical Ethernet interface ...
  • 464
1 vote
1 answer
191 views

Unable to reach network from host systems (guest systems are working)

After updating my server to the latest version of Xen (4.11.1 on Debian) I don't have a working internet connection on my host system (the guest systems have access). I'm not really sure if the ...
  • 121
1 vote
1 answer
3k views

Linux Bridge (brctl) not passing the traffic

I created the below config: /* Created a Linux bridge and brought it up */ brctl addbr AnaBr4 ifconfig AnaBr4 up /* Created a tuntap interface and brought it up */ ip tuntap add name Xr1 mode tap ...
  • 21
0 votes
1 answer
535 views

Configuring a bridge leads to losing connection

I have a Linux server with three NIC that are connected to a switch (one NIC is the management, two NIC form a LACP bonding). In addition I need to use a VLAN (167), because the switch is configured ...
  • 25
2 votes
1 answer
3k views

Why does adding an interface to a bridge disconnect the interface (for good)?

I was playing around with vagrant-libvirt and wanted to bridge my virtual machines to my LAN so that they get a DHCP lease and are reachable from the network. Since vagrant-libvirt does apparently not ...
  • 121
1 vote
0 answers
107 views

why linux bridge learns source mac from lldp packets

when an LLDP packet is received, linux bridge adds the source mac to FDB. In function br_handle_frame(), case 0x0E: /* 802.1AB LLDP */ fwd_mask |= p->br->group_fwd_mask; ...
  • 11
4 votes
0 answers
3k views

Unable to successfully setup bridge interface with Netplan, in order to support guest OS with KVM

First of all, I would like to apologize for my bad English. I usually find an answer after a few hours, days or even weeks of research, but today, I feel quite lost and would appreciate some help. ...
0 votes
1 answer
640 views

KVM, qemu, libvirt no DHCP on bridge

After I restart firewall on the host machine, I no longer get DHCP on guests until I restart libvirtd.service I am providing two network captures, one before restarting FW on the host (dhcp_ok.pcap) ...
  • 11
0 votes
0 answers
36 views

Connect a bridge interface from other machine

this is my first post, sorry for any inconvenience. I want to link a bridged interface from another machine to my laptop. So that any packets sent from my laptop can be sent both interfaces from the ...
1 vote
0 answers
218 views

ovs-vsctl: Error detected while setting up 'eoip_if'. See ovs-vswitchd log for details

I have a namespace ns1, inside this i run a eoip script which create a interface eoip_if. I also have a ovs-bridge br0 which is in default namespace. When i try adding the 'eoip_if' interface as a ...
0 votes
1 answer
198 views

Get Originating device(physical device) info for Packets trapped on Bridge

Lets assume below given is the set of net devices that my frame is intended to traverse over. eth0(1) -> bond0(2) -> bridge(3) -> vlan100(4). >>> (number) is the ifindex for each netdevice I have ...
  • 51
0 votes
0 answers
37 views

How can I view which ports are blocked and why the other ports are activated on a Linux Bridge?

This was one of the questions I had on an exam about computer networks (translated from dutch). The answer should be one single command.
  • 1
0 votes
0 answers
661 views

Creating a bridge to connect a router and a proxy server

There is a proxy server which I have no control over. It is completely blocked and firewalled. I want my device to connect to the internet through the proxy without having to enter the proxy details. ...
0 votes
2 answers
8k views

how remove an interface from bridge?

For some reason, we noticed two physical interfaces (eth0, eth3) are under the same bridge vmeth0. We need to remove eth3 from vmeth0 bridge without affecting the rest of the configuration. Please ...
1 vote
0 answers
228 views

Configure KVM in Debian 9 and bridge network remove Wi-Fi and not working

I'm trying to install and configure KVM in Debian following this guide. When I restart the network after configuring /etc/network/interfaces.d/br0 my wi-fi connection goes off. I've noticed that if I ...
  • 265
1 vote
1 answer
558 views

FreeBSD rc.conf not adding lagg group to bridge on system start up or service restart

I am not sure what I am doing wrong here. I have the following configuration in my /etc/rc.conf on my (personal) server. cloned_interfaces="bridge0 lagg0" ifconfig_igb0="up" ifconfig_igb1="up" ...
2 votes
0 answers
293 views

How to bridge two wifi networks, one private, one with internet connection, one linux PC with connections to both [duplicate]

I have a local wifi "hotspot" with various devices on it. I have a second hotspot which provides internet access (android). I have a Ubuntu PC with two wireless cards - one connected to the android ...
3 votes
1 answer
3k views

How to quickly configure/start the linux box L2 switch

I had a fully isolated LAN 192.168.22.0/24 with two HW switches: 1Gbit and 10Gbit. The old 10Gbit switch could handle 1Gbit, too, hence there were no problem to connect the both switches together. ...
  • 1,080
2 votes
1 answer
1k views

Open vSwitch datapath and linux bridges

I am trying to understand the internal mechanism of how Open vSwitch leverages the linux infrastructure, specifically difference between OVS bridges and br-xx (linux bridge). I am new to this field, ...
  • 83
3 votes
0 answers
478 views

dhclient Active for Interfaces with BOOTPROTO=none

I'm facing a strange issue with my Linux bridge system (CentOS 7.6.1810). I have two interfaces configured with a bridged network (IP of the bridge is 192.168.42.253). When I reboot the system, it ...
0 votes
1 answer
116 views

docker user defined network

How come on a user defined network (driver:bridge) containers can not only communicate by IP address, but can also resolve a container name to an IP address, and on the default network (also driver:...
1 vote
2 answers
821 views

Debian: 2 interfaces, 2 gateways

My goal is: to have two network interfaces on a system eth0 and tap0, and both of them have a working internet connection. I should be able to selectively bind services/programs in both. Apache ...
  • 711
1 vote
1 answer
376 views

How to prioritize traffic using bridge and qdisc?

I'm trying to prioritize traffic over the Linux-based software bridge in my network. When I generate traffic locally (on the machine hosting the bridge), the traffic is correctly prioritized. However, ...
  • 11
1 vote
0 answers
737 views

qemu kvm VM needs to access Internet by bridging wifi

I have some Qemu KVM virtual machines (CentOSs and Debians mostly) and my host is an Ubuntu. I configured the VMs networks with virtio virbr0, and I also made it work by creating a virtual interface, ...
2 votes
1 answer
58 views

What is creating these br-##### bridges?

What is creating these bridges (as visible in the NetworkManager) upon start? I have to delete them all every time in order for internet connectivity on a certain WiFi point to work, and as far as I ...
0 votes
0 answers
3k views

How to set up functional private network bridge on qemu/kvm?

System My host is running Fedora 29, and my internet connection is wifi. Note that I am using X.org, not wayland; the SDL option in qemu doesn't work on wayland, and the curses option has trouble ...
  • 373
1 vote
0 answers
148 views

Unable to block packets to Guest OS with iptables

My home workstation is running a windows OS Guest Machine with bridged connection to br-ex ( OVS bridge). enp0s25 is the LAN NIC connected to br-ex ovs bridge. Host OS has IP 194.168.1.4 and ...
  • 774
0 votes
1 answer
2k views

How to route between two bridge interfaces?

So I have a total of two bridges. One has the 10.0.0.1/24 subnet (br0), and the other has the 10.1.0.1/8 subnet (br1). I want to setup an NGINX reverse proxy that would run on a container connected ...
1 vote
1 answer
161 views

Enable conection bridge in centOS 6.1

It used a vm with centos 6 in bridge, without any problem. But today, when starting vm, it is stated that there is no connectivity to the network. I have the following error message: 'Bonding, ...
  • 11
3 votes
1 answer
2k views

Accessing internet hosts from qemu guests behind a bridged network

I am trying to set up a number of qemu quests on the same private network. I want them to not be accessible outside the host but they should be able to access each other and resources from the ...
0 votes
0 answers
282 views

Isolating bridge interfaces from interfaces not connected to them

I am trying to build an emulation platform for emulating an LTE connection using ns-3 and tap interfaces inside a single real host. I have found this very complicated. I want to be able to create a ...
0 votes
1 answer
2k views

Network Bridge for VM not working after reboot

I have a CentOS 7 host with a network bridge set up for guest VM's to use. All was well until a recent reboot. After the reboot, the guest VM does not have internet access, nor can it ping other local ...
0 votes
1 answer
759 views

Trouble setting up Raspbian network bridge

I'm trying to set up a raspberry pi as a network bridge between a wireless access point and a router (the reason for this being that I'd like to connect a device to the AP and use tc on the pi to ...
1 vote
0 answers
1k views

Linux bridge stops working after adding 2nd interface

I am trying to bridge two interfaces in a linux VM on a Mac but adding the second interface to the bridge breaks everything. I'm hoping to get some guidance on what I'm doing wrong. Setup: Network --...
  • 111
2 votes
2 answers
5k views

what nmcli command shows interfaces belonging to bridge

I've created bridge br0 and added interfaces eth0 and eth1 to this bridge nmcli con add ifname br0 type bridge con-name br0 nmcli con add type bridge-slave ifname eth0 master br0 nmcli con add type ...
1 vote
1 answer
728 views

vagrant network bridge using public static ip

I am using vagrant 2.2.3 version and I want to configure bridge network using static ip address. My code is: Vagrant.configure("2") do |config| config.vm.network "public_network", auto_config: ...
5 votes
1 answer
16k views

How does iptable work with linux bridge?

Setup: VM1 --- Bridge -- VM2 VM1 and 2 are on same subnet. Bridge has 2 interfaces added to brctl bridge. When I block VM2 ip using uptables -A FORWARD -s (VM1 ip) -j DENY it doesn't work. I ...
3 votes
0 answers
385 views

Add interface that is up to a bridge

I'm trying to compose /etc/network/interfaces that would combine two ethernet interfaces in a brdige. The problem is that the system boots using PXE loader and NFS root, and one of the interfaces ...
0 votes
1 answer
64 views

OpenVPN does not work with Gateway, but does with bridge

i want use openvpn on Linux Mint. When i tries the VPN connection (i am client) i writes these commands : sudo openvpn --config file.tcp.ovpn then my authorization Enter Auth Username: user_xy ...
2 votes
1 answer
2k views

Bridge network stop working with kvm/qemu

2-3 months ago I followed this article https://brooks.sh/2017/12/22/configuring-kvm-on-clear-linux/ to setup bridge network for kvm/qemu guest ubuntu. My Host os is ClearLinux. However the guest OS ...
  • 121
4 votes
1 answer
1k views

How to make docker.service wait for cni0.netdev bridge during systemd boot?

I'm running Ubuntu 18.04.1 LTS I have created a cni0.netdev and cni0.network file in /etc/systemd/network to create a virtual bridge to use for a local Kubernetes cluster/node. I have enabled ...
  • 169
1 vote
0 answers
89 views

connect LKVM vms over bridge

I'm using lightweight VM lkvm which creates tun interfaces on the host. Now I want to connect two instances of lkvm over bridge interface, similar to what other VMs do: VM1 ...
  • 1,603
0 votes
1 answer
867 views

Xen on Ubuntu 18.04 with IPv4 (NAT) and IPv6

I'm renting a dedicated server at Hetzner and installed Ubuntu server 18.04 LTS on it. I've got two public IPv4 addresses named x.x.x.x and y.y.y.y and one IPv6 /64 block for connecting my private ...
  • 23
1 vote
0 answers
93 views

OpenVPN bridge gateway stops all traffic

I am not sure if this is a linux or windows issue. I have openvpn set up with a bridge interface that includes tap0 and eth0. I have my client machine (win10) getting its IP through my dhcp server. ...
  • 29
5 votes
0 answers
1k views

Linux bridge SNAT with ebtables

I was reading the following code (dot1x bridge bypass): https://github.com/mubix/8021xbridge/blob/master/scripts/trans_bridge.prepop A quick description, we have 2 interfaces, the first is connected ...
  • 131
0 votes
1 answer
168 views

No ethernet ip address in my vocore2

I just flashed my vocore2u with openwrt 18.06.1, and plug it with an ethernet cable to access network while setting up wireless access-point for my phone. The AP is working and connected to the ...
0 votes
1 answer
1k views

Not able to ssh from VM to VM via linux bridge

I want to able to ssh from VM1 to VM2, both VM are connected to a Linux bridge(br0). Below is my topology VM1(m1)<====SSH====>[br0]<======SSH=====>VM2(m2) 1 Created bridge br0 $ sudo ...

1 2 3
4
5
10