네트워크

[CISCO] RIPv2 라우팅 설정하기 (+show ip route 버그)

화이트해커 Luna 🌙 2022. 11. 30. 15:10
728x90
반응형

RIPv2 라우팅 설정하기

RIPv1보다 좋은거다.

 

사용 명령어

# router rip
# version 2
# network [IP]

RIPv2


-목차-
1.RIP 사용 중지
2. 라우터 RIPv2 설정
3. 라우터 RIPv2 디버그

 


1. RIP 사용 중지

 

기존 RIP 사용중지
#no router rip

 

기존에 RIPv1을 설정한 경우에 사용을 중지해준다.

 


2. 라우터 RIPv2 설정

 

R1
R1(config)# router rip
R1(config‐router)# version 2
R1(config‐router)# no auto‐summary
R1(config‐router)# network 1.1.1.0
R1(config‐router)# network 12.1.1.0
R1(config‐router)# network 41.1.1.0

 

 

R2
R2(config)# no router rip
R2(config)# router rip
R2(config‐router)# version 2
R2(config‐router)# no auto‐summary
R2(config‐router)# network 2.2.2.0
R2(config‐router)# network 12.1.1.0
R2(config‐router)# network 23.1.1.0

 

R3
R3(config)# no router rip
R3(config)# router rip
R3(config‐router)# version 2
R3(config‐router)# no auto‐summary
R3(config‐router)# network 3.3.3.0
R3(config‐router)# network 34.1.1.0
R3(config‐router)# network 23.1.1.0

 

R4
R4(config)# no router rip
R4(config)# router rip
R4(config‐router)# version 2
R4(config‐router)# no auto‐summary
R4(config‐router)# network 4.4.4.0
R4(config‐router)# network 34.1.1.0

 


3. 라우터 RIPv2 디버그

 

RIPv2 디버그 명령어
# debug ip rip

 

 

RIPv2 디버그 중지 명령어
# no debug ip rip

 


4. 라우터 RIPv2 정보확인 버그

# show ip route

 

라우터 RIPv2 같은 경우 show ip route로 라우터 정보를 확인하면 네트워크 버그가 발생합니다. 

위와 같이 네트워크가 전부 #.0.0.0으로 나오게 되는데, 정상입니다. 

 


궁금하신게 있으시면 댓글 남겨주세요

728x90
반응형