[구성도]

* EIGRP로 재분배시 metric 값을 반드시 지정해 줘야 한다.

[참고] http://cafe.naver.com/neteg/83909

* 공통 부분 생략하고 eigrp와 bgp 부분만 기술함

R1#

router eigrp 1
 no auto-summary
 address-family ipv4 vrf AA
  redistribute bgp 1 metric 1 1 1 1 1500 <-- eigrp로 재분배시 반드시 매트릭 값이 있어야 됨.
  network 1.1.15.1 0.0.0.0
  no auto-summary
  autonomous-system 1  <--- 만약, ISP 내부에 IGP로서 EIGRP 1을 사용할수도 있으므로 구별 필요
 exit-address-family

router bgp 1
 no synchronization
 bgp router-id 1.1.1.1
 bgp log-neighbor-changes
 neighbor 1.1.4.4 remote-as 1
 neighbor 1.1.4.4 update-source Loopback0
 no auto-summary

 address-family vpnv4
  neighbor 1.1.4.4 activate
  neighbor 1.1.4.4 send-community both
 exit-address-family

 address-family ipv4 vrf AA
  redistribute eigrp 1
  no synchronization
 exit-address-family

R4#도 위와 비슷함

R5, R6는 평상시처럼 eigrp 설정함

---------------------------------------------------------------------------------

[구성도]

R1#

router rip
 version 2
 
 address-family ipv4 vrf BB
  redistribute bgp 1 metric 1
  network 1.0.0.0
  no auto-summary
 exit-address-family
        
router bgp 1
 no synchronization
 bgp router-id 1.1.1.1
 bgp log-neighbor-changes
 neighbor 1.1.4.4 remote-as 1
 neighbor 1.1.4.4 update-source Loopback0
 no auto-summary
 
 address-family vpnv4
  neighbor 1.1.4.4 activate
  neighbor 1.1.4.4 send-community both
 exit-address-family
 
 address-family ipv4 vrf BB
  redistribute rip
  no synchronization
 exit-address-family
 
 

R4#도 비슷함...

CE쪽에서도 ripv2 설정

[종합 확인] AA는 eigrp, BB는 RIPv2


R1#sh ip bgp vpnv4 all
BGP table version is 23, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 1:100 (default for vrf AA)
*> 1.1.5.0/24       1.1.15.5            156160         32768 ?
*>i1.1.6.0/24       1.1.4.4             156160    100      0 ?
*> 1.1.15.0/24      0.0.0.0                  0         32768 ?
*>i1.1.46.0/24      1.1.4.4                  0    100      0 ?
Route Distinguisher: 1:200 (default for vrf BB)
*> 1.1.7.0/24       1.1.17.7                 1         32768 ?
*>i1.1.8.0/24       1.1.4.4                  1    100      0 ?
*> 1.1.17.0/24      0.0.0.0                  0         32768 ?
*>i1.1.48.0/24      1.1.4.4                  0    100      0 ?

R4#sh ip bgp vpnv4 all
BGP table version is 17, local router ID is 1.1.4.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 1:100 (default for vrf AA)
*>i1.1.5.0/24       1.1.1.1             156160    100      0 ?
*> 1.1.6.0/24       1.1.46.6            156160         32768 ?
*>i1.1.15.0/24      1.1.1.1                  0    100      0 ?
*> 1.1.46.0/24      0.0.0.0                  0         32768 ?
Route Distinguisher: 1:200 (default for vrf BB)
*>i1.1.7.0/24       1.1.1.1                  1    100      0 ?
*> 1.1.8.0/24       1.1.48.8                 1         32768 ?
*>i1.1.17.0/24      1.1.1.1                  0    100      0 ?
*> 1.1.48.0/24      0.0.0.0                  0         32768 ?


 


브랜드디비 네모디자인 QS몰 SI 스킨퓨어 ☆ 행복 함께 나누기 ☆ 스마일키즈 내안愛 꼬마곰s House 프루아메 나를 찾아 떠나는 세계여행
이 글의 관련글
2주간 인기글
  • 이드솔루션(Idsolution) 취향테스트(HitPoint : 372point)
  • 댓글을 달아 주세요