Thursday 21 February 2013

6VPE_Inter-AS-6VPE


Task

To get the full connectivity between site 1,2 and 3.

Configuration

R1

vrf definition one
 rd 12:12
!
 address-family ipv6
 route-target import 3:3
 route-target import 12:12
 route-target export 12:12
 exit-address-family
!
ipv6 unicast-routing
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface FastEthernet1/0
 ip address 192.168.12.1 255.255.255.0
 speed auto
 duplex auto
 mpls ip
!
interface FastEthernet1/1
 vrf forwarding one
 no ip address
 speed auto
 duplex auto
 ipv6 address 2001:1:4::1/64
!
router ospf 1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 192.168.12.1 0.0.0.0 area 0
!
router bgp 12
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 12
 neighbor 2.2.2.2 update-source Loopback0
 !
 address-family ipv4
  no synchronization
  no auto-summary
 exit-address-family
 !
 address-family vpnv6
  neighbor 2.2.2.2 activate
  neighbor 2.2.2.2 send-community both
 exit-address-family
 !
 address-family ipv6 vrf one
  no synchronization
  neighbor 2001:1:4::4 remote-as 4
  neighbor 2001:1:4::4 activate
 exit-address-family
!
mpls ldp router-id Loopback0 force

R2

vrf definition one
 rd 12:12
 !
 address-family ipv6
 route-target export 12:12
 route-target import 12:12
 route-target import 3:3
 exit-address-family
!
ipv6 unicast-routing
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface FastEthernet1/0
 ip address 192.168.12.2 255.255.255.0
 speed auto
 duplex auto
 mpls ip
!
interface FastEthernet1/1
 ip address 192.168.23.2 255.255.255.0
 speed auto
 duplex auto
 mpls bgp forwarding
!
interface FastEthernet2/0
 vrf forwarding one
 no ip address
 duplex full
 ipv6 address 2001:2:5::2/64
!
router ospf 1
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 192.168.12.2 0.0.0.0 area 0
!
router bgp 12
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 1.1.1.1 remote-as 12
 neighbor 1.1.1.1 update-source Loopback0
 neighbor 192.168.23.3 remote-as 3
 !
 address-family ipv4
  no synchronization
  no auto-summary
 exit-address-family
 !
 address-family vpnv6
  neighbor 1.1.1.1 activate
  neighbor 1.1.1.1 send-community both
  neighbor 1.1.1.1 next-hop-self
  neighbor 192.168.23.3 activate
  neighbor 192.168.23.3 send-community both
 exit-address-family
 !
 address-family ipv6 vrf one
  redistribute static
  no synchronization
 exit-address-family
!
ipv6 route vrf one 2001::5/128 2001:2:5::5
!
mpls ldp router-id Loopback0 force

R3

vrf definition one
 rd 3:3
 !
 address-family ipv6
 route-target export 3:3
 route-target import 3:3
 route-target import 12:12
 exit-address-family
!
ipv6 unicast-routing
!
interface FastEthernet1/0
 ip address 192.168.23.3 255.255.255.0
 speed auto
 duplex auto
 mpls bgp forwarding
!
interface FastEthernet1/1
 vrf forwarding one
 no ip address
 speed auto
 duplex auto
 ipv6 address 2001:3:6::3/64
!
router bgp 3
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 192.168.23.2 remote-as 12
 !
 address-family ipv4
  no synchronization
  no auto-summary
 exit-address-family
 !
 address-family vpnv6
  neighbor 192.168.23.2 activate
  neighbor 192.168.23.2 send-community both
 exit-address-family
 !
 address-family ipv6 vrf one
  redistribute static
  no synchronization
 exit-address-family
!
ipv6 route vrf one 2001::6/128 2001:3:6::6

R4

ipv6 unicast-routing
!
interface Loopback0
 no ip address
 ipv6 address 2001::4/128
!
interface FastEthernet1/0
 no ip address
 speed auto
 duplex auto
 ipv6 address 2001:1:4::4/64
!
router bgp 4
 bgp router-id 4.4.4.4
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 2001:1:4::1 remote-as 12
 !
 address-family ipv4
  no synchronization
  no auto-summary
 exit-address-family
 !
 address-family ipv6
  no synchronization
  network 2001::4/128
  neighbor 2001:1:4::1 activate
 exit-address-family

R5

ipv6 unicast-routing
!
interface Loopback0
 no ip address
 ipv6 address 2001::5/128
!
interface FastEthernet1/0
 no ip address
 speed auto
 duplex auto
 ipv6 address 2001:2:5::5/64
!
ipv6 route ::/0 2001:2:5::2

R6

ipv6 unicast-routing
!
interface Loopback0
 no ip address
 ipv6 address 2001::6/128
!
interface FastEthernet1/0
 no ip address
 speed auto
 duplex auto
 ipv6 address 2001:3:6::6/64
!
ipv6 route ::/0 2001:3:6::3

Verification

R4#ping 2001::5 source loopback 0
Packet sent with a source address of 2001::4
!!!!!

R4#ping 2001::6 source loopback 0
Packet sent with a source address of 2001::4
!!!!!

GNS FILE : http://www.4shared.com/rar/Kg5avCct/6VPE_Inter-AS-6VPE.html

1 comment:

  1. Dedicated Impex is leading gear cutting tools Manufacturers Company in India, we are manufacturers and suppliers of gear cutting tools, CNC router bits, keyway broaches, router bits and slotting cutters in all over India.


    Solid Carbide End Mills













    ReplyDelete