Configure bridge interface (802.1D)

By default all mbox interfaces are layer 3 interfaces (routed mode), hosted coming in from different interfaces have to be routed across mbox to communicate. Sometimes it’s desirable to allow the communicate directly, eg. wireless users and LAN interface.

mbox support 802.D ethernet Bridging, which allows hosts connected to different mbox ports to communicate directly, by assigning them into the same bridge. Hosts connected to the same bridge belong to the same network subnet. Packets are forwarded based on Ethernet address, rather than IP address (like a router). Since forwarding is done at Layer 2, all protocols can go transparently through a bridge.

When configuring bridging interfaces, following conditions apply:

    • all interfaces belonging to the same switching domain must be assigned to the same bridge instance (bridge-group)
    • each interface should have no IP address assigned.
    • only assign IP address on the bridge interface (eg. default gateway of the hosts in that segment)

CONFIGURATION STEPS

    • assign target physical interfaces into a bridge group
    • configure a logical bridge interface

SUMMARY STEPS

enableconfigureinterface eth numberbridge-group bridge_group_numberinterface bridge bridge_group_numberip address ip_address/prefix (no ip address ip_address/prefix)

CONFIGURATION EXAMPLES

mbox> enablembox#mbox# configurembox(config-if)# interface eth1mbox(config-if)# enablembox(config-if)# bridge-group 0mbox(config-if)# exitmbox(config)#mbox(config-if)# interface eth2mbox(config-if)# enablembox(config-if)# bridge-group 0mbox(config-if)# exitmbox(config)#mbox(config)# interface bond1mbox(config-if)# enablembox(config-if)# ip address 10.1.1.254/24mbox(config-if)# exitmbox(config)#exitmbox# show interface bridge br0bridge name bridge id STP enabled interfaces------------------------------------------------------------------------------------------------br0 8000.00900b327700 no eth0 eth2