Hello,
I’m having problems with static routing when using Sonic-VS (2020-12 #44 last stable build) on EVE-NG platform. Could you please help, here are the details:
- Whenever I add a static route whether inside FRR (ip route …) or with “sudo config route add prefix” it works.
- Static-route is not saved into the config_db.json with “save config –y”
- Static route is added in “staticd.conf” if i create it with FRR.
- I also added the route to config_db.json manually, but upon reboot I can not see it in routing table
"STATIC_ROUTE": {
"11.11.11.0/24": {
"distance": "10",
"nexthop": "192.168.10.1" à next-hop exists
},
Am I missing something or Sonic-VS is built for specific test purposes and and some things are missing (I see that frr jinja templates does not exist under /usr/share/…..).
Regards
Erçin TORUN
Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi icindir. Eger soz konusu yetkili alici degilseniz bu elektronik postanin icerigini aciklamaniz, kopyalamaniz, yonlendirmeniz ve kullanmaniz kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz gerekmektedir.
TURKCELL bu mesajin icerdigi bilgilerin doğruluğu veya eksiksiz oldugu konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen kisiye aittir ve TURKCELLin goruslerini yansitmayabilir
Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir.
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is strictly prohibited, and the e-mail should immediately be deleted.
TURKCELL makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever. The opinions expressed in this message belong to sender alone and may not necessarily reflect the opinions of TURKCELL.
This e-mail has been scanned for all known computer viruses.
Hello Ercin,
Please refer the PR https://github.com/Azure/SONiC/pull/585 for configuring the STATIC_ROUTE in config-DB and make sure to set “frr_mgmt_framework_config” to “true” in DEVICE_METADATA table.
The template files can be found in the following location,
https://github.com/Azure/sonic-buildimage/tree/202012/src/sonic-frr-mgmt-framework/templates/staticd
-Venkat.
From: sonicp...@googlegroups.com <sonicp...@googlegroups.com>
On Behalf Of ERCIN TORUN
Sent: Wednesday, March 17, 2021 3:13 AM
To: sonicproject
Subject: [SONiC] static route does not save upon reboot on Sonic-VS
[EXTERNAL EMAIL]
Hello,
I’m having problems with static routing when using Sonic-VS (2020-12 #44 last stable build) on EVE-NG platform. Could you please help, here are the details:
"STATIC_ROUTE": {
"11.11.11.0/24": {
"distance": "10",
"nexthop": "192.168.10.1" à next-hop exists
},
Am I missing something or Sonic-VS is built for specific test purposes and and some things are missing (I see that frr jinja templates does not exist under /usr/share/…..).
Regards
Erçin TORUN
Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi icindir. Eger soz konusu yetkili alici degilseniz bu elektronik postanin icerigini aciklamaniz, kopyalamaniz, yonlendirmeniz ve kullanmaniz kesinlikle yasaktir ve bu elektronik postayi derhal silmeniz gerekmektedir.
TURKCELL bu mesajin icerdigi bilgilerin doğruluğu veya eksiksiz oldugu konusunda herhangi bir garanti vermemektedir. Bu nedenle bu bilgilerin ne sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen kisiye aittir ve TURKCELLin goruslerini yansitmayabilir
Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir.
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is strictly prohibited, and the e-mail should immediately be deleted.
TURKCELL makes no warranty as to the accuracy or completeness of any information contained in this message and hereby excludes any liability of any kind for the information contained therein or for the information transmission, reception, storage or use of such in any way whatsoever. The opinions expressed in this message belong to sender alone and may not necessarily reflect the opinions of TURKCELL.
This e-mail has been scanned for all known computer viruses.
--
You received this message because you are subscribed to the Google Groups "sonicproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
sonicproject...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sonicproject/c8ca24b934a748ee948c331d7533633c%40turkcell.com.tr.
--
Hello Masaru,
Please refer my below update for the static route feature, it is supported in the community master/202012.
From: Mahalinga, Venkatesan
Sent: Wednesday, March 17, 2021 6:50 PM
To: ERCIN TORUN; sonicproject
Subject: RE: static route does not save upon reboot on Sonic-VS
Hello Ercin,
Please refer the PR https://github.com/Azure/SONiC/pull/585 for configuring the STATIC_ROUTE in config-DB and make sure to set “frr_mgmt_framework_config” to “true” in DEVICE_METADATA table.
The template files can be found in the following location,
https://github.com/Azure/sonic-buildimage/tree/202012/src/sonic-frr-mgmt-framework/templates/staticd
-Venkat.
From: sonicp...@googlegroups.com <sonicp...@googlegroups.com>
On Behalf Of Masaru OKI
Sent: Wednesday, March 17, 2021 10:00 PM
To: ERCIN TORUN
Cc: sonicproject
Subject: Re: [SONiC] static route does not save upon reboot on Sonic-VS
[EXTERNAL EMAIL]
Currently, static route configurations are not kept via reboot.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonicproject/CA%2ButPHGfFMdv-Gq-imYT-AE17Jm_TJQJzevHF7S2oTxKr%2BkvDg%40mail.gmail.com.
Hello Venkatesan,
Thanks for the detailed answer, i’ll try that.
Best Regards
Erçin TORUN
From: Mahalinga, Venkatesan <Venkatesan...@dell.com>
Sent: Thursday, March 18, 2021 10:36 AM
To: Masaru OKI <masar...@gmail.com>; ERCIN TORUN <ercin...@turkcell.com.tr>
Cc: sonicproject <sonicp...@googlegroups.com>
Subject: [EXTERNAL]:RE: [SONiC] static route does not save upon reboot on Sonic-VS
Hello Masaru,
Please refer my below update for the static route feature, it is supported in the community master/202012.
From: Mahalinga, Venkatesan
Sent: Wednesday, March 17, 2021 6:50 PM
To: ERCIN TORUN; sonicproject
Subject: RE: static route does not save upon reboot on Sonic-VS
Hello Ercin,
Please refer the PR https://ddei5-0-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fAzure%2fSONiC%2fpull%2f585&umid=6FEB2CE0-BDCA-A805-9907-02E939747E73&auth=54639621fcdd7e0f42d2a208112da27408386c06-88947b38669d624b45b5daa25aaf66ae10790ff9 for configuring the STATIC_ROUTE in config-DB and make sure to set “frr_mgmt_framework_config” to “true” in DEVICE_METADATA table.
The template files can be found in the following location,