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
3
votes
0 answers

Ubuntu 12.04 - Issue with routing between ethernet and bond/bridge

I have a device which has 3 Ethernet devices and one WiFi-device on board. I'm using eth0 for an internal network (192.168.1.0/24) and eth1, eth2 and wlan0 to connect to an external network (192.168.0.0/24). eth1 and eth2 are configured in a bridge…
Spike101
  • 31
  • 2
3
votes
0 answers

LXC bridge with several IP addresses

While trying to setup a small server with LXC containers, I encountered a problem: I want to assign 4 different IP addresses: 1 address for the host and 3 addresses in a different net for the containers. Setting up 4 IP addresses using virtual…
user2092982
  • 31
  • 1
  • 1
  • 7
3
votes
1 answer

how to associate a Docker network interface to a Linux network interface (eth5) on Linux host?

My Linux host has 8 Ethernet interfaces, eth0 - eth7. I'm running three Docker 1.9 containers on this Linux host. How can I associate a network interface inside one Docker container to a specific Linux physical network interface (say eth5) on the…
Adi
  • 41
  • 1
  • 4
3
votes
1 answer

CentOS, KVM, VLANs and bridging

I need help designing networking for virtualized guests using KVM. My machine is running CentOS 7 and has 2 NICs. I'd like to achieve the following One physical interface (em1) shall be used for host access only. The host will have a pretty normal…
taranion
  • 235
  • 3
  • 7
3
votes
0 answers

Windows network bridge: STP parameters

I recently discovered Windows 7 does support STP upon it's own Ethernet bridges. https://reggle.wordpress.com/2011/09/03/hidden-feature-in-windows-7-spanning-tree/ Although the feature is barely documented by Microsoft, can this work practically…
Hhut
  • 133
  • 6
3
votes
1 answer

ganeti network: change bridge name

I try to add an instance to network, first first I need to connect the network to a bridge. I'm using bridge vbr0 instead of standard xen-br0, gnt-cluster info shows that ganeti has the default set properly. # gnt-network list Network Subnet …
neutrinus
  • 1,125
  • 7
  • 18
3
votes
2 answers

Is there any disadvantage to putting a modem in bridge mode

In order to prevent the need of port forwarding and double natting I plan to put a modem into bridge mode. Are there any side effects or problems that could come of placing a modem into bridge mode in order to allow for easier access to internal…
Jason
  • 3,931
  • 19
  • 66
  • 107
3
votes
1 answer

cannot ping linux network namespace within the same subnet

Here is a quick summary of the issue. I cannot communicate with a linux network namespace within the same subnet. I am running Ubuntu 14.04.1 LTS on a headless server. I have been troubleshooting this for about a week, so thanks in advanced for any…
David Custer
  • 61
  • 1
  • 7
3
votes
0 answers

Add a second bridge to a virtual machine

We have a ubuntu-12.04 host running another ubuntu-12.04 virtual machine with kvm virtualization and bridged network interface on eth4. This network allows the virtual machine access to the outside world. I want to add another bridge (br0) to the…
krishna
  • 31
  • 2
3
votes
4 answers

Xen VM won't come up: could not find bridge device xenbr0 (configured to use routed)

I am using xen 4.4.1 on an Ubuntu 14.04 server, my DomU is running Ubuntu 14.04 Server as well. I've run this DomU in bridge-mode previously no problems. However I want to switch to a routed setup. I changed the DomU config vif…
user280054
  • 31
  • 1
  • 3
3
votes
2 answers

Can a single physical interface act as a “slave” for multiple bridge interfaces?

Can a single physical interface act as “slave” for multiple bridge interfaces? For example, br0 and br1 would use eno1 physical. Got KVM host with 4 physical nics, each nic assigned to a different vlan (en0=vlan1,en1=vlan2,en2=vlan3,en3=vlan3). What…
efusiweb
  • 51
  • 2
  • 4
3
votes
1 answer

Dummynet Filtering not working on FreeBSD 10

I am trying to do network emulation using dummynet in FreeBSD 10. I have this working in 9.3 however things must have changed and I cant determine exactly what but my setup no longer works. I have pretty basic…
Rj01
  • 31
  • 2
3
votes
1 answer

why linux bridge shows 2 mac addresses for one qemu vm?

I am new to qemu networking and pretty confused about the following situation. I launched 5 VMs. Each connects to br0 through a tap device. I also have a dnsmasq listening on br0 for DHCP. The problem is dnsmasq does not hand out ip to VM according…
helloworld
  • 33
  • 1
  • 4
3
votes
1 answer

High packet loss with kvm, bridge and bonding

I have 2 servers connected through cisco linksys sg500. Both hosts have identical configuration (Ubuntu 14.04 LTS, 4 * 1Gb/s network interfaces with bonding). When I set up bridge and interface bonding on both servers and ping first host from second…
supaplex
  • 31
  • 2
3
votes
1 answer

Ping (DUP) with Linux bridges and tap devices

https://i.stack.imgur.com/8XLwU.jpg I have two Linux (Ubuntu 12.04) VM (running on KVM) that networked together using two Linux bridges as shown above. The network interfaces are Linux TAP devices. The problem that I am facing is that when I ping…
vishpat
  • 51
  • 1
  • 5