Konfigurasi Routing Static di cisco packet tracer


CARA KONFIGURASI ROUTINF STATIC PADA CISCO PACKET TRACER

1. Buatlah Topologi Contoh Dibawah ini

2. Buat IP address di Router 1 dan Router 2
        I.              I.       Konfigurasi IP address di Router 1

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int gi0/0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#ip add 192.168.10.1 255.255.255.0
Router(config-if)#ex

            Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int gi0/1
Router(config-if)#ip add 192.168.12.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
Router(config-if)#ex
           
Setelah membuat IP di router 1 sekarang buat IP di pc 3,
IP pc = 192.168.10.2
Gateway = 192.168.10.1
Subnet mask= 255.255.255.0



II.         Konfigurasi IP address di Router 2
           
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int gi0/0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#ip add 192.168.20.1 255.255.255.0
Router(config-if)#ex

            Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int gi0/1
Router(config-if)#ip add 192.168.12.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
Router(config-if)#ex
           
            Setelah membuat IP di router 2 sekarang buat IP di pc 4,
IP pc = 192.168.20.2
Gateway = 192.168.20.1
Subnet mask= 255.255.255.0
3. Buat IP route di Router 1 dan Router 2
    I.      Konfigurasi IP Route di Router 1
            Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 192.168.20.0 255.255.255.0 192.168.12.2
Router(config)#

    II.     Konfigurasi IP Route di Router 2
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#ip route 192.168.10.0 255.255.255.0 192.168.12.1
Router(config)#



4. Langkah terakhir coba ping dari pc 3 ke pc 4 atau sebaliknya

I.    Ping dari pc 3 ke pc 4 Sudah Berhasil

C:\>ping 192.168.20.2

Pinging 192.168.20.2 with 32 bytes of data:

Reply from 192.168.20.2: bytes=32 time=1ms TTL=126
Reply from 192.168.20.2: bytes=32 time<1ms TTL=126
Reply from 192.168.20.2: bytes=32 time<1ms TTL=126
Reply from 192.168.20.2: bytes=32 time<1ms TTL=126

Ping statistics for 192.168.20.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms

    II.                 II.       Ping dari pc 4 ke pc 3 Sudah Berhasil

C:\>ping 192.168.10.2

Pinging 192.168.10.2 with 32 bytes of data:

Reply from 192.168.10.2: bytes=32 time=1ms TTL=126
Reply from 192.168.10.2: bytes=32 time<1ms TTL=126
Reply from 192.168.10.2: bytes=32 time<1ms TTL=126
Reply from 192.168.10.2: bytes=32 time<1ms TTL=126

Ping statistics for 192.168.10.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms





~SELESAI~

Komentar