Allied Telesis C613-16164-00 REV E Network Card User Manual


 
Simple VRF-lite configuration examples
Page 30 | Configure VRF-lite
Dynamic inter-VRF communication with OSPF routing to
external peers
The complete configuration example below shows the key components required to support
dynamic inter-VRF communication using BGP, with OSPF routing to external peers.
red
router
192.168.35.0/24
vlan 1
OSPF1
192.168.10.0/24
OSPF2
192.168.20.0/24
192.168.30.0/24
192.168.33.0/24
192.168.34.0/24
- Inter VRF (IVR) communications
via Route leakage
VRF red
100:1
VRF green
100:2
VRF shared
100:3
green
router
vlan 2
shared
router
vlan 3
VRFs red, green and shared are configured. VRFs red and green can access VRF shared, but
not each other. OSPF routing is used in VRFs red and green, and these routes are leaked into
VRF shared via BGP. The connected routes in VRFs red, green and shared are also
redistributed into BGP to be leaked between VRF instances.
There are also three static routes configured in VRF shared to access shared router
networks. ACLs and associated route maps and VRF import maps are used to selectively leak
routes from VRF shared to VRFs red and green. For example, VRF red will selectively learn
routes to VRF shared networks 192.168.30.0/24 and 192.168.33.0/24, and VRF green will
selectively learn routes to VRF shared networks192.168.30.0/24 and 192.168.35.0/24.