Contoh Kasus Konfigurasi Router (Dengan Packet Tracer)

Farihin Muhamad
0

Konfigurasi komputer
•    Komputer 1:
      IP address    192.168.1.1
      Netmask    255.255.255.0
      Gateway    192.168.1.100
      PC Name    jupiter
•    Komputer 2
      IP address    10.10.10.1
      Netmask    255.0.0.0
      Gateway    10.10.10.100
      PC Name    jupiter

Konfigurasi Router beserta Switch:
•    Router yang digunakan adalah jenis 2620 XM dengan penambahan satu serial port
•    Switch yang digunakan adalah 2950-24

Setelah computer terhubung pada router dan switch, silahkan lakukan koneksi dengan menggunakan test ping, apakah computer dengan switch dan router sudah saling terkoneksi ..?

Konfigurasi Pada Router Jupiter:
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Rjupiter
Rjupiter(config)#interface fa0/0
Rjupiter(config-if)#ip address 192.168.1.100 255.255.255.0
Rjupiter(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Rjupiter(config-if)#exit
Rjupiter(config)#interface serial0/0
Rjupiter(config-if)#ip address 172.16.1.100 255.255.0.0
Rjupiter(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to down
Rjupiter(config-if)#clock rate 128000
Rjupiter(config-if)#

Konfigurasi Pada Router Leo:
Router>enable
Router#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Rleo
Rleo(config)#interface FastEthernet0/0
Rleo(config-if)#ip address 10.10.10.100 255.0.0.0
Rleo(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Rleo(config-if)#exit
Rleo(config)#interface serial0/0
Rleo(config-if)#ip address 172.16.1.200 255.255.0.0
Rleo(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0, changed state to up
Rleo(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
Rleo(config-if)#clock rate 128000
Rleo(config-if)#

Lakukan koneksi ping dari router ke computer

Proses routing para router1
Router 1 jika ingin menjangkau network 10.0.0.0 harus melalui IP address 172.16.1.200 sehingga IP ini dapat menjadi  gateway bagi router, konfigurasi nya adalah sebagai berikut :
Rjupiter#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Rjupiter(config)#ip route 10.0.0.0 255.0.0.0 172.16.1.200
Rjupiter(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Rjupiter#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

S    10.0.0.0/8 [1/0] via 172.16.1.200
C    172.16.0.0/16 is directly connected, Serial0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
Rjupiter#


Proses routing para router2
Rleo#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Rleo(config)#ip route 192.168.1.0 255.255.255.0 172.16.1.100
Rleo(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Rleo#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

C    10.0.0.0/8 is directly connected, FastEthernet0/0
C    172.16.0.0/16 is directly connected, Serial0/0
S    192.168.1.0/24 [1/0] via 172.16.1.100
Rleo#

Credit to Riki Nuryadin, S.Pd

Tags:

Post a Comment

0Comments

Post a Comment (0)