-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
After assigning IP address to router port via ifconfig ping to host from the same subnet is not working #22
Labels
Comments
Steps to reproduce are the following:
The following error is observed in logs
|
Issue was closed by mistake |
Thanks a lot for reporing this issue. It looks like the orchagent is trying to delete a rif while it is been referenced. I think current orchagent does not have the logic to protect a rif been removed when it is still in use. We probably need to add the logic there. |
oleksandrivantsiv
added a commit
to oleksandrivantsiv/sonic-swss
that referenced
this issue
Jun 9, 2017
Issue: sonic-net/SONiC#22 Issue was observed only when setting IP address via ifconfig command. Caused by ifconfig command behavior: first is sets IP address with netmask /8 and then changes netmask to specified in command. Problem is not observed when set IP address with "ip addr" command.
oleksandrivantsiv
added a commit
to oleksandrivantsiv/sonic-swss
that referenced
this issue
Jun 9, 2017
Issue: sonic-net/SONiC#22 Issue was observed only when setting IP address via ifconfig command. Caused by ifconfig command behavior: first is sets IP address with netmask /8 and then changes netmask to specified in command. Problem is not observed when set IP address with "ip addr" command.
oleksandrivantsiv
added a commit
to sonic-net/sonic-swss
that referenced
this issue
Jun 12, 2017
Issue: sonic-net/SONiC#22 Issue was observed only when setting IP address via ifconfig command. Caused by ifconfig command behavior: first is sets IP address with netmask /8 and then changes netmask to specified in command. Problem is not observed when set IP address with "ip addr" command.
stcheng
pushed a commit
to sonic-net/sonic-swss
that referenced
this issue
Jun 12, 2017
Issue: sonic-net/SONiC#22 Issue was observed only when setting IP address via ifconfig command. Caused by ifconfig command behavior: first it sets IP address with netmask /8 and then changes netmask to specified in command. Problem is not observed when set IP address with "ip addr" command. Introduced overlaps variable to check if the newly set IP prefix has any overhaps with the current IP prefixes and wait until there is no overlaps at all.
Issue fixed. |
michaelli10
pushed a commit
to michaelli10/SONiC
that referenced
this issue
May 23, 2020
Update based on SONiC YANG
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Platform: Mellanox SN2700
Description:
After assigning IP address to router port via ifconfig ping to host from the same subnet is not working. ARP packets are handled, neighbor is added on both sides. ICMP packets on device are sent but not trapped. Possible root cause - trap route for router port is not created (sx_api_router_uc_routes_dump_all.py doesn't show this route). When IP address is set in config and deployed by Ansible ping works as expected.
The text was updated successfully, but these errors were encountered: