ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • cisco static routing (스태틱 라우팅)#2
    네트워크/기술 2025. 3. 14. 13:30

    cisco static routing

    스태틱 라우팅 연습

     

    환경




    구성 팁

    pc입장에서는 R1을 통해 연결되어있는 10.0.0.0/8, 20.0.0.0/8, 12.0.0.0/8 밖에 몰라 다른 네트워크와 통신이 불가하다.
    그러므로 다른 네트워크 대역과 통신이 가능하도록 스태틱 라우팅을 통해 경로 설정을 해줘야 한다.
    pc(10.1.1.1)이 모르는 대역 : 172.16.0.0/16, 23.1.1.0/24, 192.168.10.0/24
     

    설정

    [R1]

    ip route 172.16.0.0 255.255.0.0 12.1.1.2

    ip route 192.168.10.0 255.255.255.0 12.1.1.2

     

    [R2]

    ip route 10.0.0.0 255.0.0.0 12.1.1.1

    ip route 20.0.0.0 255.0.0.0 12.1.1.1

    ip route 192.168.10.0 255.255.255.0 23.1.1.3

     

    [R3]

    ip route 10.0.0.0 255.0.0.0 23.1.1.2

    ip route 20.0.0.0 255.0.0.0 23.1.1.2

    ip route 172.16.0.0 255.255.0.0 23.1.1.2


    #show ip route

    [R1]

    C 10.0.0.0/8 is directly connected, FastEthernet0/0

    C 12.0.0.0/8 is directly connected, FastEthernet0/1

    C 20.0.0.0/8 is directly connected, FastEthernet1/1

    S 172.16.0.0/16 [1/0] via 12.1.1.2

    S 192.168.10.0/24 [1/0] via 12.1.1.2



    [R2]

    S 10.0.0.0/8 [1/0] via 12.1.1.1

    C 12.0.0.0/8 is directly connected, FastEthernet0/1

    S 20.0.0.0/8 [1/0] via 12.1.1.1

    C 23.0.0.0/8 is directly connected, FastEthernet1/1

    C 172.16.0.0/16 is directly connected, FastEthernet0/0

    S 192.168.10.0/24 [1/0] via 23.1.1.3



    [R3]

    S 10.0.0.0/8 [1/0] via 23.1.1.2

    S 20.0.0.0/8 [1/0] via 23.1.1.2

    C 23.0.0.0/8 is directly connected, FastEthernet1/1

    S 172.16.0.0/16 [1/0] via 23.1.1.2

    C 192.168.10.0/24 is directly connected, FastEthernet0/0

     

    반응형

    '네트워크 > 기술' 카테고리의 다른 글

    ACL(Access Control List)  (0) 2025.03.18
    STP (Spanning-Tree Protocol)  (0) 2025.03.17
    OSPF (Open Shortest Path First)  (0) 2025.03.17
    cisco static routing (스태틱 라우팅)#1  (0) 2025.03.14
    cisco hsrp 설정 및 개념(이중화)  (0) 2025.03.14

    댓글

Designed by Tistory.