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

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 ...
3
votes
1answer
412 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
991 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
368 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 ...
1
vote
1answer
38 views

How can I have a bridge that uses DHCP?

I have set up a linux box (centos 7) to use for virtualizing some servers. I have set up a bridge, but I need to do it with DHCP, but it doesn't seem to like it. The reason I need DHCP is because ...
1
vote
1answer
223 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 ...
1
vote
1answer
241 views

Allow multicast packages from the bridge to wire in KVM

On a CentOS 6.5 host, I have a couple of guests - Ubuntu 12.04 and CentOS 6.5. The Ubuntu guest is generating mcast traffic that is visible via a tcpdump on the br3 interface. It is also visible on ...
1
vote
1answer
608 views

Arch Linux Ethernet to WiFi bridge

I want to use a Raspberry Pi running Arch Linux to extend my WiFi network. My situation is that I have a spare WiFi router that I want to use to expand my WiFi reception range as well as give me a few ...
1
vote
1answer
75 views

Using a laptop as a bridge between Internet and LAN for SSH connections.

We have a lan and a server running HPUX that isn't connected to the Internet. I have a server and a laptop on the same network. When I plug in the laptop via ethernet cable, its Internet connection ...
1
vote
1answer
44 views

Creating a virtual interface to always access a DHCPed interface with the same ip

I have an interface that on connect always gets a new IP. So I want to create a virtual interface with a static IP that "relays" everything over the physical interface. This would be useful to bind ...
1
vote
1answer
159 views

brctl Not working fine with bridging eth0 and at0

I made an access point with airbase-ng and its at0 I tried to bridge my eth0 and at0 by brctl addbr demo brctl addif demo eth0 brctl addif demo at0 brctl demo up dhclient3 demo & already removed ...
1
vote
1answer
2k views

Bridge interfaces with Vlan on Linux based access point

I have a Linux based wireless access point. It has eth0 interface for ethernet, ath0 for wireless and br-wan as a bridge between the two. bridge name bridge id STP enabled ...
0
votes
1answer
54 views

trouble bridging tap0 and tap1

I have a GNS3 router that is connected to tap1 in my host. On the other hand, I have an user application connected to tap0 running locally in my host. I can ping both the router and my application. ...
0
votes
1answer
93 views

Secondary bridge only working at random in debian wheezy

We are currently migrating from vmware server to kvm. So far everything works smooth, with the exception of the secondary bridge. Our network layout is as follows: Firewall with 3 ports eth0 Public ...
4
votes
0answers
139 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
0answers
88 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 ...
2
votes
0answers
518 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 ...
1
vote
0answers
17 views

Outgoing masquerade address changes after adding a second interface to the bridge

