━━━━ ◇ ━━━━
정보보안실무/네트워크

Net.06 RIP <-> EIGRP 재분배

728x90
반응형

구축환경
GNS3 - (https://www.gns3.com/software/download)

------------------RIP, EIGRP 연결하기------------------------

*****sh int serial 

[RIP 라우터 1]
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int se0/3/1
Router(config-if)#ip address 15.15.15.15 255.255.255.0
Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/3/1, changed state to down
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up

[EIGRP 라우터 1]
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int se0/3/1
Router(config-if)#ip address 15.15.15.30 255.255.255.0
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/1, changed state to up

Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up

*** 라우팅 프로토콜이 다른 대역에서는 "절대" 중복광고를 하면 안된다. 
EIGRP와 RIP은 경로를 결정하는 방식이 다르기 때문에 라우팅 경로가 꼬인다. 
***그래서 EIGRP에서 BR을 하기로 했으면 경계대역은 RIP에서만 광고
***RIP에서 BR을 하기로 했으면 경계대역은 EIGRP에서만 광고

[EIGRP에서 BR하기] - 경계대역은 RIP에서
EIGRP 100 라우터 접속
sh runrouter eigrp 100
 network 172.16.0.0 0.0.15.255
 network 172.16.16.0 0.0.15.255

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#router eigrp 100
Router(config-router)#redistribute rip ?
  metric  Metric for redistributed routes
  <cr>
Router(config-router)#redistribute rip metric ?
  <1-4294967295>  Bandwidth metric in Kbits per second
Router(config-router)#redistribute rip metric 1544 ?
  <0-4294967295>  EIGRP delay metric, in 10 microsecond units
Router(config-router)#redistribute rip metric 1544 2000 ?
  <0-255>  EIGRP reliability metric where 255 is 100% reliable
Router(config-router)#redistribute rip metric 1544 2000 255 ?
  <1-255>  EIGRP Effective bandwidth metric (Loading) where 255 is 100% loaded
Router(config-router)#redistribute rip metric 1544 2000 255 1 ?
  <1-65535>  EIGRP MTU of the path
Router(config-router)#redistribute rip metric 1544 2000 255 1 1500
Router(config-router)#exit
Router(config)#router rip
Router(config-router)#redistribute eigrp 100
Router(config-router)#redistribute eigrp 100 ?
  metric  Metric for redistributed routes
  <cr>
Router(config-router)#redistribute eigrp 100 metric ?
  <0-16>       Default metric
  transparent  Transparently redistribute metric
Router(config-router)#redistribute eigrp 100 metric 5
Router(config-router)#network 15.15.15.0


[RIP 라우터]
router rip
version 1
network 10.0.0.0

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#router rip  
Router(config-router)#net 15.15.15.0

[EIGRP 라우터]
sh run
router eigrp 100
 redistribute rip metric 1544 200 255 1 1500 
 network 172.16.0.0 0.0.15.255
 network 172.16.16.0 0.0.15.255


-----------------------실습
[EIGRP 라우터]
router eigrp 200
 network 172.16.112.0 0.0.15.255
 network 172.16.128.0 0.0.15.255 (재분배 전) 

version 2는 version 2 입력 

728x90
반응형
COMMENT