Wednesday, 19 January 2022

CCNA-STATIC ROUTE 3-ROUTING #17

  

STATIC ROUTE (3 ROUTER)

    
        Static route adalah routing yang menghubungkan suatu network yang berbeda agar bisa trhubung dengan network lainya secara manual/statik. DISTANCE routing static adalah 1.




            STEP-1 :  MEMBUAT IP ADDRESS & MENGAKTIFKAN INTERFACE (router)
    R1
Router(config)#int fa 0/0 
Router(config-if)#ip address 10.10.10.1 255.255.255.0 
Router(config-if)#no shutdown 
Router(config-if)#ex

Router(config)#int fa 0/1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown 
Router(config-if)#ex

    R2
Router(config)#int fa 0/1
Router(config-if)#ip address 10.10.10.2 255.255.255.0 
Router(config-if)#no shutdown 
Router(config-if)#ex

Router(config)#int fa 0/0
Router(config-if)#ip address 20.20.20.1 255.255.255.0
Router(config-if)#no shutdown 
Router(config-if)#ex

    R3
Router(config)#int fa 0/0
Router(config-if)#ip address 20.20.20.2 255.255.255.0 
Router(config-if)#no shutdown 
Router(config-if)#ex

Router(config)#int fa 0/1
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config-if)#no shutdown 
Router(config-if)#ex


            STEP-2 :  MELAKUKAN ROUTING STATIK (router)
    R1
Router(config)#ip route 20.20.20.0 255.255.255.0 10.10.10.2
Router(config)#ip route 192.168.2.0 255.255.255.0 10.10.10.2

    R2
Router(config)#ip route 192.168.1.0 255.255.255.0 10.10.10.1
Router(config)#ip route 192.168.2.0 255.255.255.0 20.20.20.2

    R3
Router(config)#ip route 10.10.10.0 255.255.255.0 20.20.20.1
Router(config)#ip route 192.168.1.0 255.255.255.0 20.20.20.1

    RUMUS : ip + route + destination(192.168.-.-) + netmask(255.255.255.0) + gateway(10.10.10.-)


    CHECK : show
Router#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

10.0.0.0/24 is subnetted, 1 subnets
C         10.10.10.0 is directly connected, FastEthernet0/0
C         192.168.1.0/24 is directly connected, FastEthernet0/1
S         192.168.2.0/24 [1/0] via 10.10.10.2

    NOTE : jika berhasil berarti codenya S

No comments:

Post a Comment

CCNA--DHCP SNOOPING-DHCP#26

     DHCP SNOOPING                 DHCP Snooping adalah fitur pada cisco untuk mencegah serangan spoofing. Spoofing adalah serangan yang dil...