summaryrefslogtreecommitdiffstats
path: root/tests/topotests/static_vrf/r1/frr.conf
blob: bb373b962a3b1f1942a640855bf42c2c7371501a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
interface r1-eth0 vrf red
  ip address 192.0.2.1/23
exit

interface r1-eth1 vrf blue
  ip address 192.0.2.129/24
exit

ip route 198.51.100.1/32 192.0.2.2 nexthop-vrf red
ip route 198.51.100.1/32 192.0.2.130 nexthop-vrf blue
ip route 198.51.100.2/32 r1-eth0 nexthop-vrf red
ip route 198.51.100.2/32 r1-eth1 nexthop-vrf blue

ip route 203.0.113.1/32 192.0.2.130 vrf red nexthop-vrf blue
ip route 203.0.113.2/32 r1-eth1 vrf red nexthop-vrf blue

ip route 203.0.113.129/32 192.0.2.2 vrf blue nexthop-vrf red
ip route 203.0.113.130/32 r1-eth0 vrf blue nexthop-vrf red