-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unstable tcp ldp session when using explicit-null #8313
Comments
The same behaviour with frr 7.5, 7.5.1 |
Hi, I've notice the same behavior for latest 9.2-dev version. Exactly at 3 minutes the LDP session is going down and renewed: R01
R02:
My configs:
R02:
There any workarounds to avoid this issue? Should I disable for the moment |
I have met this same issue, maybe known limitation? any help? Thanks! @donaldsharp @qlyoung |
@anlancs The problem is likely that MPLS label processing isn't enabled on your interfaces via sysctl. You can find instructions on how to enable it here: https://docs.frrouting.org/en/stable-5.0/installation.html#linux-sysctl-settings-and-kernel-modules |
In linux kernel networking stack, the received mpls packets will be processed by the host *twice*, one as mpls packet, the other as ip packet, so its ttl decreased 1. So, we must release the `IP_MINTTL` if gtsm is enabled, it is for the mpls packets caused by the command `label local advertise explicit-null`. This change makes the gtsm mechanism a bit deviation. Fix PR FRRouting#8313 Signed-off-by: anlan_cs <[email protected]>
In linux networking stack, the received mpls packets will be processed by the host *twice*, one as mpls packet, the other as ip packet, so its ttl decreased 1. So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the mpls packets of neighbor session caused by the command: `label local advertise explicit-null`. This change makes the gtsm mechanism a bit deviation. Fix PR FRRouting#8313 Signed-off-by: anlan_cs <[email protected]>
In linux networking stack, the received mpls packets will be processed by the host *twice*, one as mpls packet, the other as ip packet, so its ttl decreased 1. So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the mpls packets of neighbor session caused by the command: `label local advertise explicit-null`. This change makes the gtsm mechanism a bit deviation. Fix PR FRRouting#8313 Signed-off-by: anlan_cs <[email protected]>
In linux networking stack, the received mpls packets will be processed by the host *twice*, one as mpls packet, the other as ip packet, so its ttl decreased 1. So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the mpls packets of neighbor session caused by the command: `label local advertise explicit-null`. This change makes the gtsm mechanism a bit deviation. Fix PR FRRouting#8313 Signed-off-by: anlan_cs <[email protected]>
In linux networking stack, the received mpls packets will be processed by the host *twice*, one as mpls packet, the other as ip packet, so its ttl decreased 1. So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the mpls packets of neighbor session caused by the command: `label local advertise explicit-null`. This change makes the gtsm mechanism a bit deviation. Fix PR #8313 Signed-off-by: anlan_cs <[email protected]> (cherry picked from commit 1919df3)
In linux networking stack, the received mpls packets will be processed by the host *twice*, one as mpls packet, the other as ip packet, so its ttl decreased 1. So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the mpls packets of neighbor session caused by the command: `label local advertise explicit-null`. This change makes the gtsm mechanism a bit deviation. Fix PR #8313 Signed-off-by: anlan_cs <[email protected]> (cherry picked from commit 1919df3)
In linux networking stack, the received mpls packets will be processed by the host *twice*, one as mpls packet, the other as ip packet, so its ttl decreased 1. So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the mpls packets of neighbor session caused by the command: `label local advertise explicit-null`. This change makes the gtsm mechanism a bit deviation. Fix PR #8313 Signed-off-by: anlan_cs <[email protected]> (cherry picked from commit 1919df3)
In linux networking stack, the received mpls packets will be processed by the host *twice*, one as mpls packet, the other as ip packet, so its ttl decreased 1. So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the mpls packets of neighbor session caused by the command: `label local advertise explicit-null`. This change makes the gtsm mechanism a bit deviation. Fix PR #8313 Signed-off-by: anlan_cs <[email protected]> (cherry picked from commit 1919df3)
Describe the bug
When enabling "label local advertisement explicit-null" on both routers, there are problems with maintaining the tcp ldp session. It drops when the Keep Alive timer expires. And immediately its new approval.
iptables is disabled.
No Keep Alive messages are visible on the removed dumps.
I note that if you turn off "label local advertisement explicit-null" on at least one side, the session is stable.
Put "x" in "[ ]" if you already tried following:
[ ] Did you check if this is a duplicate issue?
[ ] Did you test it on the latest FRRouting/frr master branch?
To Reproduce
conf t
mpls ldp
address-family ipv4
label local advertise explicit-null
Expected behavior
Stable maintenance of the tcp ldp session when using the explicit-null label
Versions
CentOS7
5.10.13-1.el7.elrepo.x86_64
7.7-dev_git
The text was updated successfully, but these errors were encountered: