AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 CLI-based Typical Configuration Examples

Example for Configuring Transparent Bridging to Implement Communication on the Same Network Segment

Example for Configuring Transparent Bridging to Implement Communication on the Same Network Segment

Applicability

This example applies to all models of AR routers in all versions.

Networking Requirements

PCs on LAN 1 and LAN 2 communicate through local bridging and can directly perform network applications over the WAN.

Figure 4-6 Networking diagram of local bridging

Procedure

  1. Configure RouterA.

    #
     sysname RouterA
    #
    bridge 1  //Create a bridge group and generate the virtual bridge.
    #
    interface Ethernet1/0/0
     bridge 1  //Add an interface to the bridge group as the virtual bridge interface.
    #
    interface Ethernet2/0/0
     bridge 1  //Add an interface to the bridge group as the virtual bridge interface.
    #
    return
    

  2. Configure RouterB.

    #
     sysname RouterB
    #
    bridge 1
    #
    interface Ethernet1/0/0
     bridge 1
    #
    interface Ethernet2/0/0
     bridge 1
    #
    return
    

  3. Verify the configuration.

    # PCs on LAN 1 and LAN 2 can successfully ping each other.

Configuration Notes

  • Interfaces added to a bridge group must be Layer 3 interfaces of Ethernet, ATM, and serial types.
  • PCs on LAN 1 and LAN 2 are on the same network segment.