This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src
lguohan 339d2aa6c8 [mgmt ip]: mvrf ip rule priority change to 32765 (#5754)
Fix Azure/SONiC#551

When eth0 IP address is configured, an ip rule is getting added for eth0 IP address through the interfaces.j2 template.

This eth0 ip rule creates an issue when VRF (data VRF or management VRF) is also created in the system.
When any VRF (data VRF or management VRF) is created, a new rule is getting added automatically by kernel as "1000: from all lookup [l3mdev-table]".
This l3mdev IP rule is never getting deleted even if VRF is deleted.

Once if this l3mdev IP rule is added, if user configures IP address for the eth0 interface, interfaces.j2 adds an eth0 IP rule as "1000:from 100.104.47.74 lookup default ". Priority 1000 is automatically chosen by kernel and hence this rule gets higher priority than the already existing rule "1001:from all lookup local ".

This results in an issue "ping from console to eth0 IP does not work once if VRF is created" as explained in Issue 551.
More details and possible solutions are explained as comments in the Issue551.

This PR is to resolve the issue by always fixing the low priority 32765 for the IP rule that is created for the eth0 IP address.
Tested with various combinations of VRF creation, deletion and IP address configuration along with ping from console to eth0 IP address.

Co-authored-by: Kannan KVS <kannan_kvs@dell.com>
2020-11-01 10:41:44 -08:00
..
bash [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
dhcpmon [dhcpmon] Print Both Snapshot And Current Counters (#5374) 2020-09-19 14:06:25 -07:00
gobgp Update go version to 1.11.2 for gobgp and telemetry (#2230) 2018-11-09 21:56:39 -08:00
hiredis [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
ifupdown2 [baseimage]: Upgrade ifupdown2 to version 1.2.8 (#3180) 2019-07-19 23:09:14 -07:00
initramfs-tools [baseimage]: Build specific revision of initramfs-tools (#1957) 2018-08-21 00:00:46 -07:00
iproute2 [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
iptables Changes in sonic-buildimage to support the NAT feature (#3494) 2020-02-03 15:30:39 -08:00
isc-dhcp [isc-dhcp-relay] Patch to allow relay to discover interfaces even if (#3851) 2019-12-18 11:06:40 -08:00
ixgbe Upgrade linux-image version (#1294) 2018-01-31 11:39:48 -08:00
kdump-tools [baseimage]: kdump support (#3722) 2019-11-08 23:08:42 -08:00
libnl3 [libnl]: Debian Packaging libnl version 3.5.0 (#3967) 2020-02-03 15:46:17 -08:00
libteam [libteam]: Disregard current state when considering port enablement (#4215) 2020-03-04 11:58:41 -08:00
libyang libyang 1.0.73 (#3710) 2019-11-07 13:45:38 -08:00
lldpd [lldpd]: Ports few fixes from lldpd master (#3889) 2019-12-18 11:19:55 -08:00
lm-sensors Fix the error that 'sensord' daemon cannot be spawn correctly in pmon container (#4354) 2020-04-06 17:13:00 -07:00
monit [monit] Adding patch to enhance syslog error message generation for monit alert action when status is failed. (#5720) 2020-11-01 10:27:10 -08:00
mpdecimal [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
ptf@36a3e3d9ac [docker-sonic-mgmt] install ptf framework in mgmt container and upgrade ptf (#3239) 2019-07-30 10:19:48 -07:00
python3 [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
python-click Build python-click Debian package from version 6.7-4 source to fix CLI autocomplete/suggest (#1824) 2018-06-29 09:59:46 -07:00
radvd [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
redis [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
redis-dump-load@832a645e4d Build patched redis-dump-load (#2277) 2018-11-20 19:27:56 -08:00
redis-dump-load.patch Build patched redis-dump-load (#2277) 2018-11-20 19:27:56 -08:00
sflow [sFlow]: Upgrade hsflowd to 2.0.26-1 (#3812) 2019-11-24 15:21:43 -08:00
smartmontools [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
snmpd Revert "Disable SNMPv1 (#2156)" (#4088) 2020-02-03 15:39:41 -08:00
socat [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
sonic-bgpcfgd [bgpcfgd]: Dynamic BBR support (#5626) 2020-10-30 08:58:27 -07:00
sonic-config-engine [mgmt ip]: mvrf ip rule priority change to 32765 (#5754) 2020-11-01 10:41:44 -08:00
sonic-dbsyncd@399ac217c6 [Submodule update] sonic-dbsyncd (#4801) 2020-06-20 08:09:38 -07:00
sonic-device-data [devices]: Fix the clock setting on arista 7280 (#3788) 2019-11-21 16:21:08 -08:00
sonic-frr Fix vrf test failed after frr update to 7.2 (#3763) 2020-05-27 07:11:23 +00:00
sonic-linux-kernel@6d10052a83 [kernel]: Update sonic-linux-kernel to pick up new fix (#5044) 2020-07-28 15:06:51 -07:00
sonic-mgmt-framework@e34d621cf7 [submodule]: update sonic-mgmt-framework (#5586) 2020-10-11 11:13:17 -07:00
sonic-platform-common@3ce77310a1 [Submodule update] sonic-platform-common 2020-10-06 11:24:05 -07:00
sonic-platform-daemons@419f05bf2a [Submodule update] sonic-platform-daemons 2020-10-21 08:16:12 -07:00
sonic-py-common Added new method get_back_end_interface_set() to speed up back-end in… (#5731) 2020-11-01 10:27:10 -08:00
sonic-py-swsssdk@99b91b319b [submodule] update sonic-py-swsssdk 2020-08-09 12:04:07 -07:00
sonic-quagga@0fa66a0210 Updated Submodule Commit. 2020-01-06 11:25:53 -08:00
sonic-restapi@37a7c616bc [Submodule] sonic-restapi (#5679) 2020-10-23 15:45:46 -07:00
sonic-sairedis@9092b5ae96 [submoule update] sonic-sairedis 2020-09-03 16:34:23 -07:00
sonic-snmpagent@1b005d3fdf [Submodule uupdate] sonic-snmpagent 2020-09-28 16:27:57 +00:00
sonic-swss@d03c6ccc90 Submodule update [sonic-swss] 2020-10-30 09:17:25 -07:00
sonic-swss-common@c3a8f642c2 [Submodule update] sonic-swss-common 2020-09-19 15:28:12 -07:00
sonic-telemetry@01b53652e8 [201911][sonic-telemetry] Update submodule (#4987) 2020-07-17 17:37:21 -07:00
sonic-utilities@ce0bebe83d [Submodule update] sonic-utilities 2020-10-30 09:45:54 -07:00
sonic-ztp@c93fb6d332 [sonic-ztp]: Update submodule pointer (#4902) 2020-07-06 22:36:30 -07:00
supervisor [build]: sonic arm64 changes (#3419) 2019-09-11 09:41:38 -07:00
swig [FRR]: Update frr to frr-7.0.1 (#2899) 2019-05-16 10:59:12 -07:00
systemd-sonic-generator [systemd-generator]: Remove creation of NUM_ASIC environment (#5122) 2020-08-19 15:06:04 -07:00
tacacs [build]: sonic arm64 changes (#3419) 2019-09-11 09:41:38 -07:00
thrift [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00