-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[202205][dualtor][active-standby] The routes to tun0
are removed after shutdown all ports in a vlan
#11924
[202205][dualtor][active-standby] The routes to tun0
are removed after shutdown all ports in a vlan
#11924
Comments
Hi @prsunny, could you please take a look at this issue? |
If we shutdown all mux ports that are all |
Recent link down test failures are due to this:
|
@lolyu , is this a valid usecase that we admin down the Vlan ports? |
Yes, these failures should be regression as they are passed previously, could you please help identify the change that causes this? |
link down testcases are passing on 202012 image, but they are failing on 202205 image. |
@Ndancejic , can you please take a look at this? |
Before shutdown, ip link show Vlan1000 and Bridge are up, and arp entry for neighbor is present:
After shutdown, on 202205 ip show Vlan1000 and Bridge are down, and arp entry for neighbor is removed:
On 202012 however, the arp entry remains:
This is a behavior change between 202012 and 202205, will research why this is happening further |
@Ndancejic, thanks for the investigation. |
The root cause is that, on bullseye, linux now will flush all arp entries learnt from a device if the device comes to
And there is a newer PR to make this configurable via a new sysctl parameter
But with image 202205, the kernel now is v5.10. @prsunny, can we include this patch in our kernel patch list: https://github.com/sonic-net/sonic-linux-kernel/tree/443253f637ec3dccac246199977a6d65346d7878/patch? And explicitly disable this option in |
Reopen as it needs a swss change to work |
Description
On a dualtor setup, if the mux ports on one ToR are all
active
and they are members under the same vlan, if we are trying to shutdown those mux ports one by one, after shutdown the lastup
port, all routes totun0
for previousdown
ports will be removed, and the routes to the mux servers will be directed to the default route.Steps to reproduce the issue:
active
ports one by one except portEthernet124
Ethernet124
Describe the results you received:
Describe the results you expected:
the route to mux servers should have nexthop as
tun0
Output of
show version
:syslog after shutdown the last
up
portEthernet124
The text was updated successfully, but these errors were encountered: