
4: Network Settings
UM Configuration BAT-C2
91
Release 01.0.00 04/2019
Using XML
Include in your file:
<configgroup name=”access point”>
Bridge
The BAT-C2 bridges traffic between an Ethernet and WLAN interface. For example, br0 is a bridge
between eth0 and wlan0. When a bridge is enabled, the
configuration is
used for configuring direct connections into the BAT-C2 over the primary interface; the
configuration is ignored. Both the Ethernet and WLAN link configurations are
used the same as when the bridge is disabled.
Bridging MAC Address specifies the MAC address of bridgeable traffic between the Ethernet and
WLAN interfaces. When bridging is active, this MAC Address will be used as the MAC address of
the WLAN interface. Packets received on the Ethernet interface from this address will be bridged
to the WLAN interface (except traffic directed at the Primary Interface). If this field is not
configured, then the BAT-C2 waits for the first packet to arrive on the Ethernet interface and uses
the source address as the bridging address.
Bridging IP Address specifies the IP address of the bridged client.
When bridging is active, this IP Address will be used to create a static route between this BAT-C2
and the bridged client.
This route is required for connecting to the bridged client from BAT-C2s connected via the access
point network and from this BAT-C2.
If Auto Detect IP Address is enabled, then the BAT-C2 will attempt to learn the IP Address by
using the source or destination IP address of packets arriving on the Ethernet interface.
Notice: Enabling Auto Detect IP Address may affect the performance of running
processes during the learning phase.
During initialization, the bridging subsystem enables and controls both eth0 and wlan0 networks.
These are important aspects to keep in mind:
If the eth0 physical link is inactive, wlan0 is the primary interface.
If the eth0 physical link is active, eth0 is the primary interface.
When the eth0 link is active, the wlan0 link is established. Additionally, the bridging MAC address
is acquired using preconfiguration or auto-detection, and bridging enters the Active state. If either
link goes down, bridging reverts to the Inactive state.
When in the Active state, all packets that arrive on the wlan0 interface are bridged out (through)
the eth0 interface. Similarly, all packets that arrive on the eth0 interface are bridged out (through)
the wlan0 interface. However, exceptions to this behavior include:
Ethernet packets directed specifically to the Ethernet (eth0) MAC address are terminated
internally and are not bridged to WLAN.
An ARP request for the primary interface IP address is terminated internally and is not bridged
to the WLAN.
Ethernet packets that do not originate from the bridging MAC Address are discarded.