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


 
Configure VRF-lite | Page 17
Configuring VRF-lite
Static inter-VRF routing
Static inter-VRF routing involves creating static routes in one VRF instance whose egress
VLAN is in a different egress VLAN. These static routes must specify both the egress VLAN
and next hop IP address.
19 2.16 8.1.0/24
192.168.20.0/24 192.168.20.0/24
192.168.50.0/24
VRF red
VLAN20
global default VRF domain
VLAN10
VLAN10 VLAN30
VRF green
VRF blue
192.168.20.6
192.168.20.5192.168.1.5
192.168.50.10
Device A Device B
The following diagram illustrates use of static routing to achieve inter- VRF communication in
VRF-lite.
DEVICE A STATIC ROUTES CONFIGURATION DEVICE B STATIC ROUTES CONFIGURATION
ip route vrf red 192.168.20.0/24 vlan10
From source vrf red, create a static route to
192.168.20.0/24 to access target vlan10. Target vlan is
required when performing static IVR.
ip route vrf blue 192.168.20.0/24 vlan10
From source vrf blue, create a static route to 192.168.20.0/24
to access target vlan10. Target vlan is required when
performing static IVR.
ip route 192.168.1.0/24 vlan20
From the source global VRF domain, create a static route to
192.168.1.0/24 to access target vlan20. Target vlan is
required when performing static IVR.
ip route vrf green 192.168.50.0/24 vlan30
From the source vrf green, create a static route to
192.168.50.0/24 to access target vlan30. Target vlan is required
when performing static IVR.
ip route vrf red 192.168.50.0/24 192.168.20.6 vlan10
From source vrf red, create a static route to
192.168.50.0/24 with a next hop of 192.168.20.6
egressing target vlan10. Target vlan is required when
performing static IVR.
ip route vrf blue 192.168.1.0/24 192.168.20.5 vlan10
From source vrf blue, create a static route to 192.168.1.0/24
with a next hop of 192.168.20.5 egressing target vlan10.
Target vlan is required when performing static IVR.
ip route 192.168.50.0/24 192.168.20.6
From the global VRF domain, create a static route to
192.168.50.0/24 with a next hop of 192.168.20.6.
Static routes to networks within a VRF instance do
not require target vlan.
ip route vrf green 192.168.1.0/24 192.168.20.5
From the source vrf green, create a static route to 192.168.1.0/
24 with a next hop of 192.168.20.5. Static routes to networks
within a VRF instance do not require the target vlan.