sonic-buildimage/files/image_config
Hua Liu b84e3f9e8a Fix can't access IPV6 address via management interface because 'default' route table does not add to route lookup issue. (#17281)
Fix can't access IPV6 address via management interface because 'default' route table does not add to route lookup issue.

#### Why I did it
When device set with IPV6 TACACS server address, and shutdown all BGP, device can't connect to TACACS server via management interface.

After investigation, I found the IPV6 'default' route table does not add to route lookup:

admin@vlab-01:~$ ip -6 rule list
1001:   from all lookup local
32765:  from fec0::ffff:afa:1 lookup default
32766:  from all lookup main
admin@vlab-01:~$

As compare:
admin@vlab-01:~$ ip -4 rule list
1001:   from all lookup local
32764:  from all to 172.17.0.1/24 lookup default
32765:  from 10.250.0.101 lookup default
32766:  from all lookup main
32767:  from all lookup default <== 'default' route table exist in IPV4 route lookup

Issue fix by add 'default' route table to route lookup with following command:
admin@vlab-01:~$ sudo ip -6 rule add pref 32767 lookup default
admin@vlab-01:~$ ip -6 rule list
1001:   from all lookup local
32765:  from fec0::ffff:afa:1 lookup default
32766:  from all lookup main
32767:  from all lookup default <== 'default' route table been added to IPV6 route lookup
admin@vlab-01:~$

##### Work item tracking
- Microsoft ADO: 25798732

#### How I did it
When management interface using 'default' route table, add 'default' route table to IPV6 route lookup.

#### How to verify it
Pass all UT.
Add new UT to cover this change.
Manually verify issue fixed:

### Tested branch (Please provide the tested image version)

- [x]  master-17281.417570-2133d58fa

#### Description for the changelog
Fix can't access IPV6 address via management interface because 'default' route table does not add to route lookup issue.
2024-02-02 14:32:50 +08:00
..
backend_acl Update backend_acl.py to specify ACL table name (#17553) (#17668) 2024-01-04 10:45:26 +08:00
bash Close console session due to user inactivity (#9890) 2022-02-02 09:41:21 +05:30
config-chassisdb [config-chassisdb] use cached variables (#17342) 2024-02-01 09:34:09 +08:00
config-setup Fix CONFIG_DB_INITIALIZED flag check logic and set/reset flag for warmboot (#15685) 2023-08-04 16:00:26 -07:00
config-topology Add support for platform topology configuration service (#12066) 2023-02-01 12:53:45 -08:00
constants [chassis] Support advertisement of Loopback0 of all LC's across all e-BGP peers in TSA mode (#16714) 2023-11-20 09:42:02 -08:00
containercfgd Optimize syslog rate limit feature for fast and warm boot (#17458) 2024-01-10 14:35:30 +08:00
copp [image_config]: Update DHCP rate-limit for mgmt TOR devices (#17630) (#17655) 2024-01-03 17:36:12 +08:00
corefile_uploader Replace os.system and remove subprocess with shell=True (#12177) 2022-11-04 10:48:51 -04:00
cron.d Replace logrotate cron file with (adapted) systemd timer file (#12921) 2022-12-08 14:13:11 -08:00
ebtables [baseimage]: Updates for Ebtables and support for multi-asic (#6542) 2021-01-27 08:36:10 -08:00
environment Update azure.github.io links to sonic-net.github.io (#12209) 2022-10-02 14:02:10 +08:00
fstrim [202012][fstrim] delay fstrim timer after sonic.target (#8737) 2021-09-13 07:37:46 -07:00
hostname Fix to improve hostname handling (#12064) 2022-10-25 14:51:02 -07:00
interfaces Fix can't access IPV6 address via management interface because 'default' route table does not add to route lookup issue. (#17281) 2024-02-02 14:32:50 +08:00
kdump [kdump] Fix kdump error message when a reboot is issued (#7985) 2021-07-01 11:52:38 -07:00
kubernetes [k8master]: Install nc cmd for k8s master network issue debug (#16745) 2023-09-30 01:16:51 -07:00
logrotate Ensure that 'logrotate-config.service' is set as a dependency to start before 'logrotate.service'. (#17312) 2023-12-04 22:14:03 +00:00
misc [docker-wait-any]: Exit worker thread if main thread is expected to exit (#12255) 2022-10-05 18:14:10 -07:00
monit Share image for gnmi and telemetry (#16863) 2023-11-08 08:54:36 +08:00
ntp [202311][cherry-pick][NTP] Add NTP extended configuration (#17487) 2023-12-21 09:45:29 -08:00
pcie-check Support multiple pcie configuration file and change the pcie status table name to match with pcied changes (#7886) 2021-06-16 16:05:48 -07:00
platform Add override_config to load_minigraph in config-setup service (#14834) 2023-05-10 11:54:33 -07:00
rasdaemon [image_config] add rasdaemon.timer (#14300) 2023-04-17 08:58:45 -07:00
readline Disable brackted-paste mode off by default (#12285) 2022-10-06 07:55:09 -07:00
reset-factory Support Reset factory (#14105) 2023-07-11 16:14:17 -07:00
resolv-config [dns] Do not apply dynamic DNS configuration when MGMT interface has static IP address. (#17769) 2024-02-01 09:34:02 +08:00
rsyslog Optimize syslog rate limit feature for fast and warm boot (#17458) 2024-01-10 14:35:30 +08:00
secureboot Add override_config to load_minigraph in config-setup service (#14834) 2023-05-10 11:54:33 -07:00
snmp mvrf_avoid_snmp_yml_config: made changes to pass SNMP config from con… (#4057) 2020-01-28 17:41:21 -08:00
sudoers Improve sudo cat command for RO user. (#14428) 2023-03-27 17:08:14 -07:00
sysctl Change tcp port range to support telemetry and gnmi (#17907) (#17916) 2024-01-26 13:27:30 -08:00
syslog [baseimage]: /host unmount timeout issue during reboot. (#5032) 2020-07-25 01:27:58 -07:00
system-health [system-health] Add support for monitoring system health (#4835) 2020-10-12 11:12:49 +03:00
systemd Fix issue: systemctl daemon-reload would sporadically cause udev handler fail (#15253) 2023-06-25 16:58:14 -07:00
topology [multi-asic][vs]: Update topology script to retrieve hwsku from minigraph (#6219) 2021-02-18 22:02:29 -08:00
updategraph Remove minigraph loading in updategraph script (#11146) 2022-06-21 08:57:57 +08:00
warmboot-finalizer Fix CONFIG_DB_INITIALIZED flag check logic and set/reset flag for warmboot (#15685) 2023-08-04 16:00:26 -07:00
watchdog-control [sonic-utilities] Build and install as a Python wheel package (#5409) 2020-09-20 20:16:42 -07:00
sonic_release [202311] set sonic release value (#17582) 2023-12-21 13:26:53 +08:00