Skip to content

Numbered BGP Config on SONiC #1584

@fzakfeld

Description

@fzakfeld

I need to connect a router for upstream connectivity to the SONiC switches via BGP. Due to some limitations within the external architecture I won't have any direct connections available, but rather some L2 switching in between.

Due to this limitation, I need to have manual IP addresses assigned to the peering interface, as well as a numbered BGP session (remote-as can still be 'external' but the neighbor needs to be an IP address)

...
    "INTERFACE": {
        "Ethernet16": {},
        "Ethernet16|192.168.1.1/24": {},
        "Ethernet16|2001:db8::1/64": {}
    },
...
    "BGP_NEIGHBOR": {
        "default|192.168.1.2": {
            "asn": "65001"
        },
        "default|192.168.1.3": {
            "asn": "65001"
        }
    },
    "BGP_NEIGHBOR_AF": {
        "default|192.168.1.2|ipv4_unicast": {
            "admin_status": "true"
        },
        "default|192.168.1.3|ipv4_unicast": {
            "admin_status": "true"
        }
    },
...

Additionally it would be required to enable BFD, because of the lack of link state all the way through to the neighbor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions