0% found this document useful (0 votes)
369 views23 pages

UTS - Jaringan Komputer 2 - 43A87005190050 Bagus Ilham Santoso

The document contains configuration details for static and dynamic routing using RIPv2 in a network with 4 routers (R0, R1, R2, R3) and 4 PCs. It includes interface IP addresses, routing tables, and configuration commands on each router to implement static and dynamic routing.

Uploaded by

Muhammad Fadlan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
369 views23 pages

UTS - Jaringan Komputer 2 - 43A87005190050 Bagus Ilham Santoso

The document contains configuration details for static and dynamic routing using RIPv2 in a network with 4 routers (R0, R1, R2, R3) and 4 PCs. It includes interface IP addresses, routing tables, and configuration commands on each router to implement static and dynamic routing.

Uploaded by

Muhammad Fadlan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

UJIAN TENGAH SEMESTER - JARINGAN KOMPUTER 2

STATIC & DYNAMIC

NAMA : BAGUS ILHAM SANTOSO


NPM : 43A87005190050
PRODI : D3/TK/03/A/M
TABEL ROUTING
STATIC :
DEVICE IP SUBNET SUBNET MASK GATEWAY NETWORK NEXT HOP
ADDRESS TUJUAN
PC0 10.10.10.50 /24 255.255.255.0 10.10.10.1
R0 10.10.10.1 /24 255.255.255.0 - 30.30.30.0 20.20.20.50
20.20.20.51 /20 255.255.240.0 40.40.40.0
50.50.50.0
60.60.60.0
70.70.64.0
PC1 30.30.30.50 /24 255.255.255.0 30.30.30.1
R1 20.20.20.50 /20 255.255.240.0 - 10.10.10.0 20.20.20.51
30.30.30.1 /24 255.255.255.0 50.50.50.0 40.40.40.2
40.40.40.1 /29 255.255.255.248 70.70.64.0 60.60.60.2
60.60.60.1 /28 255.255.255.240
PC2 50.50.50.50 /24 255.255.255.0 50.50.50.1
R2 40.40.40.2 /24 255.255.255.0 - 10.10.10.0 40.40.40.1
50.50.50.1 /29 255.255.255.248 20.20.16.0
30.30.30.0
60.60.60.0
70.70.64.0
PC3 70.70.70.50 /20 255.255.240.0 70.70.64.1
R3 60.60.60.2 /28 255.255.255.240 - 10.10.10.0 60.60.60.1
70.70.64.1 /20 255.255.240.0 20.20.16.0
30.30.30.0
40.40.40.0
50.50.50.0
XXX = 50
2Y = 20
DYNAMIC (RIPv2) :
DEVICE IP ADDRESS SUBNET SUBNET MASK GATEWAY NEXT HOP
PC0 10.10.10.50 /24 255.255.255.0 10.10.10.1
R0 10.10.10.1 /24 255.255.255.0 - 10.10.10.0
20.20.20.51 /20 255.255.240.0 20.20.16.0
PC1 30.30.30.50 /24 255.255.255.0 30.30.30.1
R1 20.20.20.50 /20 255.255.240.0 - 20.20.16.0
30.30.30.1 /24 255.255.255.0 30.30.30.0
40.40.40.1 /29 255.255.255.248 40.40.40.0
60.60.60.1 /28 255.255.255.240 60.60.60.0
PC2 50.50.50.50 /24 255.255.255.0 50.50.50.1
R2 40.40.40.2 /24 255.255.255.0 - 40.40.40.0
50.50.50.1 /29 255.255.255.248 50.50.50.0
PC3 70.70.70.50 /20 255.255.240.0 70.70.64.1
R3 60.60.60.2 /28 255.255.255.240 - 60.60.60.0
70.70.64.1 /20 255.255.240.0 70.70.64.0
XXX = 50
2Y = 20
KONFIG DASAR :
R0 :

