|
|
< Day Day Up > |
|
Option 3: Multi-Hop MP-eBGP Between RR and eBGP Between ASBRsThis approach is considered to be more scalable than option 1 or option 2. In this option, VPNv4 information is held by the RRs. To meet this requirement, each provider needs to have local RRs for VPNv4 prefix distribution and eBGP connection to exchange prefixes with the external peer. The ASBRs in this option participate in exchange of BGP next-hop-address using IPv4 labels, and RRs form an MP-eBGP session to transport VPNv4 information. Figure 7-25 shows a multiprovider VPN network that is providing VPN services to sites belonging to Customer A. Figure 7-25. MPLS VPN Network Using Option 3
P1-AS1-RR and P1-AS2-RR are RRs that are local to each of the provider's autonomous systems. An MP-eBGP session is formed between the RRs to transport VPNv4 information across the multiprovider network. An eBGP session is formed between the ASBRs to exchange next-hop-address prefixes. Control Plane Forwarding in Option 3Figure 7-26 shows the control plane forwarding action that takes place for prefix 172.16.10.0/24 advertised by CE1-A to CE2-A that belongs to the same VPN, CUST_A. Figure 7-26. Control Plane Operation in Option 3
Data Forwarding in Option 3The source and destination networks are located on two different MPLS VPN provider networks. The data forwarding path originates from the source address of the flow, which is 172.16.20.1 destined to the 172.16.10.1. Figure 7-27 traces the path of the data packet from the source to the destination. Figure 7-27. Data Forwarding in Option 3
Configuration Flowchart to Implement Option 3Figure 7-28 shows the configuration steps that are involved in accomplishing a functional Inter-AS network using option 3. Figure 7-28. Configuration Steps for Option 3
Configuration and Verification of Option 3The steps to implement option 3 for the topology shown in Figure 7-26 are as follows:
ASBR and RR Configurations in Option 3Example 7-21 shows the ASBR configurations for ASBR1-AS1 and ASBR2-AS2 and RR configurations for P1-AS1-RR and P1-AS2-RR. Example 7-21. ASBR and RR Configurationshostname P1-AS1-RR ! ip cef ! mpls ldp router-id Loopback0 ! interface Loopback0 ip address 10.10.10.200 255.255.255.255 ! interface Serial0/0 description connected to PE1-AS1 ip address 10.10.10.2 255.255.255.252 mpls ip ! interface Serial1/0 description connected to ASBR1-AS1 ip address 10.10.10.6 255.255.255.252 mpls ip ! router ospf 1 router-id 10.10.10.200 network 10.0.0.0 0.255.255.255 area 0 ! router bgp 1 no bgp default ipv4-unicast neighbor 10.10.10.101 remote-as 1 neighbor 10.10.10.101 update-source Loopback0 neighbor 10.20.20.200 remote-as 2 neighbor 10.20.20.200 ebgp-multihop 255 neighbor 10.20.20.200 update-source Loopback0 ! address-family vpnv4 neighbor 10.10.10.101 activate neighbor 10.10.10.101 send-community extended neighbor 10.10.10.101 route-reflector-client neighbor 10.20.20.200 activate neighbor 10.20.20.200 send-community extended neighbor 10.20.20.200 next-hop-unchanged exit-address-family Hostname P1-AS2-RR ! ip cef ! mpls ldp router-id Loopback0 ! interface Loopback0 ip address 10.20.20.200 255.255.255.255 ! interface Serial0/0 description connected to PE2-AS2-ASBR2 ip address 10.20.20.6 255.255.255.252 mpls ip ! interface Serial1/0 description connected to PE1-AS2 ip address 10.20.20.2 255.255.255.252 mpls ip ! router ospf 2 router-id 10.20.20.200 network 10.0.0.0 0.255.255.255 area 0 ! router bgp 2 no bgp default ipv4-unicast neighbor 10.10.10.200 remote-as 1 neighbor 10.10.10.200 ebgp-multihop 255 neighbor 10.10.10.200 update-source Loopback0 neighbor 10.20.20.101 remote-as 2 neighbor 10.20.20.101 update-source Loopback0 ! address-family vpnv4 neighbor 10.10.10.200 activate neighbor 10.10.10.200 send-community extended neighbor 10.10.10.200 next-hop-unchanged neighbor 10.20.20.101 activate neighbor 10.20.20.101 send-community extended neighbor 10.20.20.101 route-reflector-client exit-address-family _________________________________________________________________________ hostname ASBR1-AS1 ! ip cef ! mpls ldp router-id Loopback0 ! interface Loopback0 ip address 10.10.10.102 255.255.255.255 ! interface Serial0/0 description connected to P1-AS1-RR ip address 10.10.10.5 255.255.255.252 mpls ip ! interface Serial1/0 ip address 172.16.3.1 255.255.255.252 mpls bgp forwarding ! router ospf 1 router-id 10.10.10.102 redistribute bgp 1 subnets route-map bgp-to-ospf network 10.0.0.0 0.255.255.255 area 0 ! router bgp 1 no synchronization network 10.10.10.101 mask 255.255.255.255 network 10.10.10.200 mask 255.255.255.255 neighbor 172.16.3.2 remote-as 2 neighbor 172.16.3.2 send-label no auto-summary ! ip prefix-list pref-from-AS2 seq 1 permit 10.20.20.101/32 ip prefix-list pref-from-AS2 seq 2 permit 10.20.20.200/32 ! route-map bgp-to-ospf permit 10 match ip address prefix-list pref-from-AS2 __________________________________________________________________________ hostname ASBR2-AS2 ! ip cef ! mpls ldp router-id Loopback0 ! interface Loopback0 ip address 10.20.20.102 255.255.255.255 ! interface Serial0/0 description connected to P1-AS2-RR ip address 10.20.20.5 255.255.255.252 mpls ip ! interface Serial1/0 ip address 172.16.3.2 255.255.255.252 mpls bgp forwarding ! router ospf 2 router-id 10.20.20.102 redistribute bgp 2 metric 1 subnets route-map bgp-to-ospf network 10.0.0.0 0.255.255.255 area 0 ! router bgp 2 no synchronization network 10.20.20.101 mask 255.255.255.255 network 10.20.20.200 mask 255.255.255.255 neighbor 172.16.3.1 remote-as 1 neighbor 172.16.3.1 send-label no auto-summary ! ip prefix-list pref-from-AS1 seq 1 permit 10.10.10.200/32 ip prefix-list pref-from-AS1 seq 2 permit 10.10.10.101/32 ! route-map bgp-to-ospf permit 10 match ip address prefix-list pref-from-AS1 Verifying Inter-Provider VPN Operation Using Option 3The steps to verify inter-provider VPN operation using option 3 are
|
|
|
< Day Day Up > |
|