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
4
votes
1 answer

eth0 on lxc does not work

I am facing some problems that the eth0 on lxc container does not work. I already tried Bridging LXC containers to host eth0 so they can have a public IP, but it does not help. On my host (Ubuntu on virtualbox): # cat…
akry
  • 141
  • 1
  • 2
4
votes
1 answer

Network Bridge in dom0 can not ping domU's

I am using Debian wheezy with XEN 4.1. I have two network bridges xenbr0 and xenbr1. xenbr0 is linked to the real-eth0-nic so the domU's can talk to the outside world, which worked fine. xenbr1 was intended as an internal network bridge for…
Spocky
  • 41
  • 3
4
votes
2 answers

Stop duplicate icmp echo replies when bridging to a dummy interface?

I recently configured a bridge br0 with members as eth0 (real if) and dummy0 (dummy.ko if). When I ping this machine, I receive duplicate replies as: # ping SERVERA PING SERVERA.domain.local (192.168.100.115) 56(84) bytes of data. 64 bytes…
brandeded
  • 1,845
  • 8
  • 32
  • 50
4
votes
1 answer

KVM and bridge_stp setting

In which situation one should enable the bridge_stp for the host bridge when using KVM? Is it worth keeping it disabled when not needed?
S19N
  • 1,803
  • 1
  • 19
  • 28
4
votes
1 answer

KVM second private network (bridged), how to get working?

this seems to be a hard problem. I would therefore be very thankfull for your advice. I spend two days trying to get this running, but with no success. (The Public IP Stuff is working, but not the private network) Goal: Setting up a "second private…
user97961
  • 63
  • 1
  • 5
4
votes
2 answers

What is the correct way to setup a bonded bridge on Centos 6 for KVM guests?

What is the correct way to setup a bonded bridge on Centos 6 for KVM guests? I'd currently playing around with a setup of two KVM-hosts which will each host several guests. I have two HP DL380:s with 4 nics each. I'd like to use two nics (eth0,…
Arlukin
  • 1,203
  • 6
  • 18
  • 27
4
votes
2 answers

Can ufw on a kvm host restrict traffic to guests?

I've set up a number of guests running on kvm on Ubuntu. Network access for the guests is via network bridge with br0 sitting on top of eth0. I have ufw running on the host machine and this is restricting traffic to the host. Is there a way to make…
tooba
  • 197
  • 1
  • 6
4
votes
2 answers

Create a bridged network connection using only the command line

I want to bridge two network connections on a Microsoft Hyper-V Server 2008 R2. As I'm essentially using a "Server Core", GUI is not available, so I can't use the usual way. (Right click the network connections and select bridging). Also the netsh…
4
votes
1 answer

How to use VirtualBox as a router without NAT between two subnets?

My host machine is in a 192.168.2.0/24 subnet and I wanted to set up a 10.0.0.0/8 network with various hosts in VirtualBox that talk to each other. So VirtualBox should act as a router between those two networks. Now in VB I have the choice between…
4
votes
2 answers

Random temporary network freeze on kvm guest machines

I'm running two guest machines under KVM. The host is running Arch Linux (kernel version 2.6.38.2), the guests are both CentOS 5.5 (kernel version 2.6.18). I have the networking set up as a bridge, more-or-less as follows (I'm not doing it by…
Rick Koshi
  • 917
  • 3
  • 14
  • 22
4
votes
1 answer

Any way to make a virtual bridged network adapter in windows? Like VMware has?

is there any way to make a virtual network adapter in windows (that has its own mac address, and lets me bridge it to another connection? So in the end, it'll be like another physical connection that's connected to its own internet.) I noticed…
reed1
  • 43
  • 1
  • 1
  • 3
4
votes
2 answers

Linux bridge redundancy

I make heavy use of Linux Bridges (brctl) as I have a Xen environment. At the minute, only one physical NIC is connected to the bridge (There are many virtual NICs for the Xen VMs though). In order to get some redundancy working, what steps would I…
jtnire
  • 817
  • 2
  • 8
  • 16
4
votes
2 answers

No ARP reply on tap0 (KVM bridged networking)

I wanted to assign an external IP address to my KVM guest and went the bridged networking way. Unfortunately the guest has no network connectivity and I don't know why. After investigating it seems that it doesn't get any reply for it's ARP…
MasterM
  • 1,061
  • 2
  • 11
  • 18
4
votes
1 answer

Is there a better way to do bonded vlan tagged interfaces with XEN

We have a number of XEN servers all running CentOS or RHEL. The VM's that they run are all required to be on their own VLAN for no other reason than the customer expects them to be. Long story short however, I can't change this right now. We are…
AJ01
  • 131
  • 9
4
votes
3 answers

How strict is line of sight?

The college where I work is wanting to expand our network connection out to the field house building, located about 1/2 to 3/4 mile away from the rest of campus. I'm looking at one of these as a possible…
Joel Coel
  • 12,932
  • 14
  • 62
  • 100