In fact I have the following configuration: extrouter(192.168.1.1) <- wifi -> [eth2 (192.168.1.11) Centos 6/6 based host br0 (172.22.5.254)] br0 contains two tap interfaces (tap0/172.22.5.1 ...
1
vote
0answers
16 views

Unable To Bridge Two Teamed Interfaces - Advice?

Before the wall of code I'll explain the situation. I'm trying to set up two interfaces to be teamed together, and from that team create a bridge. I've been studying for the RHCE and I believe this ...
1
vote
0answers
10 views

OpenWRT on embedded device as firewall

I have the following setup in my network: My internet comes in through an ATT Uverse modem/router. The router is in bridge mode because that ATT Uverse modem/router connects to a second higher ...
1
vote
0answers
58 views

How to create a wireless-to-ethernet router?

I have a Debian machine, which I want to turn into a router. It will connect via wireless to a access-point, where it will get an IP. To its ethernet port, other machines will be connected. It will ...
1
vote
0answers
179 views

rp_filter dropping packets in linux bridges+vlan_tagged interface + tap interfaces configuration

I've a linux bridge which has it's first interface as a eth0.123 (VLAN tagged interface) & one or more tap interfaces created by kvm. (libvirt+kvm VM) [root@compute1 ~]# brctl show bridge name ...
1
vote
0answers
30 views

Bridging/Sharing a networkable printer in freebsd

I'm trying to "bridge" a ricoh laser printer to the rest of my network with a freebsd box, I have some other services running on there, such as mediatomb and have been using it as a file/media server. ...
1
vote
0answers
72 views

I have a firewall bridge in pfSense and I want to log only the allowed packet

I have a bridge0 which has members em0 (wan) and vge0 (lan) I connect via ssh on vge0, when I tcpdump -i pflog0 I get the blocked packets from the bridge0, but when I tcpdump -i bridge0 I get both ...
1
vote
0answers
168 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 ...
1
vote
0answers
52 views

No traffic tc class at bridge interface

I make bridge interface like this [root@]# brctl show bridge name bridge id STP enabled interfaces br67 8000.002655e38b20 no eth6 eth7 ...
1
vote
0answers
85 views

Problem with getting bridge to work when set up with a script

I'm trying to set up a bridge, essentially turning my machine into a switch. I'm running a dhcp server on the same machine with INTERFACES='br0' as the interface setting. /etc/network/interfaces ...
1
vote
0answers
556 views

iptables and physdev match confusion

I'd like to be able to prevent a network bridge from generating certain types of traffic from some of its interfaces. If I understand iptables correctly, packets generate by a device appear on the ...
1
vote
0answers
539 views

OpenWRT configuration when router is in bridged mode

I am planning on putting my Zyxel ADSL modem in bridged mode and use an OpenWRT router instead as the exit point from my local network. So, what protocol must have the Wan interface if the router is ...
1
vote
0answers
80 views

How to associate a seperate station to a Wifi AP

My Linux machine (A) is connected with some Wifi AP over my wireless device (wlan0). I want to give some other Linux machine (B), which is connected to me by ethernet (eth0), access to this network. I ...
1
vote
0answers
185 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
0answers
1k 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: ------------- ----------- ...
1
vote
0answers
390 views

lxc networking quesion

I have a similar requirement to the OP of this thread. I want the following configuration: -Physical host (PhyHost) reachable from the network at IP 10.1.101.89 -LXC container (LxcHost) ...
1
vote
0answers
383 views

Wlan0 Static Ip bridge

EDIT: Even taking br0 out, still cannot get a static IP connection. I had the following /etc/network/interfaces configuration and it was working auto lo iface lo inet loopback auto eth0 iface etho ...
0
votes
0answers
10 views

synproxy on a bridge

I am trying to implement synproxy to my firewall, on a bridge interface (between eth1 and eth2). Here are my rules: /usr/local/sbin/iptables -t raw -i PREROUTING -i br0 -m physdev --physdev-in eth1 ...
0
votes
0answers
45 views

default route of br0 gets dev eth0 instead of dev br0

On my LinuxMint laptop, i have a recurring problem with my bridge br0. On each start up, the default route does not work. The routing table uses eth0 instead of br0 probably because of dhcp. i roam ...
0
votes
0answers
42 views

linux vlan bridge feature backport to 2.6 kernels

The VLAN-aware bridge was introduced to the Linux mainline on the 3.x kernels, according to this article on lwn: VLAN filtering/VLAN aware bridge Has this feature been backported to the 2.x kernels ...
0
votes
0answers
71 views

How to bridge a VM to public IP

I wish to to assign the IP from my eth1:2 to a VM; I also have no use of this IP for the host, it would be desirable to be exclusive to the VM. I've ended up with a setup just like this (eth1:1, ...
0
votes
0answers
71 views

How to bridge the eth0 (ethernet) and eth1 (WiFi_Ap)?

I am in the WiFi test embedded board. The ethernet port eth0 is connected to the Internet. The interface eth1 is caused due to the WiFi chip. The Access Point can be used as a WiFi eth1 is. We use the ...
0
votes
0answers
40 views

bridge or iptables or route?

iptables vs bridge-utils vs route I have two network cards in a Linux server and don't know how to make them communicate. After searching a lot I still don't know which method is the one that should ...
0
votes
0answers
88 views

Debian, Dibbler, IPv6 and Bridging Woes

I'm currently trying to setup my Dedibox LT as a virtualisation (KVM) server. I've elected to use Debian instead of Proxmox or ESXi for various reasons. Currently I'm having problems with getting ...
0
votes
0answers
94 views

Plain Bridge vs. Open vSwitch

Is there any performance benefit in using Open vSwitch over a plain bridge?
0
votes
0answers
264 views

Debian WLAN to LAN bridge, double IP address

Target device is Raspberry Pi, with Debian running kernel 3.12.9-1+rpi1. I want to bridge USB WLAN card with local Ethernet NIC, but I want to have 2 IP addresses on that bridge interface, one from ...
0
votes
0answers
110 views

How to merge two network interface in one?

I have two network interface on my router: wlan0 and wlan1. First for 2.4Ghz and second for 5Ghz. Also i have Coova-chilli with setting HS_LANIF=wlan0. Therefore captive portal (chilli) work for only ...
0
votes
0answers
180 views

Bridging lxc vs virtualbox

Something that is confusing me is the difference between "bridging" with a Virtualbox VM, and an lxc container. When you start a start a VM, the VM creates a bridge ( apparently ) as a user. ...
0
votes
0answers
30 views

Can we add ports to OVS AFTER the VM is created?

I wanted to write up a program where I can create VMs first using libvirt. Initially they would not be added to any network. Then I want them to be attached to an OVS bridge where I can specify the ...
0
votes
0answers
60 views

Bridge-utils installed on ubuntu 13.04 but unable to start the service

I upgraded my laptop Ubuntu 12.04 to 13.04. Before upgraded to Ubuntu 13.04, I installed qemu-kvm, bridge-utils, libvirt-bin & ubuntu-vm-builder. There its worked properly, After upgraded to ...
0
votes
0answers
939 views

Debian bridge doesn't accept IPv6 config

I'm currently trying to configure my bridge in Debian 7. I do have a working config for IPv4: auto eth0 iface eth0 inet manual auto br0 iface br0 inet static address xx.xx.xx.131 netmask ...
0
votes
0answers
524 views

eth0 not getting disabled after setting up br0 interface

On debian squeeze, I setup a bridge based on eth0. My /etc/network/interfaces is # The loopback network interface auto lo iface lo inet loopback # The primary network interface #allow-hotplug eth1 ...