본문 바로가기

CCNA 기초

IP Routing - Distance Vector RIP Version

Distance Vector routing algorithm - RIP Version

RIP version 1


Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#router rip
Router(config-router)#network 10.0.0.0
Router(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console

Router#show ip protocol
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 24 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
  Interface             Send  Recv  Triggered RIP  Key-chain
  FastEthernet0/0       1     2 1  
  Serial0/0/0           1     2 1  
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
    10.0.0.0
Passive Interface(s):
Routing Information Sources:
    Gateway         Distance      Last Update
    10.1.12.2            120      00:00:07
    10.1.41.2            120      00:00:11
Distance: (default is 120)

Router#debug ip rip
RIP protocol debugging is on

Router#RIP: received v1 update from 10.1.41.2 on FastEthernet0/0
      10.1.23.0 in 2 hops
      10.1.34.0 in 1 hops

Router#RIP: received v1 update from 10.1.12.2 on Serial0/0/0
      10.1.23.0 in 1 hops
      10.1.34.0 in 2 hops

Router#RIP: sending  v1 update to 255.255.255.255 via FastEthernet0/0 (10.1.41.1)
- version 1, 255.255.255.255 로 보내는 것을 확인 할 수 있다.

RIP: build update entries
      network 10.1.12.0 metric 1
      network 10.1.23.0 metric 2

- 중략 -

Router#no debug ip rip
RIP protocol debugging is off

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

RIP version 2

Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console

Router#show ip protocol

Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 8 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 2, receive 2
  Interface             Send  Recv  Triggered RIP  Key-chain
  FastEthernet0/0       2     2    
  Serial0/0/0              2     2    
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
    10.0.0.0
Passive Interface(s):
Routing Information Sources:
    Gateway         Distance      Last Update
    10.1.12.2            120      00:00:14
    10.1.41.2            120      00:00:15
Distance: (default is 120)

Router#debug ip rip   - 문제 해결시에 사용한다.
RIP protocol debugging is on

Router#RIP: ignored v1 packet from 10.1.41.2 (illegal version)
Router#RIP: ignored v1 packet from 10.1.12.2 (illegal version)

Router#RIP: sending  v2 update to 224.0.0.9 via FastEthernet0/0 (10.1.41.1)
- version 2, 224.0.0.9 로 보내는 것을 확인 할 수 있다.
- 224.0.0.9는 멀티캐스트이다.

RIP: build update entries
      10.1.12.0/24 via 0.0.0.0, metric 1, tag 0
      10.1.23.0/24 via 0.0.0.0, metric 2, tag 0
RIP: sending  v2 update to 224.0.0.9 via Serial0/0/0 (10.1.12.1)
RIP: build update entries
      10.1.34.0/24 via 0.0.0.0, metric 2, tag 0
      10.1.41.0/24 via 0.0.0.0, metric 1, tag 0

- 중략 -

Router#no debug ip rip    = undebug all
RIP protocol debugging is off    All possible debugging has been turned off

'CCNA 기초' 카테고리의 다른 글

Router Flash Backup  (0) 2008.12.04
IP Routing - OSPF  (0) 2008.12.03
IP Routing - EIGRP  (0) 2008.12.03
IP Routing - Distance Vector RIP  (0) 2008.12.02
IP Routing - Dynamic routing RIP 이용  (0) 2008.12.02
IP Routing - default rounting  (0) 2008.12.02