By default, all CMG/HSG interfaces operate as Layer-3 interfaces (routed mode). Hosts connected through different interfaces must communicate with each other through routing performed by the router.
In some scenarios, it is desirable for hosts to communicate directly at Layer-2. For example, wireless users may need to be bridged with LAN users so they can access the same local network resources.
RansNet routers support 802.1d Ethernet bridging, which allows hosts connected to different L-3 interfaces to communicate directly by assigning those interfaces to the same bridge.
Hosts connected to the same bridge belong to the same Layer-2 broadcast domain and therefore share the same IP subnet and network mask.
When configuring bridging interfaces, following conditions apply:
assign physical interfaces into a bridge group
each interface should have no IP address assigned.
(optional) assign IP address to the logical bridge interface
SUMMARY STEPS
enableconfigureinterface ethnumberbridge-group bridge_group_numberinterface bridge br<bridge_group_number>ip 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 bridge br0mbox(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