Router 0 설정
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/0
Router(config-if)#ip add 10.1.12.1 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
Router(config-if)#exit
Router(config)#int fa 0/0
Router(config-if)#ip add 10.1.41.1 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/0
Router(config-if)#clock rate 64000
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
- Dynamic routing Distance Vector routing algorithm(RIP) 설정 -
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router ?
eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)
ospf Open Shortest Path First (OSPF)
rip Routing Information Protocol (RIP)
Router(config)#router rip - Dynamic routing Distance Vector routing algorithm(RIP) 설정 -
Router(config-router)#network ?
A.B.C.D Network number
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 - Dynamic routing Distance Vector routing algorithm(RIP) 설정 확인
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 10 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 - rip version 1을 사용하고 있다.
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/1 1 2 1
Serial0/0/1 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.23.1 120 00:00:10
Distance: (default is 120)
Router#show ip route - 모든 라우터의 설정이 끝난 후 확인을 해야 rip설정이 제대로 적용이 된다.
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 4 subnets
C 10.1.12.0 is directly connected, Serial0/0/0
R 10.1.23.0 [120/1] via 10.1.12.2, 00:00:10, Serial0/0/0
R 10.1.34.0 [120/1] via 10.1.41.2, 00:00:22, FastEthernet0/0
C 10.1.41.0 is directly connected, FastEthernet0/0
- R : rip 방식을 사용하는 Dynamic routing의 Distance Vector routing algorithm의 한 종류이다.
------------------------------------------------------------------------------------------------------------------
Router 1 설정
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/0
Router(config-if)#ip add 10.1.12.2 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#exit
Router(config)#int se 0/0/1
Router(config-if)#ip add 10.1.23.1 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/1
Router(config-if)#clock rate 64000
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
- Dynamic routing Distance Vector routing algorithm(RIP) 설정 -
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 route - 모든 라우터의 설정이 끝난 후 확인을 해야 rip설정이 제대로 적용이 된다.
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 4 subnets
C 10.1.12.0 is directly connected, Serial0/0/0
C 10.1.23.0 is directly connected, Serial0/0/1
R 10.1.34.0 [120/1] via 10.1.23.2, 00:00:05, Serial0/0/1
R 10.1.41.0 [120/1] via 10.1.12.1, 00:00:21, Serial0/0/0
------------------------------------------------------------------------------------------------------------------
Router 2 설정
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se 0/0/1
Router(config-if)#ip add 10.1.23.2 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/1
Router(config-if)#ip add 10.1.34.1 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
- Dynamic routing Distance Vector routing algorithm(RIP) 설정 -
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 route - 모든 라우터의 설정이 끝난 후 확인을 해야 rip설정이 제대로 적용이 된다.
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 4 subnets
R 10.1.12.0 [120/1] via 10.1.23.1, 00:00:17, Serial0/0/1
C 10.1.23.0 is directly connected, Serial0/0/1
C 10.1.34.0 is directly connected, FastEthernet0/1
R 10.1.41.0 [120/1] via 10.1.34.2, 00:00:05, FastEthernet0/1
------------------------------------------------------------------------------------------------------------------
Router 3 설정
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 10.1.41.2 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int fa 0/1
Router(config-if)#ip add 10.1.34.2 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
- Dynamic routing Distance Vector routing algorithm(RIP) 설정 -
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 route - 모든 라우터의 설정이 끝난 후 확인을 해야 rip설정이 제대로 적용이 된다.
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 4 subnets
R 10.1.12.0 [120/1] via 10.1.41.1, 00:00:07, FastEthernet0/0
R 10.1.23.0 [120/1] via 10.1.34.1, 00:00:01, FastEthernet0/1
C 10.1.34.0 is directly connected, FastEthernet0/1
C 10.1.41.0 is directly connected, FastEthernet0/0
'CCNA 기초' 카테고리의 다른 글
IP Routing - EIGRP (0) | 2008.12.03 |
---|---|
IP Routing - Distance Vector RIP Version (0) | 2008.12.02 |
IP Routing - Distance Vector RIP (0) | 2008.12.02 |
IP Routing - default rounting (0) | 2008.12.02 |
IP Routing - Static routing (0) | 2008.12.02 |
IP Routing - Static routing & router0, 1, 2 (0) | 2008.12.01 |