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

Can't add route with a nexthop of a PortChannel #8907

Closed
DavidZagury opened this issue Oct 6, 2021 · 2 comments · Fixed by sonic-net/sonic-utilities#1857 or #8911
Closed

Can't add route with a nexthop of a PortChannel #8907

DavidZagury opened this issue Oct 6, 2021 · 2 comments · Fixed by sonic-net/sonic-utilities#1857 or #8911

Comments

@DavidZagury
Copy link
Contributor

Description

We no longer can add routes with a nexthop of a PortChannel.
This was possible until the refactor of add/del route functions in this PR - [config]Static routes to config_db (sonic-net/sonic-utilities#1534)

Steps to reproduce the issue:

  1. config portchannel add PortChannel0001
  2. sudo config route add prefix 20.0.0.1/32 nexthop PortChannel0001

Describe the results you received:

Command fails with error:
Error: ip address is not valid.

Describe the results you expected:

Command succeed and route added successfully.
Route should be appear in "show ip route" output.

Additional information you deem important (e.g. issue happens only occasionally):

This was possible until the refactor of add/del route functions in this PR - [config]Static routes to config_db (sonic-net/sonic-utilities#1534)

@d-dashkov
Copy link
Contributor

Started looking into it

@DavidZagury
Copy link
Contributor Author

@prsunny the pr that was merged is not enough to fix this issue, we still need to merge sonic-net/sonic-utilities#1857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants