!--- This is the address-family VPNV4 configuration mode for
!--- configuring BGP sessions.
neighbor 10.1.1.4 activate
neighbor 10.1.1.4 send-community extended
no auto-summary
exit-address-family
!
ip classless
ip route 11.11.11.0 255.255.255.0 Serial8/0 192.168.10.1
!--- The static route in the global routing table is pointing to
!--- the interface connected to CE 1.
ip route vrf customer1 0.0.0.0 0.0.0.0 192.168.67.1 global
!--- The static default route under customer1 VRF, routing packets
!--- outside of VPN to the Internet gateway.
! routes
ip route vrf customer1 11.11.11.0 255.255.255.0 192.168.10.1
!--- The static route for network 11.11.11.0/24 (CE-1 Network) under
!---customer1 VRF ensures the reachability of CE 1 network from the
!--- other VPN sites
P
version 12.2
!
hostname P
!
ip subnet-zero
!
ip cef
!--- CEF switching is enabled.
!
interface Loopback0
ip address 10.1.1.3 255.255.255.255
!
interface Ethernet0/0
!--- This is connected to PE 1.
ip address 10.10.23.3 255.255.255.0
tag-switching ip
!--- MPLS switching is enabled.
!
interface Ethernet1/0
!--- This is connected to PE 2.
ip address 10.10.34.3 255.255.255.0
tag-switching ip
!
interface Ethernet2/0
!--- This is connected to the Internet gateway.
ip address 10.10.36.3 255.255.255.0
tag-switching ip
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
IGW
version 12.2
!
hostname IGW
!
ip subnet-zero
!
ip cef
!--- This enabled CEF switching.
!
interface Loopback0
ip address 10.1.1.6 255.255.255.255
!
interface Ethernet2/0
!--- This is connected to P router.
ip address 10.10.36.6 255.255.255.0
tag-switching ip
!
interface Serial8/0
!--- This is connected to Internet R7.
ip address 192.168.67.1 255.255.255.252
!
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
!
router bgp 100
no synchronization
bgp log-neighbor-changes
network 11