Contoh topologi RIP v1 & RIP v2

Contoh topologi

 RIP v1


Gambar topologi



1. konfigurasi CLI di Router 0
   Router>en
Router#conf t
Router(conf)#int fa0/0
Router(conf-if)# alamat ip 192.168.1.2 255.255.255.0
Router(conf-if)#no shut
Router(conf-if)#keluar
Router(conf)#int fa1/0
Router(conf-if)# alamat ip 192.168.4.1 255.255.255.0
Router(conf-if)#no shut
Router(conf-if)#ex
Router(config)#router rip
Router(config-router)#net 192.168.1.0
Router(config-router)#net 192.168.4.0
Router(config-router)#ex
Router(config)#lakukan menulis
Konfigurasi bangunan...
[OKE]
Router(config)#ex
Router#

2. konfigurasi CLI di router 1
   Router>en
Router#conf t
Router(conf)#int fa0/0
Router(conf-if)# alamat ip 192.168.3.1 255.255.255.0
Router(conf-if)#no shut
Router(conf-if)#keluar
Router(conf)#int fa1/0
Router(conf-if)# alamat ip 192.168.2.2 255.255.255.0
Router(conf-if)#no shut
Router(conf-if)#ex
Router(config)#router rip
Router(config-router)#net 192.168.2.0
Router(config-router)#net 192.168.3.0
Router(config-router)#ex
Router(config)#lakukan menulis
Konfigurasi bangunan...
[OKE]
Router(config)#ex
Router#

3. Konfigurasi CLI di router 2
   Router>en
Router#conf t
Router(conf)#int fa0/0
Router(conf-if)# alamat ip 192.168.1.1 255.255.255.0
Router(conf-if)#no shut
Router(conf-if)#keluar
Router(conf)#int fa1/0
Router(conf-if)# alamat ip 192.168.2.1 255.255.255.0
Router(conf-if)#no shut
Router(conf-if)#ex
Router(config)#router rip
Router(config-router)#net 192.168.1.0
Router(config-router)#net 192.168.2.0
Router(config-router)#ex
Router(config)#lakukan menulis
Konfigurasi bangunan...
[OKE]
Router(config)#ex
Router#

4. Konfigurasi ip address di pc 0
  
5.  konfigurasi ip address di pc 1
   














RIP v2


gambar topologi


1. Konfigurasi CLI di Router 13
   SaktiR1>en
   SaktiR1#conf t
   Sakti­R1(config)#interface fa0/0
Sakti­R1(config­if)#no shutdown
Sakti­R1(config­if)#ip addr 11.11.11.1 255.255.255.0
Sakti­R1(config­if)#ex
Sakti­R1(config)#int fa0/1
Sakti­R1(config­if)#no shutdown
Sakti­R1(config­if)#ip addr 192.168.1.1 255.255.255.0
Sakti­R1(config­if)#exit
Sakti­R1(config)#

Sakti­R1(config)#router rip
Sakti­R1(config­router)#version 2
Sakti­R1(config­router)#network 192.168.1.0
Sakti­R1(config­router)#network 11.11.11.0
Sakti­R1(config­router)#no auto­summary
Sakti­R1(config­router)#exit
Sakti­R1(config)#

Sakti­R1#show ip route
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
11.0.0.0/24 is subnetted, 1 subnets
C 11.11.11.0 is directly connected, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
R 12.12.12.0 [120/1] via 11.11.11.2, 00:00:05, FastEthernet0/0
C 192.168.1.0/24 is directly connected, FastEthernet0/1
R 192.168.2.0/24 [120/2] via 11.11.11.2, 00:00:05,
FastEthernet0/0
Sakti­R1#

Sakti­R1#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 21 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/1 2 2
FastEthernet0/0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
11.0.0.0
192.168.1.0
Passive Interface(s):
Routing Information Sources:
Gateway Distance Last Update
11.11.11.2 120 00:00:15
Distance: (default is 120)
Sakti­R1#

2. Konfigurasi di router 14
   SaktiR2>en
   SaktiR2#conf t
   Sakti­R2(config)#interface fa0/0
Sakti­R2(config­if)#no shutdown
Sakti­R2(config­if)#ip address 11.11.11.2 255.255.255.0
Sakti­R2(config­if)#exit
Sakti­R2(config)#interface fa0/1
Sakti­R2(config­if)#no shutdown
Sakti­R2(config­if)#ip addr 12.12.12.1 255.255.255.0
Sakti­R2(config­if)#exit
Sakti­R2(config)#

Sakti­R2(config)#router rip
Sakti­R2(config­router)#version 2
Sakti­R2(config­router)#network 11.11.11.0
Sakti­R2(config­router)#network 12.12.12.0
Sakti­R2(config­router)#no auto­summary
Sakti­R2(config­router)#exit
Sakti­R2(config)#

Sakti­R2#show ip route
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
11.0.0.0/24 is subnetted, 1 subnets
C 11.11.11.0 is directly connected, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/1
R 192.168.1.0/24 [120/1] via 11.11.11.1, 00:00:22,
FastEthernet0/0
R 192.168.2.0/24 [120/1] via 12.12.12.2, 00:00:12,
FastEthernet0/1
SaktiR2#

SaktiR2#show ip protocols

3. konfigurasi di router 15
  SaktiR3>en
  SaktiR3#conf t
  Sakti­R3(config)#interface fa0/0
Sakti­R3(config­if)#no shutdown
Sakti­R3(config­if)#ip address 12.12.12.2 255.255.255.0
Sakti­R3(config­if)#exit
Sakti­R3(config)#interface fa0/1
Sakti­R3(config­if)#no shutdown
Sakti­R3(config­if)#ip address 192.168.2.1 255.255.255.0
Sakti­R3(config­if)#exit
Sakti­R3(config)#

Sakti­R3(config)#router rip
Sakti­R3(config­router)#version 2
Sakti­R3(config­router)#network 12.12.12.0
Sakti­R3(config­router)#network 192.168.2.0
Sakti­R3(config­router)#no auto­summary
Sakti­R3(config­router)#exit

Sakti­R3#show ip route
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
11.0.0.0/24 is subnetted, 1 subnets
R 11.11.11.0 [120/1] via 12.12.12.1, 00:00:05, FastEthernet0/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
R 192.168.1.0/24 [120/2] via 12.12.12.1, 00:00:05,
FastEthernet0/0
C 192.168.2.0/24 is directly connected, FastEthernet0/1
Sakti­R3#

SaktiR3#show ip route

4. Konfigurasi ip address di pc7
  

5. konfigurasi ip address di pc8

6.  Selanjutnya, tes ping antar PC
     di pc 1
   
  Packet Tracer PC Command Line 1.0
C:\>ping 192.168.2.2
Pinging 192.168.2.2 with 32 bytes of data:
Reply from 192.168.2.2: bytes=32 time=28ms TTL=126
Reply from 192.168.2.2: bytes=32 time=28ms TTL=126
Reply from 192.168.2.2: bytes=32 time=28ms TTL=126
Reply from 192.168.2.2: bytes=32 time=28ms TTL=126
Ping statistics for 192.168.2.2:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli­seconds:
Minimum = 28ms, Maximum = 38ms, Average = 33ms
C:\>
   

Komentar

Postingan populer dari blog ini

Memblokir situs dengan Firewall mikrotik

Konfigurasi FTP Server di Debian 10