Skip to content

How to advertise a prefix with specified metric? #20

Closed

Description

@zhanleewo

Issue Description

I use breeze to advertise a prefix , but I want advertise a prefix with specified metric.
In our application scenarios, we should advertise some prefixes dynamically. We may advertise an identical prefix on different Open/R node since we want to offer our customers redundancy access service. So we want to set different metric to each identical prefix.

I did not find this feature in the Open/R's source code, Could you give me some guidance?
Or What do I need to do to implement it by myself if the OpenR doesn't include this feature?

Activity

  1. saifhhasan commented on Mar 13, 2018

    @saifhhasan
    Contributor

    Hello @zhanleewo .. Open/R currently doesn't support setting up prefixes with metric values. You can advertise same prefix from two nodes, and traffic will be routed to nearest node (based on link cost, either hop-count or rtt or custom).

    Since Open/R is link-state routing protocol, cost to prefixes corresponds to cost to reach the node which announced them.

    You can influence path selection by setting custom link metric (breeze lm set-link-metric ..)

  2. zhanleewo commented on Mar 14, 2018

    @zhanleewo
    ContributorAuthor

    Ok, thank you @saifhhasan .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions