Commit 78e2abb
committed
sbr: Add test for preserveDefaultRoutes option
Add test that verifies the preserveDefaultRoutes option correctly maintains
subnet routes in the main routing table with source IP hints for destination-
based routing.
The test verifies:
- Source-based routing rules are created (table 100)
- Subnet routes exist in main table with source hints
- Subnet routes also exist in table 100
- Default routes exist in table 100
This enables both explicit source routing (ping -I) and destination-based
routing (plain ping) to work simultaneously.
Signed-off-by: David Whyte-Gray <[email protected]>1 parent 9abdf21 commit 78e2abb
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
691 | 691 | | |
692 | 692 | | |
693 | 693 | | |
694 | | - | |
695 | | - | |
696 | 694 | | |
697 | 695 | | |
698 | 696 | | |
| |||
753 | 751 | | |
754 | 752 | | |
755 | 753 | | |
756 | | - | |
| 754 | + | |
757 | 755 | | |
758 | 756 | | |
759 | 757 | | |
| |||
779 | 777 | | |
780 | 778 | | |
781 | 779 | | |
782 | | - | |
783 | 780 | | |
0 commit comments