R0>en
R0#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R0(config)#int fa0/0
R0(config-if)#ip address 10.10.10.1 255.255.255.0
R0(config-if)#no sh
R0(config-if)#int fa0/1
R0(config-if)#ip address 20.20.20.51 255.255.240.0
R0(config-if)#no sh
R0(config-if)#end
R1 :
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int fa0/0
R1(config-if)#ip address 30.30.30.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#int fa0/1
R1(config-if)#ip address 20.20.20.50 255.255.240.0
R1(config-if)#no sh
R1(config-if)#int se0/0/0
R1(config-if)#ip address 40.40.40.1 255.255.255.248
R1(config-if)#clock rate 2000000
R1(config-if)#no sh
R1(config-if)#int se0/0/1
R1(config-if)#ip address 60.60.60.1 255.255.255.240
R1(config-if)#clock rate 1000000
R1(config-if)#no sh
R2 :
Router>en
Router#conf t
Router(config)#hostname R2
R2(config)#int fa0/0
R2(config-if)#ip address 50.50.50.1 255.255.255.0
R2(config-if)#no sh
R2(config-if)#int se0/0/0
R2(config-if)#ip address 40.40.40.2 255.255.255.248
R2(config-if)#no sh
R2(config-if)#end
R3 :
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3
R3(config)#int fa0/0
R3(config-if)#ip address 70.70.64.1 255.255.240.0
R3(config-if)#no sh
R3(config-if)#int se0/0/0
R3(config-if)#ip address 60.60.60.2 255.255.255.240
R3(config-if)#no sh
R3(config-if)#end
ROUTING CONFIG STATIC
R0:
R0>en
R0#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R0(config)#ip route 30.30.30.0 255.255.255.0 20.20.20.50
R0(config)#ip route 40.40.40.0 255.255.255.248 20.20.20.50
R0(config)#ip route 50.50.50.0 255.255.255.0 20.20.20.50
R0(config)#ip route 60.60.60.0 255.255.255.240 20.20.20.50
R0(config)#ip route 70.70.64.0 255.255.240.0 20.20.20.50
R0(config)#
R1:
R1>en
R1#conf t
R1(config)#ip route 10.10.10.0 255.255.255.0 20.20.20.51
R1(config)#ip route 50.50.50.0 255.255.255.0 40.40.40.2
R1(config)#ip route 70.70.64.0 255.255.240.0 60.60.60.2
R1(config)#
R2 :
R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 10.10.10.0 255.255.255.0 40.40.40.1
R2(config)#ip route 20.20.16.0 255.255.240.0 40.40.40.1
R2(config)#ip route 30.30.30.0 255.255.255.0 40.40.40.1
R2(config)#ip route 60.60.60.0 255.255.255.240 40.40.40.1
R2(config)#ip route 70.70.64.0 255.255.240.0 40.40.40.1
R2(config)#
R3:
R3>en
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#ip route 10.10.10.0 255.255.255.0 60.60.60.1
R3(config)#ip route 20.20.16.0 255.255.240.0 60.60.60.1
R3(config)#ip route 30.30.30.0 255.255.255.0 60.60.60.1
R3(config)#ip route 40.40.40.0 255.255.255.248 60.60.60.1
R3(config)#ip route 50.50.50.0 255.255.255.0 60.60.60.1
R3(config)#
ROUTING CONFIG RIPv2
R0:
R0(config)#router rip
R0(config-router)#version 2
R0(config-router)#network 10.10.10.0
R0(config-router)#network 20.20.16.0
R0(config-router)#
R1:
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 20.20.16.0
R1(config-router)#network 30.30.30.0
R1(config-router)#network 40.40.40.0
R1(config-router)#network 60.60.60.0
R1(config-router)#
R2:
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#network 10.10.10.0
R2(config-router)#network 20.20.16.0
R2(config-router)#
R3:
R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#network 10.10.10.0
R3(config-router)#network 20.20.16.0
R3(config-router)#
SHOW RUNNING CONFIG (STATIC):
R0 :
R0#sh run
Building configuration...

Current configuration : 813 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R0
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.10.10.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 20.20.20.51 255.255.240.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 30.30.30.0 255.255.255.0 20.20.20.50
ip route 40.40.40.0 255.255.255.248 20.20.20.50
ip route 50.50.50.0 255.255.255.0 20.20.20.50
ip route 60.60.60.0 255.255.255.240 20.20.20.50
ip route 70.70.64.0 255.255.240.0 20.20.20.50
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End
R1:
R1#sh run
Building configuration...

Current configuration : 882 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 30.30.30.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 20.20.20.50 255.255.240.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 40.40.40.1 255.255.255.248
clock rate 2000000
!
interface Serial0/0/1
ip address 60.60.60.1 255.255.255.240
clock rate 1000000
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 10.10.10.0 255.255.255.0 20.20.20.51
ip route 50.50.50.0 255.255.255.0 40.40.40.2
ip route 70.70.64.0 255.255.240.0 60.60.60.2
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End
R2:
R2#sh run
Building configuration...

Current configuration : 971 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 50.50.50.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 40.40.40.2 255.255.255.248
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 10.10.10.0 255.255.255.0 40.40.40.1
ip route 20.20.16.0 255.255.240.0 40.40.40.1
ip route 30.30.30.0 255.255.255.0 40.40.40.1
ip route 60.60.60.0 255.255.255.0 40.40.40.1
ip route 60.60.60.0 255.255.255.240 40.40.40.1
ip route 70.70.64.0 255.255.240.0 40.40.40.1
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End
R3:
R3#sh run
Building configuration...

Current configuration : 925 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 70.70.64.1 255.255.240.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 60.60.60.2 255.255.255.240
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip route 10.10.10.0 255.255.255.0 60.60.60.1
ip route 20.20.16.0 255.255.240.0 60.60.60.1
ip route 30.30.30.0 255.255.255.0 60.60.60.1
ip route 40.40.40.0 255.255.255.248 60.60.60.1
ip route 50.50.50.0 255.255.255.0 60.60.60.1
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End
SHOW RUNNING CONFIG (RIPv2):
R0:
R0#sh run
Building configuration...

Current configuration : 634 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R0
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.10.10.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 20.20.20.51 255.255.240.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 10.0.0.0
network 20.0.0.0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End
R1:
R1#sh run
Building configuration...

Current configuration : 839 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 30.30.30.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 20.20.20.50 255.255.240.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 40.40.40.1 255.255.255.248
clock rate 2000000
!
interface Serial0/0/1
ip address 60.60.60.1 255.255.255.240
clock rate 1000000
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 20.0.0.0
network 30.0.0.0
network 40.0.0.0
network 60.0.0.0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End
R2:
R2#sh run
Building configuration...

Current configuration : 756 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 50.50.50.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 40.40.40.2 255.255.255.248
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 40.0.0.0
network 50.0.0.0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End
R3:
R3#sh run
Building configuration...

Current configuration : 756 bytes


!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
ip address 70.70.64.1 255.255.240.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 60.60.60.2 255.255.255.240
!
interface Serial0/0/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router rip
version 2
network 60.0.0.0
network 70.0.0.0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
End

You might also like