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
3k 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 ...
1
vote
1answer
83 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
45 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
907 views

br0 causes to drop multicast connection after 5 minutes

I have these interfaces set up on the router (Linux machine): br0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500 inet 192.168.0.3 netmask 255.255.255.0 broadcast ...
0
votes
1answer
98 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 ...
11
votes
1answer
11k 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 ...
0
votes
1answer
643 views

Ho to bridge wlan0 in AP mode and eth0 so that eth0 is static and wlan0 uses DHCP?

I have a router that provides internet access. Connected to this router is a desktop PC that has working eth0 (static IP address) and wlan0. Also connected to the router is a laptop which I use to ...
3
votes
1answer
1k 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 ...
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: ...
3
votes
1answer
1k 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 ...
1
vote
1answer
133 views

Bridging two interfaces for intranet only

We have two ALT linux servers with real IPs. They both are in intranet via commutator. Each of them also has an additional LAN network interface. We want to connect these servers to each other ...
1
vote
1answer
69 views

Is an ethernet bridge the correct way?

I want to access a private subnet, is bridging the right way? Example eth0 192.168.178.x tun0 10.8.0.x I can access every VPN client with 10.8.0.x. But I want to access devices from eth0 when ...
1
vote
0answers
577 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
1answer
206 views

Redirection to services in NAT or Bridged Network only with one subdomain

I have one subdomain (dyndns). xyz.dyndns.com (f.e.) Here my question begins: I have a server for virtualisation. On the server I have multiple VMs where different web-services are available ...
1
vote
0answers
587 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 ...
3
votes
1answer
416 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 ...
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 ...
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: ...
0
votes
0answers
1k 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
1answer
614 views

Configuring bridge network in kvm (debian wheezy 7.2)

I am desperately trying to run untangle 10 as a guest in kvm. My host system is debian 7.2 My problem is that I am unable to configure bridges/(virtual)NICS which are successfully identified by ...
1
vote
1answer
171 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
2answers
463 views

Bridging on boot causes system to hang

Whenever I set br0 to automatically start up on boot, it causes the system to hang - usually on a line that says something like "waiting 2 seconds for br0 to get ready" or "bound to x.x.x.x to br0 - ...
0
votes
1answer
974 views

CentOS bridge not passing traffic to eth1?

I'm setting up a network bridge on CentOS 6.4 and I'm not able to pass icmp or tcp traffic via eth1. UDP traffic looks fine. I'm sure that my test host is cabled to eth1 correctly. My config files ...
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 ...
4
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 ...
1
vote
1answer
641 views

Ethernet-bridged OpenVPN server not accepting connections from outside

I have configured an OpenVPN server with ethernet bridging using this howto and this page regarding ethernet bridging. The server is also running Samba, Apache and Webmin. Linux klesk 2.6.32-5-amd64 ...
1
vote
0answers
86 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 ...
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 ...
2
votes
2answers
295 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 ...
4
votes
1answer
941 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
0answers
147 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= ...
1
vote
0answers
199 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: ------------- ----------- ...
2
votes
2answers
4k 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 ...
1
vote
2answers
534 views

Assigning IP to a bridged interfaces

Is there a way to assign an IP to bridged interfaces? For example, under normal circumstances: ifconfig eth0 0.0.0.0 ifconfig eth1 0.0.0.0 brctl addbr mybridge brctl addif mybridge eth0 brctl addif ...
1
vote
0answers
404 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
1answer
2k views

RaspberryPi drops Wifi connection

I am using Airlink Fully compatible Wireless N 150 Ultra Mini-USB Adapter (AWLL5099) with my RaspPi to get internet. I am also bridging this WiFi connection with an Ethernet cable to provide internet ...
1
vote
1answer
3k views

How do I set up several interfaces all bridged onto eth0?

I have found several guides to bridging a single interface (eg br0) onto eth0 but none for multiple interfaces (eg br0, br1 etc). Is this possible?
2
votes
5answers
8k 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 ...
1
vote
0answers
392 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 ...
3
votes
2answers
2k 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
251 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 ...
0
votes
0answers
553 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 ...
3
votes
2answers
1k 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

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 ...
1
vote
1answer
1k 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). ...
4
votes
2answers
3k 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 ...
1
vote
1answer
4k views

VMware Player on Linux, bridge networking

I am having trouble with VMware Player 4.0.3 for Linux. I am trying to run a Linux virtual machine guest (from the Linux host), but am unable to successfully get an IP address on the guest with bridge ...
3
votes
2answers
2k 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 ...