default gateway in config_db.json for frr

58 views
Skip to first unread message

Justin Hannah

unread,
May 13, 2021, 1:15:38 AM5/13/21
to sonicproject
I have a default gateway that goes to a carrier I am connecting to via VLAN.  Is there a supported method to put a default gateway on non-mgmt interface in config_db.json besides using FRR split ( "docker_routing_config_mode": "split" ) or some other hack.

This method does not seem to work.

    "VLAN_INTERFACE": {
        "Vlan1120": {},
        "Vlan1120|5.5.5.5/29": {
            "gwaddr": "5.5.5.1"
        }

The STATIC_ROUTE stuff from documentation does not seem to do anything either..

ala 

"STATIC_ROUTE": {

         "11.11.11.0/24": {

        "distance": "10",

        "nexthop": "192.168.10.1"

    },

For this one I did set       "frr_mgmt_framework_config": "true",

 in DEVICE_METADATA first.


Reply all
Reply to author
Forward
0 new messages