frr/tests/topotests/static_vrf/r1/frr.conf

19 lines
563 B
Text
Raw Normal View History

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