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).

learn more… | top users | synonyms

14
votes
1answer
21k views

Good detailed explanation of /etc/network/interfaces syntax?

I understood the very basic concept of how to use /etc/network/interfaces, but all I find online are examples, example after example, which I can copy-paste from. What I miss is an explanation of the ...
13
votes
2answers
40k views

Bring down and delete bridge interface that's up

How do I remove a bridge that has an IP address that was brought up manually and isn't in /etc/network/interfaces? $ ifconfig br100 br100 Link ...
7
votes
1answer
4k views

Why is VirtualBox Bridged networking slow

When logged into the guest, data transfer (scp) from the host is very slow (<1MB/s). Is this expected? setup: VirtualBox host is Debian Unstable VirtualBox guest is Debian 6 (Squeeze) Bridged ...
7
votes
4answers
7k views

Docker + Bridges + DHCP

I have a lot of docker containers that I need addressable on the the same LAN as their hosts. Up until now, I have been achieving this by using setting up a bridge and manually assigning them IPs, and ...
7
votes
2answers
2k views

Why does Linux require moving IP from eth interface to bridge interface

When a network interface (e.g., eth0) is added to a Linux bridge (e.g., br0), the IP address must be removed from eth0 and added to br0 for the networking to function properly. I recall reading in ...
6
votes
1answer
118 views

Understand Linux kernel virtual bridge port numbering

I have a Linux kernel virtual bridge which contains interfaces eth1 and tap0: # brctl show br0 bridge name bridge id STP enabled interfaces br0 8000.00016c404fa3 ...
5
votes
2answers
4k views

How to know if a network interface is tap, tun, bridge or physical?

As far as i know, there are 4 main types of network interfaces in linux: tun, tap, bridge and physical. When i'm doing sys admin on machines running KVM, i usually come accross tap, bridge and ...
5
votes
1answer
2k views

How can I most simply transparently bridge traffic between wlan0 and eth0?

I am looking to do this on a Raspberry Pi, but I don't mind which operating system I have to install, so the easiest most out-of-the-box solution for Pidora (Fedora 20 Remix), Raspbian (Debian) or ...
4
votes
3answers
2k views

Using bridge utils to connect two computers via Linux

I have been using bridge utils previously to connect my network connected computers to a single interface on my Linux computer. The problem I'm having is when I installed a new Linux (with Slackware) ...
4
votes
1answer
2k views

bridge does not forwarding packets centos

I am using CentOS 6.5 64 and use xen to create a virtual machine (CentOS) ifconfig [root@CentOS ~]# ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:54:B3:FA inet6 addr: ...
4
votes
1answer
3k views

Share Internet connection from a Debian laptop to a FreeBSD desktop

I have this situation: My Debian laptop is connected to the Internet via its wlan interface through my wireless router. Recently I decided to install FreeBSD on a very old machine (a celeron 300Mhz) ...
4
votes
1answer
4k views

Why does my firewall (iptables) interfere in my bridge (brctl)?

I set up a bridge br0 "attached" to two interfaces: eth0, my physical interface connected to the real LAN, vnet0, a KVM virtual interface (connected to a Windows VM). And I have this single ...
4
votes
1answer
1k views

Adding wlan0 to xenbr0

I'm setting up xen on debian to do some testing and having problems with the bridge. I would like to use wlan0 as the bridge, but can't seem to get this working. Currently I have tried this: # This ...
4
votes
1answer
1k views

tc on bridge port

I have a 4 port bridge: root@Linux-Switch:~# brctl show bridge name bridge id STP enabled interfaces br0 8000.000024cd2cb0 no eth0 eth1 ...
4
votes
1answer
1k views

Fedora 18 guest in VirtualBox 4.2: How to assign static IPv4 address to guest regardless of active ethernet interface on host

I have a Ubuntu 13.04 host running VirtualBox 4.2.12. This host has both a wired and a wireless network interface, but only one of which would usually be active at any given time. For example, at home ...
4
votes
1answer
2k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
4
votes
0answers
176 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= ...
3
votes
2answers
5k views

Extra bridge interfaces get added automatically

