BCP in 3.0beta10 Sample Config

Thanks for releasing the code with BCP!

I’m attempting to use BCP over a L2TPv2 tunnel to a Cisco 7200 LNS. Can someone provide some sample configs for the MikroTik (Surfboard 500) and if possible the Cisco LNS?

I’m very new to the MikroTik so any help would be much appreciated :slight_smile:.

whats bcp ?

Sam

  • added ethernet bridging support to PPP, PPTP, L2TP & PPPoE

In short it provides the ability to transport VLAN & MAC info across any PPP link (such as a L2TP tunnel).

In simple language it means that you can add to bridge any ppp interface :slight_smile:

I’ve created ppp interfaces and secrets. Neither of which are an option to add to a bridge. Are you saying I should be able to add a ppp client or server to a bridge? I’m not seeing it. It’s not an option.

It is not yet available to add ppp interfaces to bridge via winbox. You can do it only from conslole:

/interface bridge port add interface=<your-ppp-int-here> bridge=<your-bridge>

Which RFC for BCP does the MikroTik 3.0Beta10 code support?

RFC-1638 (obsolete)
RFC-2878 (obsolete)
RFC-3518 (current)

I’ve got the following config on the LNS (MikroTik RouterBoard 500).

/interface bridge add name="Paul-Bridge" disabled=no mtu=1500 arp=disabled protocol-mode=none priority=0x8000 auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=20s forward-delay=15s transmit-hold-count=6 ageing-time=5m
/ppp profile add name="NoIPAddr" bridge="Paul-Bridge" use-compression=yes use-vj-compression=no use-encryption=yes only-one=default change-tcp-mss=yes
/interface l2tp-client add name="l2tp-out2" disabled=no max-mtu=1460 max-mru=1460 mrru=disabled connect-to=x.x.x.x user="wifi-user" password="wifi-pass" profile=NoIPAddr add-default-route=yes allow=pap
/interface bridge port add bridge="Paul-Bridge" interface="l2tp-out2"
/interface bridge port add bridge="Paul-Bridge" interface="ether3"

For some reason the LNS, Cisco 7206, shows the tunnel coming up then going down immediately. The MikroTik is issuing a disconnect request and as far as I can tell this isn’t an error. Below is the debug from the LNS showing this.

*Jul 23 21:09:50.303:  Tnl 4057 L2TP: O StopCCN  to MikroTik tnlid 76
*Jul 23 21:09:50.303:  Tnl 4057 L2TP: Control channel retransmit delay set to 1 seconds
*Jul 23 21:09:50.303:  Tnl 4057 L2TP: Tunnel state change from no-sessions-left to shutting-down
*Jul 23 21:09:50.303:  Tnl 4057 L2TP: Shutdown tunnel
*Jul 23 21:09:50.303:  Tnl 4057 L2TP: Tunnel state change from shutting-down to idle
*Jul 23 21:09:50.399: L2TP: I SCCRQ from MikroTik tnl 77
*Jul 23 21:09:50.399: AAA/BIND(000000F6): Bind i/f  
*Jul 23 21:09:50.399:  Tnl 20900 L2TP: New tunnel created for remote MikroTik, address 69.179.205.202
*Jul 23 21:09:50.399:  Tnl 20900 L2TP: Tunnel Authorization started for host MikroTik
*Jul 23 21:09:50.399: L2X: Tunnel author reply L2X info not found
*Jul 23 21:09:50.399:  Tnl 20900 L2TP: O SCCRP  to MikroTik tnlid 77
*Jul 23 21:09:50.399:  Tnl 20900 L2TP: Control channel retransmit delay set to 1 seconds
*Jul 23 21:09:50.399:  Tnl 20900 L2TP: Tunnel state change from idle to wait-ctl-reply
*Jul 23 21:09:50.407:  Tnl 20900 L2TP: I SCCCN from MikroTik tnl 77
*Jul 23 21:09:50.407:  Tnl 20900 L2TP: Tunnel state change from wait-ctl-reply to established
*Jul 23 21:09:50.407:  Tnl 20900 L2TP: SM State established
*Jul 23 21:09:50.415:  Tnl 20900 L2TP: I ICRQ from MikroTik tnl 77
*Jul 23 21:09:50.415:  Tnl/Sn 20900/127 L2TP: Session FS enabled
*Jul 23 21:09:50.415:  Tnl/Sn 20900/127 L2TP: Session state change from idle to wait-connect
*Jul 23 21:09:50.415:  Tnl/Sn 20900/127 L2TP: New session created
*Jul 23 21:09:50.415:  Tnl/Sn 20900/127 L2TP: O ICRP to MikroTik 77/1
*Jul 23 21:09:50.415:  Tnl 20900 L2TP: Control channel retransmit delay set to 1 seconds
*Jul 23 21:09:50.415:  Tnl/Sn 20900/127 L2TP: I ICCN from MikroTik tnl 77, cl 1
*Jul 23 21:09:50.415:  Tnl/Sn 20900/127 L2TP: Session state change from wait-connect to wait-for-service-selection
*Jul 23 21:09:50.415: AAA/BIND(000000F7): Bind i/f Virtual-Template11 
*Jul 23 21:09:50.423: AAA/AUTHEN/PPP (000000F7): Pick method list 'wifi-l2tp' 
*Jul 23 21:09:50.431: AAA/BIND(000000F7): Bind i/f Virtual-Access4 
*Jul 23 21:09:50.431: Vi4 Tnl/Sn 20900/127 L2TP: Session state change from wait-for-service-selection to established
*Jul 23 21:09:50.435: %LINK-3-UPDOWN: Interface Virtual-Access4, changed state to up
*Jul 23 21:09:50.459: Vi4 Tnl/Sn 20900/127 L2TP: I CDN from MikroTik tnl 77, cl 1
*Jul 23 21:09:50.459: Vi4 Tnl/Sn 20900/127 L2TP: disconnect (AAA) IETF: 1/user-request Ascend: 28/PPP Receive Term
*Jul 23 21:09:50.459: Vi4 Tnl/Sn 20900/127 L2TP: Destroying session
*Jul 23 21:09:50.459: Vi4 Tnl/Sn 20900/127 L2TP: Session state change from established to idle
*Jul 23 21:09:50.459: Vi4 Tnl/Sn 20900/127 L2TP: Unbinding session from idb
*Jul 23 21:09:50.459:  Tnl 20900 L2TP: Tunnel state change from established to no-sessions-left
*Jul 23 21:09:50.459:  Tnl 20900 L2TP: No more sessions in tunnel, shutdown (likely) in 10 seconds
*Jul 23 21:09:50.463: %LINK-3-UPDOWN: Interface Virtual-Access4, changed state to down

Any suggestions?

Is the supposed BCP support command line only as well?

you should not (it’s not a bug in winbox, it is supposed to be like that) add the ppp interface to the bridge, simply specify bridge in the ppp profile and it will add ppp to that bridge automatically. it’s also possible to do in winbox

MRRU has to be 1500, and there is nothing else to do.

MrPaul, did you succeed?

This topic is 6 years old, I don’t think he follows it anymore