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
2 answers

lxc-net doesn't like static ip for a bridged container

I've just started to use LXC containers and I found that even if I set a particular ip address on lxc container config file, lxc-ls --fancy shows always another ip, which is pingable and the /etc/network/interfaces settings doesn't override lxc-net…
JumpAlways
  • 143
  • 3
  • 9
2
votes
1 answer

OpenVPN setup help - routing or bridging?

This is a question about whether to use Bridged or Routed OpenVPN setup, and how to set up the connection. TLDR: One master site, multiple satelite sites. All sites are on the same subnet. If using Bridged mode, how to prevent unwanted traffic…
Ryan Griggs
  • 963
  • 2
  • 14
  • 29
2
votes
2 answers

Bridge multiple LAN ports to a WAN

I have a network device which has 1 WAN port and 4 LAN ports. This device is running linux under the hood. I want to connect the WAN port to the 'wider network' which supplies DHCP and connect devices to the LAN ports 'transparently' so they each…
guesty
  • 23
  • 3
2
votes
2 answers

Wifi and bridge. No internet. Not supported

ifconfig eth0 Link encap:Ethernet HWaddr 54:04:a6:3d:36:ff UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 …
Croll
  • 93
  • 1
  • 17
2
votes
2 answers

Wifi router supporting bridge mode + isolated guest network

I am in a building where wired internet is provided in a number of rooms, giving you a local IP address when connected to. I now want to add WiFi routers across a number of rooms acting as a single logical network (same SSID). The best way to do…
SoftMemes
  • 143
  • 5
2
votes
2 answers

KVM bridge for promisc interface IDS

I have a KVM virtualization server which serves up a br0 bridge, mapped to eth0. I want to add eth2 as a bridge to br2 for a IDS virtual machine I'm testing, but the guest OS doesn't see either br2 or eth2 as a valid interface. I ran tcpdump on eth2…
batflaps
  • 179
  • 1
  • 3
  • 10
2
votes
0 answers

bridge interface causes boot to hang for many minutes

I have a bridge br0 which is being used as docker's bridge interface and bridges to our vpn with an ipv6 interface. When I set up this bridge manually, everything works fine and I can connect to the vpn (from my laptop) and ping bbbb::2000 as well…
GTF
  • 161
  • 4
2
votes
1 answer

Bridge networks via Wi-FI

I've bridged networks before using wired bridges but just want to check that this is also possible via Wi-Fi. In the attached diagram on the left there is the pretty common laptop connected via Wi-Fi to a Wireless router which is then plugged into…
Rob Nicholson
  • 1,707
  • 8
  • 29
  • 56
2
votes
0 answers

Xen networking - dom0 receives ARP requests but no reachability

Both dom0 and domU are Debian 8. Dom0 network configuration is: auto xenbr0 iface xenbr0 inet manual bridge_ports eth1 bridge_stp off bridge_waitport 0 bridge_fd 0 auto xenbr0.4 iface xenbr0.4 inet static address 192.168.4.13 …
user239293
2
votes
1 answer

tcpdump on bridge interface (virbr) does not receive any packets destined for one of its addresses

Here's the configuration for the interface: # ifconfig virbr0 virbr0: flags=4355 mtu 1500 inet 192.168.11.1 netmask 255.255.255.255 broadcast 255.255.255.255 ether 52:54:00:99:e3:0d txqueuelen 0 (Ethernet) RX packets 0 …
A__A__0
  • 423
  • 2
  • 8
  • 17
2
votes
1 answer

KVM guest cannot connect to host, but works vice versa

I have debian 7 on my host machine and I run a KVM vm on it. My hosts network configuration is this (the relevant parts): br0 Link encap:Ethernet HWaddr 68:b5:99:ae:8f:11 inet addr:77.244.244.123 Bcast:77.244.245.239…
geruetzel
  • 142
  • 1
  • 1
  • 13
2
votes
2 answers

Debian Linux routing additional IP to LXC

I'm trying to route an additional IP of my server from Hetzner to a LXC instance (on Debian Jessie). I've found this guide http://www.jotschi.de/technik/2012/04/18/hetzner-lxc-linux-subnet-configuration.html and followed it. My problem is that as…
K.A.B.
  • 23
  • 5
2
votes
2 answers

wget only works when tcpdump is listening

I am running two Virtual Machines over the XEN hypervisor both with Ubuntu trusty (Linaro-Developer version) with the following simple bridge networking setup: Backend domain (dom0): br0 Link encap:Ethernet HWaddr 02:4d:04:41:96:a9 …
2
votes
1 answer

CentOS 6 ELRepo kernel bridge issues

I'm currently running the following Kernel on CentOS 6.6 from ELRepo [root@de14 ~]# uname -r 4.0.4-1.el6.elrepo.x86_64 Anything related to a bridge doesn't work, what I've come to understand is CentOS runs sysctl.conf before the bridge is come…
2
votes
3 answers

debian lenny xen bridge networking problem

DomU isn't talking to the world, but it talks to Dom0. Here are the tests that I made: Dom0 (external networking is working): ping 188.40.96.238 #Which is Domu's ip PING 188.40.96.238 (188.40.96.238) 56(84) bytes of data. 64 bytes from…