ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Network 네트워크 라우팅 테이블 구성하는 방법(1)
    System of Infra/Network 2022. 8. 7. 20:39
    728x90
    반응형

    cisco로고이미지

    Network 네트워크 라우팅 테이블 구성하는 방법

    ★라우팅 설정 사전 준비 구성 
    1. Router
    - Router#1 203.237.10.254
    - Router#2 203.237.20.254
    - Router#3 203.237.30.254

    2.Switch
    - Switch0 PC <->Server <->Router 연결용

    3. Desktop
    - PC_Client#1 203.237.10.1
    - PC_Client#2 203.237.20.1
    - PC_Client#3 203.237.30.1

    4. Server
    - Server_Client#1 203.237.10.101

    5. Laptop
    - Laptop_Client#1 Serial 설정용

     

    cisco로고이미지1

    ▶ Router#1 영역 안에서 L2 스위치를 통해 PC_Client#1과 Server_Client#1을 연결, Router#2 영역 안에서 PC_Client#2를 연결하고 마지막으로 Router#3 영역 안에서 PC_Client#3을 연결합니다.
    추가적으로 라우팅 테이블을 설정하기 위해 Serial IP를 할당하기 위한 Laptop_Client#1을 Router#1과 연결하도록 합니다. 

     

    cisco로고이미지2

    ▶ Router#1 영역의 IP 대역 A 203.237.10.0/24로 설정을 합니다. 추가적으로 PC_Client#1에서 Router#1과의 통신이 가능하기 위해 동일 대역의 203.237.10.1과 함께 Subnetmask 및 Gateway 설정을 함께 해줍니다.
    Router>enable
    Router#
    Router#configure terminal
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#interface FastEthernet0/0
    Router(config-if)#ip address 203.237.10.254 255.255.255.0
    Router(config-if)#exit
    Router(config)#exit
    Router#wr
    Building configuration...
    [OK]
    ▶ Router#1의 FastEthernet0/0 포트에 203.237.10.254 아이피를 설정합니다. 

     

    cisco로고이미지3

    ▶ Router#1 영역의 Server_Client#1에도 203.237.10.101 IP 설정을 할당하도록 합니다. 추가적으로 DNS 설정을 자기 자신의 IP로 설정을 해주도록 합니다.
    C:\>ipconfig
    FastEthernet0 Connection:(default port)
       Connection-specific DNS Suffix..: 
       Link-local IPv6 Address.........: FE80::290:21FF:FEC5:4E07
       IPv6 Address....................: ::
       IPv4 Address....................: 203.237.10.1
       Subnet Mask.....................: 255.255.255.0
       Default Gateway.................: ::
                                         203.237.10.254
    
    C:\>ping 203.237.10.101
    Pinging 203.237.10.101 with 32 bytes of data:
    Reply from 203.237.10.101: bytes=32 time<1ms TTL=128
    Reply from 203.237.10.101: bytes=32 time<1ms TTL=128
    Reply from 203.237.10.101: bytes=32 time<1ms TTL=128
    Reply from 203.237.10.101: bytes=32 time=1ms TTL=128
    
    Ping statistics for 203.237.10.101:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 1ms, Average = 0ms
        
    C:\>ping 203.237.10.254
    Pinging 203.237.10.254 with 32 bytes of data:
    Reply from 203.237.10.254: bytes=32 time<1ms TTL=255
    Reply from 203.237.10.254: bytes=32 time<1ms TTL=255
    Reply from 203.237.10.254: bytes=32 time<1ms TTL=255
    Reply from 203.237.10.254: bytes=32 time<1ms TTL=255
    
    Ping statistics for 203.237.10.254:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms
    ▶ PC_Client#1에서 L2 스위치를 통해서 Server_Client#1과 패킷 교환을 통해서 통신이 되는 것을 확인합니다. 또한 Router#1까지 ping 테스트를 통해서 통신이 되는 것을 확인하여 대역 A의 영역 작업을 완료합니다.

     

    cisco로고이미지4

    ▶ Router#2 영역의 대역을 203.237.20.0/24로 설정을 위해서 203.237.20.254 아이피를 할당합니다. 추가적으로 PC_Client#2에도 동일 대역인 203.237.20.1 아이피를 부여하고 DNS는 Server_Client#1의 아이피를 할당합니다.
    Router>enable
    Router#configure terminal
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#interface FastEthernet0/0
    Router(config-if)#ip address 203.237.20.254 255.255.255.0
    Router(config-if)#exit
    Router(config)#exit
    Router#wr
    Building configuration...
    [OK]
    ▶ Router#2의 FastEthernet0/0 포트에 203.237.20.254 아이피를 설정합니다. 
    C:\>ipconfig
    FastEthernet0 Connection:(default port)
       Connection-specific DNS Suffix..: 
       Link-local IPv6 Address.........: FE80::201:63FF:FEEE:A2C5
       IPv6 Address....................: ::
       IPv4 Address....................: 203.237.20.1
       Subnet Mask.....................: 255.255.255.0
       Default Gateway.................: ::
                                         203.237.20.254
    
    C:\>ping 203.237.20.254
    Pinging 203.237.20.254 with 32 bytes of data:
    Reply from 203.237.20.254: bytes=32 time<1ms TTL=255
    Reply from 203.237.20.254: bytes=32 time<1ms TTL=255
    Reply from 203.237.20.254: bytes=32 time=11ms TTL=255
    Reply from 203.237.20.254: bytes=32 time<1ms TTL=255
    
    Ping statistics for 203.237.20.254:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 11ms, Average = 2ms
    ▶ PC_Client#2에서 Router#2까지 ping 테스트를 통해서 통신이 되는 것을 확인하여 대역 B의 영역 작업을 완료합니다.

     

    cisco로고이미지5

    ▶ Router#3 영역의 대역을 203.237.30.0/24로 설정을 위해서 203.237.30.254 아이피를 할당합니다. 추가적으로 PC_Client#3에도 동일 대역인 203.237.30.1 아이피를 부여하고 DNS는 Server_Client#1의 아이피를 할당합니다.
    Router>enable
    Router#configure terminal
    Enter configuration commands, one per line.  End with CNTL/Z.
    Router(config)#interface FastEthernet0/0
    Router(config-if)#ip address 203.237.30.254 255.255.255.0
    Router(config-if)#exit
    Router(config)#exit
    Router#wr
    Building configuration...
    [OK]
    ▶ Router#3의 FastEthernet0/0 포트에 203.237.30.254 아이피를 설정합니다. 
    C:\>ipconfig
    FastEthernet0 Connection:(default port)
       Connection-specific DNS Suffix..: 
       Link-local IPv6 Address.........: FE80::202:17FF:FE1A:1E50
       IPv6 Address....................: ::
       IPv4 Address....................: 203.237.30.1
       Subnet Mask.....................: 255.255.255.0
       Default Gateway.................: ::
                                         203.237.30.254
    
    C:\>ping 203.237.30.254
    Pinging 203.237.30.254 with 32 bytes of data:
    Reply from 203.237.30.254: bytes=32 time<1ms TTL=255
    Reply from 203.237.30.254: bytes=32 time<1ms TTL=255
    Reply from 203.237.30.254: bytes=32 time<1ms TTL=255
    Reply from 203.237.30.254: bytes=32 time<1ms TTL=255
    
    Ping statistics for 203.237.30.254:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms
    ▶ PC_Client#3에서 Router#3까지 ping 테스트를 통해서 통신이 되는 것을 확인하여 대역 C의 영역 작업을 완료합니다.

     

    PS. 포스팅의 내용은 제 기준으로 작성한 것이기 때문에 참고해서 보시면 감사하겠습니다.

    포스팅 과정의 오류 및 오타 그리고 궁금한 점에 대해서는 댓글 남겨주세요.

    728x90
    반응형

    댓글

Designed by Tistory.