PE-CE Communication via RIP
Problem
You want to use RIP to exchange routing information between the CE and PE routers.
Solution
You can use RIP to exchange customer routing information between the CE and PE routers at each site. The advantage to doing this is that any customer routes at one site can be automatically propagated to other customer sites. This requires a normal RIP configuration on the CE router:
Router-CE-A2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router-CE-A2(config)#router rip
Router-CE-A2(config-router)#version
Router-CE-A2(config-router)#
2
network
Router-CE-A2(config-router)#
10.0.0.0
network
Router-CE-A2(config-router)#
192.168.3.0
end
Router-CE-A2#
And there must be a matching RIP configuration for this VRF on the PE router:
Router-PE2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router-PE2(config)#router rip
Router-PE2(config-router)#version
Router-PE2(config-router)#
2
address-family ipv4 vrf
Router-PE2(config-router-af)#
NetworkA
version
Router-PE2(config-router-af)#
2
redistribute bgp
100
metric
Router-PE2(config-router-af)#
4
network
Router-PE2(config-router-af)#
192.168.3.0
exit-address-family
Router-PE2(config-router)#exit
Router-PE2(config)#router bgp
Router-PE2(config-router)#
100
address-family ipv4 vrf
Router-PE2(config-router-af)#
NetworkA
redistribute rip metric
Router-PE2(config-router-af)#
4
end
Router-PE2#
Discussion
There are a few key points to note in this configuration. First, this just ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.