Skip to content
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

Regarding the issue with NHRP #17611

Open
2 tasks done
gh0813 opened this issue Dec 9, 2024 · 1 comment
Open
2 tasks done

Regarding the issue with NHRP #17611

gh0813 opened this issue Dec 9, 2024 · 1 comment
Labels
triage Needs further investigation

Comments

@gh0813
Copy link

gh0813 commented Dec 9, 2024

Description

Regarding the issue with NHRP, I used version 10.2 of FRR to create a basic NHRP environment, but there was no direct communication between the two spoke nodes. At first, I thought it was my mistake that caused the problem. Later, I used the built-in test topology NHRP-REDUNDANCY/test_nhrpUREDUNDANCYPy in the FRR source code, and found that there was also a problem. NHC1 showed IP NHRP shortcut, but the display information was empty

Version

test@test:~/frr/tests/topotests$ sudo -E python3 -m pytest -s --topology-only nhrp_redundancy/test_nhrp_redundancy.py
=================================================================== test session starts ====================================================================
platform linux -- Python 3.12.3, pytest-8.3.4, pluggy-1.5.0
rootdir: /home/test/frr/tests/topotests
configfile: pytest.ini
plugins: xdist-3.6.1, asyncio-0.24.0
asyncio: mode=Mode.AUTO, default_loop_scope=module
collected 4 items

nhrp_redundancy/test_nhrp_redundancy.py
--- Munet CLI Starting ---


munet> nhc1 show ip nhrp sh
% No entries
munet> nhc1 show ip nhrp ?
  <cr>
  cache     Forwarding cache information
  json      JavaScript Object Notation
  nhs       Next hop server information
  opennhrp  opennhrpctl style cache dump
  shortcut  Shortcut information
munet> nhc1 show ip nhrp shortcut
% No entries
munet> nhc2 show ip nhrp shortcut
% No entries
munet> nhs2 show ip nhrp shortcut
% No entries
munet> nhs1 show ip nhrp shortcut
% No entries

How to reproduce

test@test:~/frr/tests/topotests$ sudo -E python3 -m pytest -s --topology-only nhrp_redundancy/test_nhrp_redundancy.py
=================================================================== test session starts ====================================================================
platform linux -- Python 3.12.3, pytest-8.3.4, pluggy-1.5.0
rootdir: /home/test/frr/tests/topotests
configfile: pytest.ini
plugins: xdist-3.6.1, asyncio-0.24.0
asyncio: mode=Mode.AUTO, default_loop_scope=module
collected 4 items

nhrp_redundancy/test_nhrp_redundancy.py
--- Munet CLI Starting ---

munet> nhc1 show ip nhrp sh
% No entries
munet> nhc1 show ip nhrp ?

cache Forwarding cache information
json JavaScript Object Notation
nhs Next hop server information
opennhrp opennhrpctl style cache dump
shortcut Shortcut information
munet> nhc1 show ip nhrp shortcut
% No entries
munet> nhc2 show ip nhrp shortcut
% No entries
munet> nhs2 show ip nhrp shortcut
% No entries
munet> nhs1 show ip nhrp shortcut
% No entries

Expected behavior

Two spots can communicate directly

Actual behavior

The two spokes did not achieve direct communication

Additional context

No response

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.
@gh0813 gh0813 added the triage Needs further investigation label Dec 9, 2024
@gh0813
Copy link
Author

gh0813 commented Dec 9, 2024

@ton31337 Can you help me take a look at this issue? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs further investigation
Projects
None yet
Development

No branches or pull requests

1 participant