-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
routing: introduce static routes implementation
Example configuration (using the CLI): ``` routing control-plane-protocols control-plane-protocol ietf-routing:static main ! static-routes ipv4 route 172.16.1.0/24 next-hop outgoing-interface eth-rt2 next-hop next-hop-address 10.0.1.2 ! static-routes ipv4 route 172.16.2.0/24 ! next-hop next-hop-list next-hop 1 outgoing-interface eth-rt2 next-hop-address 10.0.1.2 ! next-hop next-hop-list next-hop 2 outgoing-interface eth-rt3 next-hop-address 10.0.2.3 ! ! static-routes ipv4 route 172.16.3.0/24 next-hop special-next-hop blackhole ! ! ``` Currently, setting the administrative distance in static routes is not supported. Signed-off-by: Renato Westphal <[email protected]>
- Loading branch information
Showing
10 changed files
with
473 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.