Commit 4e8a863
VXLAN: Fix oper_status and tunnel encapsulation TTL
This fixes 2 issues across a range of open tickets building upon patches
created by others with modifications as requested by @VladimirKuk.
The first issue this resolves is the status shown for remote vteps
which in the fact that it is wrong makes debugging nearly impossible:
```
+------------+------------+-------------------+--------------+
| SIP | DIP | Creation Source | OperStatus |
+============+============+===================+==============+
| 172.16.0.1 | 172.16.0.2 | EVPN | oper_down |
+------------+------------+-------------------+--------------+
Total count : 1
```
The VTEP is really up.
Original PR for that is sonic-net#2080.
Also fixes sonic-net/sonic-buildimage#10004
or at least the error message which hurts debugging.
The next issue is in reachabiity across VXLANs. This fixes IP/MAC
learning via ARP. The original PR for that is sonic-net#3216, however it
appears it has its origins in
sonic-net/sonic-buildimage#10050
which goes into greater detail about the issue itself. Also there
is talk about it here kamelnetworks/sonic#9 as well as another
similar patch here: 02ee3e3
Fixes sonic-net#3216
Fixes sonic-net#2080
Fixes sonic-net/sonic-buildimage#10050
Fixes sonic-net/sonic-buildimage#10004
Signed-off-by: Brad House (@bradh352)1 parent f8bd3a1 commit 4e8a863
3 files changed
+15
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7280 | 7280 | | |
7281 | 7281 | | |
7282 | 7282 | | |
| 7283 | + | |
7283 | 7284 | | |
| 7285 | + | |
7284 | 7286 | | |
7285 | 7287 | | |
7286 | 7288 | | |
| |||
7291 | 7293 | | |
7292 | 7294 | | |
7293 | 7295 | | |
| 7296 | + | |
7294 | 7297 | | |
7295 | 7298 | | |
7296 | 7299 | | |
| |||
8240 | 8243 | | |
8241 | 8244 | | |
8242 | 8245 | | |
| 8246 | + | |
| 8247 | + | |
8243 | 8248 | | |
8244 | 8249 | | |
8245 | | - | |
8246 | 8250 | | |
8247 | 8251 | | |
8248 | 8252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
357 | 355 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
362 | 359 | | |
363 | 360 | | |
364 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
199 | | - | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
302 | | - | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| |||
0 commit comments