I have a bridge set up between eth0 and br0, the bridge works fine, but sometimes, for unknown reasons and circumstances, I keep getting these off vethXXXXXX interfaces added to the bridge. When this ...
3
votes
5answers
11k views

Cannot delete bridge - “bridge br0 is still up; can't delete it”

I have the same problem as this guy : Bring down and delete bridge interface that's up But that solution does not work for me. I remove all interfaces from the bridge using brctl delif . I then ...
3
votes
1answer
1k views

Does Linux virtual bridge support VLAN's?

Does Linux virtual bridge(configured with for example ip or brctl) support VLAN's? For example configure access ports in different VLAN's and trunk ports with only certain VLAN's enabled. Only option ...
3
votes
2answers
68 views

Do I want a Repeater or a Bridge? (OpenWrt)

I'm setting up a network with openwrt. I have a router that I have set up for wifi which I will use as an access point. I want to add another router to my network so that the two can exchange traffic ...
3
votes
1answer
286 views

Why do the members of a bridge lose their Ip address?

I have created a bridge using to existing network interfaces: $ brctl addif br0 eth1 $ brctl addif br0 eth2 Why do eth1 and eth2 lose their IP addresses? What's the reasoning behind it? PS this is ...
3
votes
2answers
2k views

Xen, bridge and multiple IPs on CentOS

There's a new server that is assigned 5 IP addresses. I want to use Xen to run several VMs with various services. This is my first attempt to install Xen, I use this tutorial as a guideline. Stuck ...
3
votes
2answers
3k views

Equivalent for netsh start network on linux

I recenty read about the Windows option for creating an access point, that will run on the same physical device, as the machine. So that I can connect my other devices to that network, and have access ...
3
votes
1answer
2k views

Settings when using a bridge

I have a bridge set up between my physical Ethernet interface, eth0, and the virtual interface for OpenVPN, tap0. The bridge has an IP address, and the machine can be contacted on that IP address from ...
3
votes
2answers
3k views

Bridge not working

We want to create bridge (mybridge) on our board over eth0 and eth1 interface. The board runs Linux 2.6.34.9. Following are the commands: brctl addbr mybridge ifconfig eth1 0.0.0.0 ifconfig eth0 ...
3
votes
2answers
3k views

OpenVPN bridge. Can't access machines on local network

Followed this guide: https://wiki.archlinux.org/index.php/OpenVPN_Bridge This is my setup: I have a wireless router(192.168.2.1) which connects to the Internet through a PPPoE connection and acts as ...
3
votes
2answers
3k views

no network on domU in network-bridge configuration for Xen-4.0

I created a very standard Xen-4.0 domU with network-bridge configuration. However, no packets get out from the virtual machine to the network which bridge (peth0) is attached to. From guest I can ping ...
3
votes
1answer
255 views

Create virtual network adapter with own MAC and IP?

I have a server with 4 different IPs over one real NIC. Now i try to setup different virtual network adapter in debian with this IPs. The Problem is, that each IP needs also a specific MAC. Otherwise ...
3
votes
1answer
508 views

Docker error creating bridge

after installing Docker on a Ubuntu 14.04 minimal system with these commands, apt-get update apt-get install docker.io ln -sf /usr/bin/docker.io /usr/local/bin/docker sed -i '$acomplete -F _docker ...
3
votes
1answer
2k views

How to send data from serial port over wifi?

I have microcontroller device which reads data from sensors and sends it via Serial to USB converter (ftdi232 cable). This Serial to USB converter is connected to ARMv7 mini-computer - CuBox with ...
3
votes
1answer
493 views

How to setup wireless AP with two wifi cards and ethernet as WAN on debian?

I'm trying to build wireless AP with 2 Atheros cards (AR5413 / AR5414 both), and one ethernet card to act as WAN. I am also having doubts if I should use ath5k or madwifi drivers. I've tried both ...
2
votes
2answers
135 views

Add virtual bridge without the loss of networking?

There is a dedicated server without KVM-over-IP support. The server 'owns' two IP addresses, and one of those is used for eth0 at the moment. The user needs to add a virtual bridge, in order to ...
2
votes
1answer
1k views

Why IP address for Linux Bridge which is layer 2 virtual device?

