Questions tagged [bridge]

Bridging is a forwarding technique used in packet-switched computer networks. Unlike routing, bridging makes no assumptions about where in a network a particular address is located.

Bridging is a forwarding technique used in packet-switched computer networks. Unlike routing, bridging makes no assumptions about where in a network a particular address is located. Instead, it depends on flooding and examination of source addresses in received packet headers to locate unknown devices. Once a device has been located, its location is recorded in a table where the source address is stored so as to avoid the need for further flooding. The utility of bridging is limited by its dependence on flooding, and is thus only used in local area networks.

Bridging generally refers to transparent bridging or learning bridge operation which predominates in Ethernet. Another form of bridging, source route bridging, was developed for token ring networks.

A network bridge connects multiple network segments at the data link layer (Layer 2) of the OSI model. In Ethernet networks, the term bridge formally means a device that behaves according to the IEEE 802.1D standard. A bridge and a switch are very much alike; a switch being a bridge with numerous ports. Switch or Layer 2 switch is often used interchangeably with bridge.

Advantages of network bridges

  • Simple bridges are inexpensive
  • Isolate collision domains with microsegmentation
  • Access control and network management capabilities
  • Bandwidth scales as network grows

Disadvantages of network bridges

  • Does not limit the scope of broadcasts
  • Does not scale to extremely large networks
  • Buffering and processing introduces delays
  • A complex network topology can pose a problem for transparent bridges. For example, multiple paths between transparent bridges and LANs can result in bridge loops. The spanning tree protocol helps to reduce problems with complex topologies.

Source: wikipedia

938 questions
2
votes
1 answer

Ubuntu/KVM Bridge Interface IP Assignment

I have a Ubuntu 12.04 LTS machine running KVM/libvirt. It has two physical ethernet interfaces. I have dedicated eth0 as the primary interface and configured bridging on eth1 for my VMs. The KVM host /etc/network/interfaces looks like this: # The…
sardean
  • 833
  • 3
  • 15
  • 34
2
votes
1 answer

Questions about bridging VLANs

If, across the same building, I have two physically separate networks to connect devices together via simple switches, my understanding is that I could save myself some hardware-complexity if I were to instead use smart-switches, connect them to…
Markus A.
  • 419
  • 7
  • 18
2
votes
1 answer

bridging multiple openvpn networks

Is it possible two bridge multiple openvpn networks like following - root | ---------------------------------- S1 C1 C2 S4 | | …
Tushar
  • 29
  • 4
2
votes
0 answers

access tap interface in network namespace across machines

I want to be able to access services running on a TAP interface within a namespace from outside the machine where it is running. I have setup that looks like this - VM1/Machine1 +eth0 : Public Network +eth1 : Private Network (IP:…
gusaki
  • 143
  • 1
  • 6
2
votes
2 answers

How to setup IP alias on bridged interface in Ubuntu

How do I setup an IP alias on a bridge (br0) device on Ubuntu ? If I wait for br0 to come up and then do /sbin/ifconfig br0:0 192.168.10.1 netmask 255.255.255.0 then it works fine. If however I add the following to my /etc/network/interfaces…
Anonymouslemming
  • 891
  • 4
  • 15
  • 26
2
votes
1 answer

Mirror network packets from WiFi to Ethernet in an ASUS Router RT N53

I have an ASUS RT N53 router, running the default firmware (Linux 2.6.22 with busybox and uclibc). I need to capture data packets from some Wi-Fi devices I have connected to that router (iPad and some smartphones), but the router is not forwarding…
fazineroso
  • 123
  • 1
  • 5
2
votes
2 answers

How to capture arp table when using network bridging?

I have a computer with 2 NICS that are bridged and I need a means of distinguishing between machines connected to eth0 from machines connected to eth1. I was hoping to use something like the "arp -a" command. However, when the NICS are bridged, the…
user975326
  • 121
  • 1
  • 4
2
votes
1 answer

Filter broadcast traffic in a bridge port

I have a linux bridge with three interfaces, e.g. tap0, tap1 and tap2. What I would like to do is to modify the standard bridge behavior in the following way: If a L2 broadcast is originated from tap0 then this should only be forwarded to tap2…
Dani Camps
  • 301
  • 6
  • 11
2
votes
0 answers

Networking with lxc containers with local dhcp and external ipv6 double bridge problems

I want to use both ipv6 externally on all my containers, and ipv4 external only on the hosts. I am using Ubuntu 12.04 64bit. For ipv4 on the container I use the DHCP that came with the lxc installation. I got the setup working, but I'm not sure this…
Rocky
  • 21
  • 1
2
votes
1 answer

Linux bridge static IP using only one NIC

It seems like I have a generic problem, but can't find any solution - every solution that I found so far on internets doesn't work for me. Let me first try to explain what I am trying to do - I have a linux box with three interfaces - one is uplink…
w1nter
  • 21
  • 2
2
votes
2 answers

Bridged network connection not working on Ubuntu VM

I am in a corporate environment and there is 802.1x authentication set up which is using my windows credentials + domain to authenticate. Setting up that information for my connection in the VM only keeps prompting me for the password. I want to…
Stephen K
  • 162
  • 8
2
votes
2 answers

openvpn (tun0 + bridge) : Comunication bridge --> tun0 works but not the opposite direction

My network is composed as follows: Host A with ip 9.x.x.x and vpn ip 192.15.206.x (openvpn client) Host B with ip 9.x.x.x and vpn ip 192.15.206.1 (openvpn server) this host has a bridge br0 with ip 192.168.206.1 Host C with ip…
Bemipefe
  • 115
  • 1
  • 11
2
votes
2 answers

Disable IP on bridge

OK, I'm running libvirt on my server, I have only one interface. In order to use the public IP in my VM I need to set up a bridge, everything OK so far.. But I don't want to setup an IP address on the bridge interface. When I leave the bridge…
user158720
  • 43
  • 4
2
votes
0 answers

OpenVPN: Run 'bridge-start' on boot before starting openvpn service (Ubuntu)

I've got OpenVPN working properly on my server, using bridge-start and bridge-stop scripts to create and remove network bridge, respectively. How do I set these scripts up to run bridge-start at boot before starting OpenVPN, and bridge-stop at…
Christiaan
  • 121
  • 2
2
votes
3 answers

Bridging eth0 to wlan0

I'm trying to create the followig setup: +----------+ | Wi-Fi | +----------+ ^ …
user122772