네트워크
-
프록시네트워크 2023. 12. 25. 13:03
프록시란 서버와 클라이언트 사이에서 대리로 통신을 수행해주는 것을 프록시라 한다. 예를 들어 철수, 영희, 가희가 있다. 철수는 가희에게 말을 걸고 싶지만 딱히 친분이 없다. 하지만 영희는 철수, 가희 모두와 친하다. 그렇기에 철수는 영희에게 가희의 취미가 뭐야? 라고 물어보고 영희는 가희에게 해당 질문을 통해 답을 얻고 철수에게 전해준다. 이 일련의 과정이 프록시가 하는 일과 같다. 1. 철수(클라이언트)가 영희(프록시)에게 "가희에게 취미가 뭔지 질문해줘"라고 요청 2. 영희(프록시)가 가희(서버)에게 "너 취미가 뭐야"라고 질의 3. 가희(서버)가 "나는 달리기가 취미야"라고 답변 영희(프록시)에게 전달 4. 영희(프록시)는 "가희는 달리기가 취미래"라고 철수(클라이언트)에게 전달 프록시 서버 위에..
-
IP 클래스 · 서브넷네트워크 2023. 12. 25. 12:13
IP란 IP란 호스트(네트워크 + 컴퓨터)에 부여되는 고유한 주소이다. IP는 IPv4와 IPv6가 존재하며 IPv6의 경우 네트워크 장비들의 수가 급증함에 따라 IPv4 주소체계의 주소 고갈을 해결하기 위해 개발되었다. 하지만 IPv6 장비로 모두 교체하는데에는 천문학적인 자금이 필요하기에 IPv4 주소체계를 계속 사용중이다. IP는 일반적으로 192.168.111.223 과 같이 마침표로 구분된 4개의 숫자가 있고 10진수 형식으로 표현된다. 이를 2진수로 변환할 시 11000000.10101000.01101111.11011111(192.168.111.223) 처럼 1비트씩 32개 = 32 bit, 8 bit = 1 byte 이기에 4 byte로 표현된다 할 수 있다. IP주소 구성 IP는 네트워크 ..