Shouldn't bridge (or a switch) be working without having an IP address? I believe I can have a bridge br0 setup with eth0 and eth1 as members both having no IP addresses. I can't understand why an ...
2
votes
2answers
347 views

Can I have a bridged interface without an IP?

I have 2 NICs: eth0 & eth1 on a host OS which runs some VMs (LXC) under it. The hosts eth0 is connected to a private network and configured as the primary interface. The hosts eth1 is connected ...
2
votes
1answer
2k views

connecting (bridging) two networks

I would like to connect (bridge) two networks (ppp0 and eth2). Normally you would do this with brctl but one of the network-interface is a ppp-device so it won't work (ppp can't transport ppp-frames). ...
2
votes
1answer
4k views

Why does adding a non-VLANed interface to a bridge break the VLANed interfaces?

I'm working with VLANs on briges and have found that if I add a non-VLAN interface to any bridge, it breaks all the VLAN interfaces - packets leave just fine, but the return packets (which are ...
2
votes
1answer
78 views

How to count the number of interfaces in a bridge

I want to bring a bridge down only when the last port is removed and so I have this somewhat hokey check to do it brctl show looks awkward to parse to get the information out and doesn't feel much ...
2
votes
3answers
132 views

Bridge/Router with custom logic

I've a Linux box with 3 network adapaters, which I'd like to configure as follow: Adapter A is connected to computer A Adapter B is connected to computer B Adapter C is connected to the Internet. ...
2
votes
1answer
2k views

Bridged network with different subnets

I want to virtualize my webserver with lxc/virsh for this reason, I want to pass a IP to the lxc container. But my IPs are from different subnets, what I tried (but not successfully): Virsh network: ...
2
votes
1answer
364 views

LXC external IP configuration for containers

I rent a dedicated server and want to use LXC instead of KVM. I want to buy IPs for every single container. For now i have two external IPs: 193.X.X.30/32 213.X.X.31/32 I prefer a routing solution ...
2
votes
1answer
222 views

Wireless network bridge

I am trying to create a network bridge to allow virtual machines to use my wireless card to connect to my home network. My plan was to do something like: iw dev wlp12s0 set 4addr on brctl addbr ...
2
votes
1answer
1k views

Bridge does not get IP via DHCP at boot

I'm running CentOS 7. I'm not running NetworkManager, and I've actually uninstalled it. My system is supposed to acquire an IPv4 address via DHCP on br0 at boot. Howver, when I log in, it has no ...
2
votes
0answers
241 views

Packets switched through Linux bridge have very high packet delay variation and latency? [closed]

I configured a very simple bridge under Debian Wheezy(kernel 3.2.0-4-686-pae). I simply created bridge interface with brctl addbr br0 and added interfaces eth1 and eth2 into this bridge with brctl ...
2
votes
0answers
374 views

Forward multicast between two LAN segments (Chromecast)

I've found some rules but most are inconclusive. Chromecast uses DIAL and discovers via multicast from what I've understood.. I have an Ethernet-connected computer which I would like to route via my ...
2
votes
0answers
1k views

Multiple virtual interfaces all bridged to eth0

I'm following this tutorial for setting up bridged a bridged Ethernet interface using uml-utilities and bridge-utils and it works for 2 interfaces but no more than 2. What I'm trying to achieve is ...
2
votes
0answers
2k views

Using a bridge, an LXC container can't ping router, but the host OS can

I've got a virtual machine running under virtualbox, and in that virtual machine I've got an LXC container I'm trying to bridge to virtualbox's NAT interface: ------------- ----------- ...
2
votes
0answers
240 views

Network in LXC not forwading through a bridge

I've got an LXC container, on the host I've got a bridge between the LXC container and eth0. The LXC container can ping it's Host 10.1.0.5, but can't ping the gateway of 10.1.0.2. The host is able to ...
1
vote
1answer
1k views

How to bridge two WiFi interfaces on raspbian

How can I bridge two WiFi interfaces (wlan0 and wlan1) on raspbian? I tried using brctl but i get the following message can't add wlan1 to bridge br0 operation not supported. Is there any other way to ...
1
vote
1answer
238 views

Plain Bridge vs. Open vSwitch

Is there any performance benefit in using Open vSwitch over a plain bridge?