Assalamualaikum wr wb
Untuk topologinya sebagai berikut
Perangkat | Interface | ip Address |
PC0 | 192.168.10.10/24 | |
RT-0 | Fa0/0 | 192.168.10.1/24 |
RT-0 | Fa0/1 | 192.168.20.1/24 |
RT-1 | Fa0/1 | 192.168.20.2/24 |
RT-1 | Fa0/0 | 192.168.30.1/24 |
PC1 | 192.168.30.10/24 |
Pasang IP sesuai ketentuan tabel, dengan gateway 192.168.10.1 dan 192.168.30.1
RT-0(config)#int
g0/0 RT-0(config-if)#ip add 192.168.10.1 255.255.255.0 RT-0(config-if)#no sh RT-0(config-if)#int g0/1 RT-0(config-if)#ip add 192.168.20.1 255.255.255.0 RT-0(config-if)#no sh |
RT-1(config)#int
g0/0 RT-1(config-if)#ip add 192.168.30.1 255.255.255.0 RT-1(config-if)#no sh RT-1(config-if)#int g0/1 RT-1(config-if)#ip add 192.168.20.2 255.255.255.0 RT-1(config-if)#no sh |
Kemudian kasih IP pada setiap host lalu test ping dari gateway ke host
RT-0#ping
192.168.10.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.10.10, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/2 ms |
Kemudian ping dari RT-0 ke RT-1
RT-0#ping
192.168.20.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.20.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms |
Bisa kita lihat setiap IP point to point sudah bisa diping selanjutnya tinggal pasang static route agar anatar PC bisa saling ping.
Untuk menggunakan static route ada 3 cara
1. Menggunakan exit interface
2. Menggubakan next-hop ip address
3. Menggunakan exit interface dan nrxt-hope ip address
Dan untuk kali ini saya akan konfigurasi menggunakan exit interface
Masukan static route dengan mengguinakan exit interface sebagai pintu keluar
RT-0(config)#ip route 192.168.30.0 255.255.255.0 GigabitEthernet 0/1 |
RT-1(config)#ip route 192.168.10.0 255.255.255.0 GigabitEthernet 0/1 |
Selanjutnya coba kita cek routing table di setiap router
RT-1#show
ip route
Codes: L - local, C - connected, S - static, 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 192.168.10.0/24 is directly connected, GigabitEthernet0/1 192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.20.0/24 is directly connected, GigabitEthernet0/1 L 192.168.20.2/32 is directly connected, GigabitEthernet0/1 192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks C 192.168.30.0/24 is directly connected, GigabitEthernet0/0 L 192.168.30.1/32 is directly connected, GigabitEthernet0/0 RT-1# |
Terlihat dikedua routing table da lambang S yang berarti Static, selanjutnya tinggal ping dari pc0 ke pc1 atau sebaliknya
C:\>ipconfig FastEthernet0 Connection:(default port) Link-local ipv6 Address.........: FE80::2E0:A3FF:FE68:6663 ip Address......................: 192.168.10.10 Subnet Mask.....................: 255.255.255.0 Default Gateway.................: 192.168.10.1 C:\>ping 192.168.30.10 Pinging 192.168.30.10 with 32 bytes of data: Reply from 192.168.30.10: bytes=32 time<1ms TTL=126 Reply from 192.168.30.10: bytes=32 time<1ms TTL=126 Reply from 192.168.30.10: bytes=32 time<1ms TTL=126 Reply from 192.168.30.10: bytes=32 time<1ms TTL=126 Ping statistics for 192.168.30.10: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms |
Jadi inti dari static adalah menentukan network tujuan dan untuk jalurnya atau gerbangnya kita gunakan interface anatar router
Sekian yang dapat saya sampaikan kurang lebihnya maaf
Wassalamualaikum wr wb
0 Response to "KONFIGURASI ROUTING STATIK (EXIT INTERACE) PADA CISCO PACKETTRACER"
Post a Comment