Routing Information Protocol (RIP) adalah sebuah protokol routing
dinamis yang digunakan dalam jaringan LAN (Local Area Network) dan WAN
(Wide Area Network). Oleh karena itu protokol ini diklasifikasikan
sebagai Interior Gateway Protocol (IGP). Protokol ini menggunakan algoritma Distance-Vector Routing. Pertama kali didefinisikan dalam RFC 1058 (1988). Protokol ini telah dikembangkan beberapa kali, sehingga terciptalah RIP Versi 2 (RFC 2453).
Kedua versi ini masih digunakan sampai sekarang, meskipun begitu secara
teknis mereka telah dianggap usang oleh teknik-teknik yang lebih maju,
seperti Open Shortest Path First (OSPF) dan protokol OSI IS-IS. RIP juga telah diadaptasi untuk digunakan dalam jaringan IPv6, yang dikenal sebagai standar RIPng (RIP Next Generation / RIP generasi berikutnya), yang diterbitkan dalam RFC 2080 (1997).
CONFIGURE ROUTER0
Silahkan untuk masuk ke tab cli dan lakukan konfigurasi berikut ini ?
Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#n 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)#ip add 192.168.1.1 255.255.255.252
Router(config-if)#int fa0/1
Router(config-if)#n sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
Router(config-if)#ip add 100.100.100.1 255.255.255.252
Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 192.168.1.0
Router(config-router)#net 100.0.0.0
Router(config-router)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-router)#int lo0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
Router(config-if)#\
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
%SYS-5-CONFIG_I: Configured from console by console
Router#^Z
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int lo0
Router(config-if)#ip add 1.1.1.1 255.255.255.252
Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 1.0.0.0
Router(config-router)#ver 2
Router(config-router)#no au
Router(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#^Z
Router#sh ip rou
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
1.0.0.0/30 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
R 2.0.0.0/8 [120/1] via 100.100.100.2, 00:01:17, FastEthernet0/1
R 2.2.2.0/30 [120/1] via 100.100.100.2, 00:00:09, FastEthernet0/1
100.0.0.0/30 is subnetted, 1 subnets
C 100.100.100.0 is directly connected, FastEthernet0/1
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
R 172.16.0.0/16 [120/1] via 100.100.100.2, 00:01:17, FastEthernet0/1
R 172.16.1.0/30 [120/1] via 100.100.100.2, 00:00:09, FastEthernet0/1
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, FastEthernet0/0
Router#ping 172.16.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 62/78/109 ms
Router#s
Press RETURN to get started!
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#n 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)#ip add 192.168.1.1 255.255.255.252
Router(config-if)#int fa0/1
Router(config-if)#n sh
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
Router(config-if)#ip add 100.100.100.1 255.255.255.252
Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 192.168.1.0
Router(config-router)#net 100.0.0.0
Router(config-router)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-router)#int lo0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
Router(config-if)#\
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
%SYS-5-CONFIG_I: Configured from console by console
Router#^Z
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int lo0
Router(config-if)#ip add 1.1.1.1 255.255.255.252
Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 1.0.0.0
Router(config-router)#ver 2
Router(config-router)#no au
Router(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#^Z
Router#sh ip rou
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
1.0.0.0/30 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
R 2.0.0.0/8 [120/1] via 100.100.100.2, 00:01:17, FastEthernet0/1
R 2.2.2.0/30 [120/1] via 100.100.100.2, 00:00:09, FastEthernet0/1
100.0.0.0/30 is subnetted, 1 subnets
C 100.100.100.0 is directly connected, FastEthernet0/1
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
R 172.16.0.0/16 [120/1] via 100.100.100.2, 00:01:17, FastEthernet0/1
R 172.16.1.0/30 [120/1] via 100.100.100.2, 00:00:09, FastEthernet0/1
192.168.1.0/30 is subnetted, 1 subnets
C 192.168.1.0 is directly connected, FastEthernet0/0
Router#ping 172.16.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 62/78/109 ms
Router#s
dan sekarang silahkan masuk tab cli pada ROUTER1
Continue with configuration dialog? [yes/no]: n
Press RETURN to get started!
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#n 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)#ip add 172.16.1.1 255.255.255.252
Router(config-if)#int fa0/1
Router(config-if)#n 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)#ip add 100.100.100.2 255.255.255.252
Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 172.16.0.0
Router(config-router)#net 100.0.0.0
Router(config-router)#^Z
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int lo0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
Router(config-if)#ip add 2.2.2.2 255.255.255.252
Router(config-if)#n sh
Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 2.0.0.0
Router(config-router)#ver 2
Router(config-router)#no au
Router(config-router)#no auto-summary
Router(config-router)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
^Z
Router#sh ip rou
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
1.0.0.0/30 is subnetted, 1 subnets
R 1.1.1.0 [120/1] via 100.100.100.1, 00:00:11, FastEthernet0/1
2.0.0.0/30 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
100.0.0.0/30 is subnetted, 1 subnets
C 100.100.100.0 is directly connected, FastEthernet0/1
172.16.0.0/30 is subnetted, 1 subnets
C 172.16.1.0 is directly connected, FastEthernet0/0
192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
R 192.168.1.0/24 is possibly down, routing via 100.100.100.1, FastEthernet0/1
R 192.168.1.0/30 [120/1] via 100.100.100.1, 00:00:11, FastEthernet0/1
Router#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 62/87/110 ms
Router#
dan jangan lupa untuk melakukan ping dari masing-masing PC
SEMOGA BERMANFAAT
@Seizeandreas
No comments:
Post a Comment