DHCP(Dynamic Host Configuration Protocol)란?
- 호스트의 IP주소와 각종 TCP/IP 프로토콜의 기본 설정을 클라이언트에게 자동적으로 제공해주는 프로토콜을 말합니다.
- 네트워크 안의 컴퓨터에 자동으로 네임 서버 주소, IP주소, 게이트웨이 주소를 할당해주는 것을 의미합니다.
- PC의 수가 많거나 PC자체 변동사항이 많은 경우 IP설정을 자동으로 해 주기 때문에 효율적입니다.
- DHCP서버에 의존하기 때문에 서버가 다운되면 IP할당이 제대로 이루어지지 않습니다.
(참고 : https://jwprogramming.tistory.com/35)
<숙제와 함께>
1.
-Router-
(1) en
(2) conf t
(3) int g0/0
(4) ip add 163.180.116.1 255.255.255.0
(5) no sh
(6) ex
(7) ip dhcp excluded-address 163.180.116.1 : IP 할당 시 사용하지 않을 IP
(8) ip dhcp pool nefus : DHCP의 이름 설정
(9) net 163.180.116.0 255.255.255.0
(10) default-router 163.180.116.1 : 호스트에 주어질 기본 게이트웨이
(11) ex
-Server-
2.
-Server-
-PC-
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
NTP(Network Time Protocol)란?
- 지연이 있을 수 있는 네트워크 상에서 컴퓨터와 컴퓨턴간의 시간을 동기화하기 위한 네트워크 프로토콜입니다.
- 서버/클라이언트를 기반으로 하는 프로토콜이며 인터넷을 기반으로 *UDP방식을 사용합니다.
- 트리구조로 이루어져있습니다.
*UDP : 인터넷상에서 서로 정보를 주고받을 때 정보를 보낸다는 신호나 받는다는 신호 절차를 거치지 않고, 보내는 쪽에서 일방적으로 데이터를 전달하는 통신 프로토콜입니다.
(참고 : https://jwprogramming.tistory.com/35)
<숙제와 함께>
-Server-
-Router 2-
(1) en
(2) conf t
(3) int g0/0
(4) ip add 209.165.200.227 255.255.255.0
(5) no sh
(6) ex
(7) ntp server 209.165.200.225 : 서버에서 설정한 NTP를 불러와 시간 설정
(8) ntp authenticate
(9) ntp trusted-key 1
(10) ntp authentication-key 1 md5 nefus
-Router 1-
(1) en
(2) conf t
(3) int g0/0
(4) ip add 209.165.200.226 255.255.255.0
(5) no sh
(6) ex
(7) ntp server 209.165.200.225
(8) ntp authenticate
(9) ntp trusted-key 1
(10) ntp authentication-key 1 md5 nefus
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Syslog-logging이란?
- 시스템 동작 시 시스템 상태/작동 정보를 시간의 경과에 따라 기록하는 것을 로깅, 그 기록을 로그라고 합니다.
- 재현하기 힘든 버그에 대한 정보를 제공하며, 성능에 관한 통계와 정보를 제공할 수 있습니다.
<숙제와 함께>
-Server-
-Router 2-
(1) en
(2) conf t
(3) int g0/0
(4) ip add 209.165.200.227 255.255.255.0
(5) no sh
(6) ex
(7) logging console
(8) logging host 209.165.200.255 : 로그 서버 설정
(9) int g0/0
(10) sh
AAA(Authentication Authorization Accounting == 인증 권한부여 계정관리)란?
- 보안의 한 방법으로 접근자가 올바른가 아닌가를 따져줍니다.
- 라우터에게 ID와 Password를 인증받아야 다음 행동이 가능해집니다.
(참고 : https://www.techtarget.com/searchsecurity/definition/authentication-authorization-and-accounting?utm_source=CAM)
What is authentication, authorization, and accounting (AAA)? - Definition from WhatIs.com
Authentication, authorization, and accounting (AAA) is a term for a framework for intelligently controlling access to computer resources, enforcing policies, auditing usage, and providing the information necessary to bill for services availab
www.techtarget.com
<숙제와 함께>
-Server-
-Router 1-
(1) en
(2) conf t
(3) int g0/0
(4) ip add 1.0.0.1 255.0.0.0
(5) no sh
(6) ex
(7) aaa new-model : radius 인증모드
(8) aaa authentication enable default group eadius local
(9) aaa authentication login default group radius local : radius 서버에서 만든 계정 사용
(10) radius-server host 1.1.1.1 key nefus : radius 서버 등록