Hello,
LNS protocol works on MikroTik RouterOS very stable faster and more reliable than Cisco Routers now!
The previous major issue within MikroTik RouterOS was for "AVP" authentication protocol which MikroTik doesn't supported and the broblem caused by that issue:
-There are two kind of LNC in BELL infrastructure " Alcatel router " and " Juniper router "
MikroTik RouterOS had no issue to accept L2TP requests from Alcatel LAC and users can authenticated without any issue but none of the requests from Juniper LAC doesn't seen by MikroTik Routes " LNS "
I have added the debug file from Juniper router when it try to authenticate and authorize MikroTik LNS requests:
---------------------------------------------
Effective administrative state is enabled
State is established
Failover resync is silent failover
Local tunnel id is 3830, peer tunnel id is 1887
Host profile is none
Tunnel is Up for: 0 days, 0 hours, 0 minutes, 16 seconds
Sub-interfaces total active failed
Sessions 235 1 209
Switched-sessions 0 0 0
Statistics packets octets discards errors
Control rx 78 73302 558 0
Control tx 881 137238 0 0
Data rx 22 1268 0 0
Data tx 223 6503 0 0
Control channel statistics
Receive window size = 64
Receive ZLB = 56
Receive out-of-sequence = 0
Receive out-of-window = 22
Transmit window size = 4
Transmit ZLB = 26
Transmit queue depth = 1
Retransmissions = 607
Tunnel operational configuration
Peer host name is 'MikroTik'
Peer vendor name is 'MikroTik'
Peer protocol version is 1.0
Peer firmware revision is 0x0001
Peer bearer capabilities are none
Peer framing capabilities are sync
————————————————————————————————————————
————————————————————————————————————————
bas1-burlington03:wholesale#sh log data severity 7 | include electromech-2
DEBUG 11/02/2015 19:11:48 l2tp: Authenticate configuration data: tag = 2, type
= 1, transport = ipUdp, routerId = Router 0x80000043, address = 67.69.118.59,
tName = electromech-2, tSecret = 3L3c7M3c, tLocalHostName = bas1-burlington03,
tRemoteHostName = , tLocalAddress = 67.69.201.193
DEBUG 11/02/2015 19:11:48 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2): tunnel: state = dying, event = start, next state =
closeDown
DEBUG 11/02/2015 19:11:48 l2tp (interface TUNNEL l2tp:121500/electromech-2):
Update IP transport config: local address = 67.69.201.193, remote address =
67.69.118.59
DEBUG 11/02/2015 19:11:48 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2): tunnel: state = closeDown, event = open, next state
= openDown
DEBUG 11/02/2015 19:11:48 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2): tunnel: state = openDown, event = upActive, next
state = txSccrq
NOTICE 11/02/2015 19:11:48 l2tp (interface TUNNEL l2tp:121500/electromech-2):
Changing mibState from idle to connecting
NOTICE 11/02/2015 19:11:48 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Changing effective adminState from
disabled to enabled
DEBUG 11/02/2015 19:11:48 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2/11480336): lacIncomingSession: state = closeDown,
event = open, next state = openDown
DEBUG 11/02/2015 19:11:48 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2): tunnel: state = txSccrq, event = txComplete, next
state = waitCtlReply
INFO 11/02/2015 19:11:48 l2tp (interface TUNNEL l2tp:121500/electromech-2):
Processing incoming in-sequence sccrp
DEBUG 11/02/2015 19:11:48 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2): tunnel: state = waitCtlReply, event = sccrp, next
state = txScccn
DEBUG 11/02/2015 19:11:49 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2): tunnel: state = txScccn, event = txComplete, next
state = established
NOTICE 11/02/2015 19:11:49 l2tp (interface TUNNEL l2tp:121500/electromech-2):
Changing ifOperStatus from Down to Up
NOTICE 11/02/2015 19:11:49 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Changing ifOperStatus from LowerLayerDown
to Down
DEBUG 11/02/2015 19:11:49 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2/11480336): lacIncomingSession: state = openDown,
event = up, next state = txIcrq
NOTICE 11/02/2015 19:11:49 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Changing mibState from idle to connecting
DEBUG 11/02/2015 19:11:49 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2/11480336): lacIncomingSession: state = txIcrq, event
= txStarted, next state = waitReply
NOTICE 11/02/2015 19:11:49 l2tp (interface TUNNEL l2tp:121500/electromech-2):
Changing mibState from connecting to established
INFO 11/02/2015 19:11:49 l2tp (interface TUNNEL l2tp:121500/electromech-2):
Processing incoming in-sequence icrp
DEBUG 11/02/2015 19:11:49 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2/11480336): lacIncomingSession: state = waitReply,
event = icrp, next state = waitForwarding
NOTICE 11/02/2015 19:11:49 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Changing ifOperStatus from Down to Up
DEBUG 11/02/2015 19:11:49 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2/11480336): lacIncomingSession: state =
waitForwarding, event = forwardingEnabled, next state = txIccn
DEBUG 11/02/2015 19:11:49 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2/11480336): lacIncomingSession: state = txIccn, event
= txStarted, next state = established
NOTICE 11/02/2015 19:11:49 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Changing mibState from connecting to
established
NOTICE 11/02/2015 19:11:50 l2tp (interface TUNNEL l2tp:121500/electromech-2):
Discarding incoming duplicate icrp
WARNING 11/02/2015 19:12:06 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Lac incoming open disabled - tunneled
interface down
DEBUG 11/02/2015 19:12:06 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2/11480336): lacIncomingSession: state = established,
event = close, next state = txCdnClose
NOTICE 11/02/2015 19:12:06 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Changing ifOperStatus from Up to Down
NOTICE 11/02/2015 19:12:06 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Changing mibState from established to
disconnecting
WARNING 11/02/2015 19:12:06 l2tp (interface TUNNEL
l2tp:121500/electromech-2/11480336): Lac incoming open disabled - access
interface down
DEBUG 11/02/2015 19:12:06 l2tpStateMachine (interface TUNNEL
l2tp:121500/electromech-2/11480336): lacIncomingSession: state = txCdnClose,
event = reset, next state = txCdnClose
———————————————————————————————————————
INFO 11/02/2015 19:43:05 aaaUserAccess: User:
3113@enginet.ca; id: GigabitEthernet 5/0/0.1380174:138-174; tunnel access granted
DEBUG 11/02/2015 19:43:05 l2tp: Authenticate configuration data: tag = 2, type = 1, transport = ipUdp, routerId = Router 0x80000043, address = 67.69.118.59, tName = electromech-2, tSecret = 3L3c7M3c,
tLocalHostName = bas1-burlington03, tRemoteHostName = , tLocalAddress = 67.69.201.193
DEBUG 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2): Update IP transport config: local address = 67.69.201.193, remote address = 67.69.118.59
NOTICE 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2): Changing effective adminState from disabled to enabled
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnel: state = closeDown, event = open, next state = openDown
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnelRecovery: state = closeDown, event = open, next state = openDown
NOTICE 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2): Changing ifOperStatus from LowerLayerDown to Down
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnel: state = openDown, event = upActive, next state = txSccrq
NOTICE 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2): Changing mibState from idle to connecting
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnelRecovery: state = openDown, event = up, next state = idle
NOTICE 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2/11480396): Changing effective adminState from disabled to enabled
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2/11480396): lacIncomingSession: state = closeDown, event = open, next state = openDown
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnel: state = txSccrq, event = txComplete, next state = waitCtlReply
INFO 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2): Processing incoming in-sequence sccrp
WARNING 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2): Remote error in incoming sccrp
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnel: state = waitCtlReply, event = badPacket, next state = txStopCcnDisconnecting
WARNING 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500): Changing destination lockout state from not locked to waiting for lockout timeout
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2/11480396): lacIncomingSession: state = openDown, event = silentTerminate, next state = resetOpenDown
NOTICE 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2/11480396): Changing mibState from idle to disconnecting
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2/11480396): lacIncomingSession: state = resetOpenDown, event = reset, next state = openDown
NOTICE 11/02/2015 19:43:05 l2tp: No more configuration records
INFO 11/02/2015 19:43:05 aaaUserAccess: User:
3113@enginet.ca; id: GigabitEthernet 5/0/0.1380174:138-174; type: 0; terminating: l2tp session call failed
NOTICE 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2/11480396): Changing mibState from disconnecting to idle
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2/11480396): lacIncomingSession: state = openDown, event = dying, next state = dying
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2/11480396): lacIncomingSession: state = dying, event = dead, next state = dead
NOTICE 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2): Changing mibState from connecting to disconnecting
INFO 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:109546/accelerated-3): Processing incoming in-sequence hello
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnel: state = txStopCcnDisconnecting, event = txComplete, next state = disconnecting
WARNING 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2/11480396): Lac incoming open disabled - tunneled interface down
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2/11480396): lacIncomingSession: state = dead, event = close, next state = dead
INFO 11/02/2015 19:43:05 l2tp: Downstream buffer sent on slot 5
INFO 11/02/2015 19:43:05 l2tp: Upstream buffer received on slot 5
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnel: state = disconnecting, event = controlChannelDrained, next state = idle
NOTICE 11/02/2015 19:43:05 l2tp (interface TUNNEL l2tp:121500/electromech-2): Changing mibState from disconnecting to idle
DEBUG 11/02/2015 19:43:05 l2tpStateMachine (interface TUNNEL l2tp:121500/electromech-2): tunnel: state = idle, event = dying, next state = dying
————————————————————————————————————————
But recently MikroTik fixed this issue and after 3 days test I have about 300 active session on my MikroTik RouterBOARD as LNS and my processor " cpu usage is only 1% and this is when my Cisco router with less users used 17% of CPU.