Project

General

Profile

Actions

Bug #10407

closed

L2TP static route not re-added after connection down/up

Added by Federico Chiaravalli over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
L2TP
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

How to recreate:
Create L2TP VPN
Create a default gw to the VPN subnet
Create the static route
  • route is added to diagnostics -> routes
    Disconnect from VPN
  • route is deleted from diagnostics -> routes
    Reconnect to VPN
  • route is not re-added
    Disable the static route
    Enable the static route
  • route is added to diagnostics -> routes

The static route should be automatically re-added when the L2TP interface is up.
I'm not sure if this is an intended behaviour, I googled it, and I didn't found anything related to this - so I assume that this is a bug.

Actions #2

Updated by Jim Pingle over 4 years ago

  • Category set to Interfaces
  • Status changed from New to Needs Patch
  • Start date deleted (04/01/2020)

The L2TP WAN-type interface design is not designed to be used with VPNs. It may work, but not intentionally. It is designed to be used for ISPs which require it for WAN connectivity.

Though the routing behavior as stated is undesirable, I don't see us putting internal resources toward supporting this use case.

If someone wants to submit a PR to correct the behavior, we can certainly consider it.

Actions #3

Updated by Viktor Gurov about 4 years ago

  • Affected Version set to 2.5.0
Actions #4

Updated by Jim Pingle about 4 years ago

  • Status changed from Needs Patch to Pull Request Review
  • Target version set to 2.5.0
  • Affected Version deleted (2.5.0)
Actions #5

Updated by Renato Botelho about 4 years ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #6

Updated by Viktor Gurov about 4 years ago

  • % Done changed from 0 to 100
Actions #7

Updated by Jim Pingle about 4 years ago

  • Category changed from Interfaces to L2TP
Actions #8

Updated by Alhusein Zawi about 4 years ago

route is not deleted if reconnecting.

Static route will be deleted if L2TP interface is down.

Static route will be added if L2TP interface is up/reconnected.

2.5.0.a.20201118.1850

Actions #9

Updated by Alhusein Zawi about 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF