|
|
< Day Day Up > |
|
RIPv1 PE-CE Routing Configuration and VerificationNote RIPv1 is not recommended for MPLS VPN networks and is demonstrated here only for learning purposes. The topology to demonstrate RIPv1 PE-CE routing is shown in Figure 4-7. Figure 4-7. Provider Implementing RIPv1 PE-CE Routing
CE1-A is running RIPv1 routing protocol. Because CE1-A is sending RIPv1 routes, the interface on PE1-AS1 connected to CE1-A is configured to receive and send RIPv1 routes. IP addressing for the CE networks adheres to classful addressing. RIPv2 PE-CE routing configuration is still used on PE2-AS1 because the MP-iBGP session between PE routers transports only RIPv2 routes. Example 4-26 shows the necessary steps to configure PE1-AS1 interface connected to CE1-A to send and receive RIPv1 routes. Example 4-26. PE1-AS1 RIPv1 PE-CE ConfigurationPE1-AS1(config)#interface FastEthernet0/0 PE1-AS1(config-if)# ip vrf forwarding VRF-RIP PE1-AS1(config-if)# ip address 172.16.1.1 255.255.255.0 PE1-AS1(config-if)#ip rip send version 1 PE1-AS1(config-if)#ip rip receive version 1 PE1-AS1#show ip protocols vrf VRF-RIP Routing Protocol is "rip" Sending updates every 30 seconds, next due in 5 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip, bgp 1 Default version control: send version 2, receive version 2 Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 1 1 Maximum path: 4 Routing for Networks: 172.16.0.0 Routing Information Sources: Gateway Distance Last Update 172.16.1.2 120 00:00:14 Distance: (default is 120) RIPv1 PE-CE Routing—PE1-AS1 and CE1-A Final ConfigurationConfiguration for PE2-AS1, P1-AS1, P2-AS2, and CE2-A remains the same as what was shown in the "RIPv2 PE-CE Routing—Provider Edge PE1-AS1 and PE2-AS1 Configuration" section. Example 4-27 shows the PE1-AS1 and CE1-A final configuration. Example 4-27. CE1-A and PE1-AS1 Configuration—RIPv1 PE-CEhostname CE1-A ! ip cef ! interface Loopback0 ip address 172.16.10.1 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.1.2 255.255.255.0 ! router rip network 172.16.0.0 no auto-summary __________________________________________________________________________ hostname PE1-AS1 ! ip cef ! ip vrf VRF-RIP rd 1:100 route-target export 1:100 route-target import 1:100 ! mpls ldp router-id Loopback0 ! interface Loopback0 ip address 10.10.10.101 255.255.255.255 ! interface FastEthernet0/0 ip vrf forwarding VRF-RIP ip address 172.16.1.1 255.255.255.0 ip rip send version 1 ip rip receive version 1 ! interface ATM2/0 no ip address no atm ilmi-keepalive ! interface ATM2/0.1 mpls description Connection to A1 ip address 10.10.10.1 255.255.255.252 mpls label protocol ldp tag-switching ip ! router ospf 1 network 10.0.0.0 0.255.255.255 area 0 ! router rip version 2 ! address-family ipv4 vrf VRF-RIP version 2 redistribute bgp 1 metric transparent network 172.16.0.0 no auto-summary exit-address-family ! router bgp 1 no synchronization neighbor 10.10.10.102 remote-as 1 neighbor 10.10.10.102 update-source Loopback0 no auto-summary ! address-family vpnv4 neighbor 10.10.10.102 activate neighbor 10.10.10.102 send-community extended no auto-summary exit-address-family ! address-family ipv4 vrf VRF-RIP redistribute rip no auto-summary no synchronization exit-address-family Verification of RIPv1 PE-CE RoutingThe steps to verify RIPv1 PE-CE routing are as follows:
|
|
|
< Day Day Up > |
|