Manual:BCP bridging (PPP tunnel bridging): Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
m (→‎BCP Configuration (Winbox): Add Short Description)
m (Protected "BCP bridging (PPP tunnel bridging)" [edit=sysop:move=sysop])
(No difference)

Revision as of 10:17, 18 May 2009

Summary

RouterOS supports BCP (Bridge Control Protocol) for PPP, PPTP, L2TP and PPPoE interfaces. BCP allows to bridge Ethernet packets through the PPP link. Established BCP is independent part of the PPP tunnel, it is not related to any IP address of PPP interface, bridging and routing can happen at the same time independently. BCP can be used instead of EoIP + used VPN Tunnel or WDS link over the wireless network.

Requirements

BCP (Bridge Control Protocol) should be enabled on both sides (PPP server and PPP client) to make it work. MikroTik RouterOS can be used with other PPP device, that supports BCP accordingly to the standards, but BCP enabled is necessary.

Configuration Example

We need to interconnect two remote offices and make them in one Ethernet network. We have requirement to use encryption to protect data exchange between two offices. Let's see, how it is possible with PPTP tunnel and BCP protocol usage

Configuration Diagramm

Simple configuration is like this. We have two offices, which are remotely located. Office I is going to be used as PPTP server, Office 2 is going to be used PPTP client. Below you will see how to set configuration using Winbox and CLI.

BCP.png

BCP Configuration (Winbox)

We need to establish PPTP tunnel, specify bridge name for BCP

Office I Configuration
  • PPTP server configuration is necessary at Office I. Enable PPTP server through PPP menu;

screen

  • Setup PPP profile for PPTP server, remember we need to establish encrypted PPTP link;
    • Local-address, Point-to-Point IP address assigned to PPTP tunnel at server side;
    • Remote-address, Point-to-Point IP addresses assigned to PPTP tunnel at client side, use /ip pool for multiple clients;
    • Use-Encryption, enable the option to set encrypted PPP link
Office 2 Configuration

BCP Configuration (CLI)

Office I configuration
Office 2 configuration