mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 06:32:57 +00:00
Merge pull request #6128 from donaldsharp/more_static_routes_tests
tests: Add a couple more static route tests
This commit is contained in:
commit
d50b4fe718
@ -18,6 +18,9 @@ S>* 4.5.6.12/32 [1/0] is directly connected, r1-eth0, weight 1, XX:XX:XX
|
||||
S>* 4.5.6.13/32 [1/0] unreachable (blackhole), weight 1, XX:XX:XX
|
||||
S>* 4.5.6.14/32 [1/0] unreachable (blackhole), weight 1, XX:XX:XX
|
||||
S 4.5.6.15/32 [255/0] via 192.168.0.2, r1-eth0, weight 1, XX:XX:XX
|
||||
S 4.5.6.16/32 [10/0] via 192.168.0.4, r1-eth0, weight 1, XX:XX:XX
|
||||
S>* 4.5.6.16/32 [5/0] via 192.168.0.2, r1-eth0, weight 1, XX:XX:XX
|
||||
S>* 4.5.6.17/32 [1/0] via 192.168.0.2, r1-eth0, weight 1, XX:XX:XX
|
||||
S>* 4.5.6.7/32 [1/0] unreachable (blackhole), weight 1, XX:XX:XX
|
||||
S>* 4.5.6.8/32 [1/0] unreachable (blackhole), weight 1, XX:XX:XX
|
||||
S>* 4.5.6.9/32 [1/0] unreachable (ICMP unreachable), weight 1, XX:XX:XX
|
||||
|
@ -26,11 +26,20 @@ ipv6 route 4:5::6:12/128 r1-eth0
|
||||
# by zebra but not installed.
|
||||
ip route 4.5.6.15/32 192.168.0.2 255
|
||||
ipv6 route 4:5::6:15/128 fc00:0:0:0::2 255
|
||||
|
||||
# Routes to put into a nexthop-group
|
||||
ip route 1.1.1.1/32 r1-eth0
|
||||
ip route 1.1.1.2/32 r1-eth1
|
||||
|
||||
# Create a route that has overlapping distance
|
||||
# so we have backups
|
||||
ip route 4.5.6.16/32 192.168.0.2 5
|
||||
ip route 4.5.6.16/32 192.168.0.4 10
|
||||
|
||||
# Create routes that have different tags
|
||||
# and how we handle it
|
||||
ip route 4.5.6.17/32 192.168.0.2 tag 9000
|
||||
ip route 4.5.6.17/32 192.168.0.2 tag 10000
|
||||
|
||||
!
|
||||
interface r1-eth0
|
||||
description to sw0 - no routing protocol
|
||||
|
Loading…
Reference in New Issue
Block a user