🧠
Hi, Daehuyn Lee
  • Fork-my-brain
  • Network
    • 7. "데이터가 전달되는 원리" OSI 7계층 모델과 TCP:IP 모델
    • [Netwhat] 연습문제 정리
    • 11. IP 라우팅(routing) 동작 과정
    • 3. IP address 란?
    • 2. 컴퓨터 구조를 통해 이해하는 파일(File)과 소켓(Socket)
    • 10 "더 편리한 인터넷을 위해" DHCP && DNS 프로토콜
    • 9. 데이터? 세그먼트? 패킷? 헷갈릴 땐 PDU를 알아보자
    • 8. TCP 와 UDP 차이를 자세히 알아보자
    • 5. 서브넷팅(subnetting)으로 네크워크를 효율적으로 관리하자
    • 4. 넷마스크(Netmask)와 서브넷마스크(Subnetmask)
    • 1. 비유로 이해하는 컴퓨터 구조
    • 6. 공인(Public) && 사설(Private) IP의 차이점
  • Django
    • [Django 1] 가상환경에 Django 설치하기
    • [Django 3] Hello World 웹사이트 만들기
    • [Django 9] static 으로 css 로드하기
    • [Django 10] 한 템플릿에서 복수의 css 파일 적용하기
    • [Django 11] URL app별로 관리하기
    • [Django 8] 템플릿 상속
    • [Django 4] MTV 패턴
    • [Django 6] 블로그 model 만들기
    • [Django 2] Django는 어떻게 작동할까
    • [Django 7] '새 글 작성' 기능 만들기
    • [Django 5] 템플릿 언어
  • Projects
    • 예발자닷컴
      • 4. 프론트엔드의 역할은 어디까지 - 더미데이터 만들기
      • 7. [React 리팩토링] CSS Inline Styling에 Props 사용하기
      • 6. [React 리팩토링] JSX에서 조건문 사용해 렌더링하기
      • 3. 예발자닷컴 프론트서버 업데이트 하기
      • 8. [React 리팩토링] 예발자 프로젝트에 Redux 적용하기
      • 5. [React 리팩토링] JSX로 HTML 렌더링하기
      • 1. 👨‍👨‍👦‍👦 Github로 협업 프로젝트 관리하기
      • 2. React Component를 활용한 웹페이지 디자인 연습
  • Git
    • [Git] Interactive Rebase 실습
    • 오픈소스 개발 참여에 필요한 Git 명령어 정리
    • 개발자가 오픈소스를 읽는 방법
    • 오픈소스 프로젝트 시작하기
    • SSH agent ; Passphrase 입력 없이 Push하기
    • SSH로 원격저장소 접속하기
    • [Github] 개인 저장소를 팀 저장소로 변경하기
    • GitHub Dependabot
    • Git add, commit, push 취소하기
    • 깃헙 잔디 관리 팁
    • 원격저장소 여러개 연결하기
    • Typora(마크다운 에디터) 사용법
  • C
    • C Piscine
      • 메모리 구조를 알아보자
      • Makefile 만들기
      • GCC로 정적 라이브러리 파일 만들기
      • 외부 라이브러리 GCC로 컴파일 하기
      • 정적(Static) 변수
      • 저수준 파일 입출력
      • Makefile 자주 사용하는 문법 정리
      • segmentation fault 해결하기
      • C의 구조체 개념
      • 연결 리스트(linked list)에서 이중 포인터 사용하기
      • 로컬에 Norminette 설치하기
    • GetNextLine
      • [GetNextLine] 과제소개-Reading a line on a fd is way too tedious
      • [GetNextLine] 삽질의 기록
      • [GetNextLine] 리팩토링-프로그램의 목적을 고려한 코드
    • ft_printf
      • 1. 과제소개
      • 2. 가변인자 (Variadic Arguments)
      • 3. 형식태그와 서식지정자 printf 함수의 옵션 알아보기
    • Libft
      • [Libft] Bonus
      • [Libft] Test Program
      • [Libft] 나만의 C 라이브러리 만들기
      • [Libft] Part 2
      • [Libft] Part 1
  • UNIX shell
    • [minishell] 4. 종료상태와 에러메세지 처리
    • [minishell] 1. 과제소개 및 선행지식
    • [minishell] 2. 프로그램 구조 및 개발 기록들
    • [minishell] 5. 파이프(Pipe) 처리
    • [minishell] 3. 시그널(Signal) 처리하기
    • [minishell] 6. 리다이렉션(Redirection) 처리
  • Web
    • Next.js
      • [Next.js] CSS모듈과 복수의 class 사용하기
    • Node.js
      • [Node.js] 웹페이지에 파일 띄우기
      • [Node.js] URL에서 쿼리스트링 추출하기
      • [Node.js] '새 글 작성' 페이지 만들기
    • React
      • [React] 2. 컴포넌트(Component) 생성 및 파일별로 분리하기
      • [React] 1. 파일 구조 이해하기
      • [React] 4. 컴포넌트의 State 란
      • [React] 3. 컴포넌트의 Props 란
    • Javascript
      • Click, Enter 두 개의 이벤트 동시에 등록하기
      • Click eventListener 등록하기
      • JavaScript & C 문법 비교
      • JavaScript 객체 지향의 특징
    • CSS
      • [CSS] box-model, display, position
  • Docker
    • ft_server
      • 2. 도커 설치부터 워드프레스 구축까지
      • 1. 선행지식-Docker? Debian Buster? Nginx? ...
      • 3. Dockerfile 만들기
  • Kubernetes
    • 🌌[쿠버네티스 아키텍처] 3. API 호출
    • 🌌[쿠버네티스 아키텍처] 1. 구성 및 설계
    • 🌌[쿠버네티스 아키텍처] 2. 오브젝트 (Objects)
  • Operating System
    • Philosophers
      • [Philosophers] 예시예제로 보는 뮤텍스와 세마포어의 차이
      • [Philosophers] 식사하는 철학자 문제 소개
  • CPP
    • [CPP-08] STL containers, iterators, algorithms
    • [CPP-06] CPP 형변환 연산자
    • [CPP-04 ex02] 인터페이스(Interface) 클래스
    • [CPP-04 ex00] 다형성(Polymorphism) 및 가상함수
    • [CPP-02] Canonical 클래스 복사 생성자와 대입 연산자 오버로딩
    • [CPP-07] Templates
    • [CPP-01] this 포인터와 문자열 스트림(stringstream)
    • [CPP-01] 클래스의 정적할당과 동적할당 new, delete
    • [CPP-01] 파일 입출력 및 문자열 치환하기
    • [CPP-01] 참조자(reference)와 포인터는 다르다
    • [CPP-02] 정수부동소수값 - 고정소수값 변환
    • [CPP-04 ex01] 추상 클래스의 필요성 순수 가상함수
    • [CPP-00] Megaphone! CPP 표준입출력
    • [CPP-03] (ClapTrap이 뭐지) 다중 상속과 가상 상속
    • [CPP-05] 예외 처리 (exception handling)
    • [CPP-00] 객체지향의 관점으로 클래스 이해하기
    • [CPP-01] 랜덤값 얻기
  • IBM Cloud
    • [IBM Cloud] 1. 클라우드 컴퓨팅 개요
    • [IBM Cloud] 5. 클라우드 컴퓨팅의 구성 요소
    • [IBM Cloud] 3. 클라우드 서비스 모델 및 배포 모델
    • [IBM Cloud] 2. 클라우드를 활용하는 새 기술들
    • [IBM Cloud] 4. 떠오르는 클라우드 트렌드
    • [IBM Cloud] 6. 클라우드 스토리지 유형 및 CDN
  • Assembly
    • [libasm] 어셈블리 프로그램 구조와 x64 레지스터 이해하기
    • [libasm] strlen 함수를 어셈블리어로 짠다면
    • [libasm] 어셈블리 명령어(opcode) 정리
Powered by GitBook
On this page
  • 1. IP adress
  • 선행지식
  • 1.1. IP주소 크기 구하기
  • 1.2. IP주소 클래스 구하기
  • 2. Subnetting
  • 선행지식
  • 2.1 서브넷마스크 표기법
  • 2.2. 네트워크/브로드캐스트 주소 구하기
  • 2.3. 호스트 주소 수 구하기
  • 2.4. 호스트주소 범위 구하기
  • 3. Public/Private IP address
  • 선행지식
  • 3.1. 사설 IP주소 고르기
  • 4. Transport Layer
  • 선행지식
  • 4.1. TCP/UDP 특징
  • 5. Application Layer
  • 선행지식
  • 5.1. DNS/DHCP 특징

Was this helpful?

  1. Network

[Netwhat] 연습문제 정리

Netwhat 문제를 통해 네트워크 개념을 복습했다.

Previous7. "데이터가 전달되는 원리" OSI 7계층 모델과 TCP:IP 모델Next11. IP 라우팅(routing) 동작 과정

Last updated 3 years ago

Was this helpful?

문제 출처

/

유용한 링크

1. IP adress

선행지식

1.1. IP주소 크기 구하기

Q. What is the size of an IPv4 address?

- 128 bits
- 32 bits 
- 64 miles
- 16 bits
- 8 bits
- 64 bytes
- 128 bytes


Answer : 32 bit

Q. What is the size of an IPv6 address?

- 128 bits
- 32 bits 
- 64 miles
- 16 bits
- 8 bits
- 64 bytes
- 128 bytes


Answer : 128 bit

Q. To the test IP stack on your local host, which IP address would you ping?

- 127.0.0.0
- 1.0.0.127
- 127.0.0.1
- 127.0.0.255


Answer : 127.0.0.1

1.2. IP주소 클래스 구하기

Q. What is the default IP address class available?

- A AND B
- FIRST
- C
- B


Answer : C

Q. Which IP address class has more host addresses available by default?

- C
- D
- E
- F
- FIRST(A)


Answer : FIRST(A)

Q. Which of this is not a class of IP address?

- Class D
- Class F
- Class C
- Class E


Answer : Class F

2. Subnetting

선행지식

2.1 서브넷마스크 표기법

Q. What is the CIDR notation of the 255.255.128.0 subnet mask?

- /8
- /16
- /9
- /17


Answer : /17

Q. What is the CIDR notation of the 255.255.192.0 subnet mask?

- /5
- /31
- /18
- /14


Answer : /18

Q. What is the subnet mask of /24?

- 255.255.255.255
- 255.255.255.0
- 255.0.0.0
- 255.255.128.0
- 255.192.0.0
- 255.224.0.0


Answer : 255.255.255.0

2.2. 네트워크/브로드캐스트 주소 구하기

Q. What is the network address of a host with an IP address of 182.161.121.118/24?

- 180.0.0.0
- 182.161.121.64
- 182.161.120.0
- 182.161.121.116
- 0.0.0.0
- 182.161.96.0
- 182.160.0.0
- 182.161.121.0


Answer : 182.161.121.0
Solution : (182.161.121.118) & (255.255.255.0) = 182.161.121.0

Q. What is the network address of a host with an IP address of 107.212.146.212/25?

- 107.212.146.208
- 107.128.0.0
- 0.0.0.0
- 64.0.0.0
- 107.212.128.0
- 107.212.146.128
- 107.212.0.0
- 107.208.0.0
- 107.212.146.192


Answer : 107.212.146.128
Solution : (107.212.146.212) & (255.255.255.128) = 107.212.146.128

Q. What is the network address of a host with an IP address of 166.175.144.121/23?

- 166.128.0.0
- 166.175.144.0
- 166.175.144.96
- 128.0.0.0
- 166.174.0.0
- 166.0.0.0
- 166.0.0.0
- 166.175.144.120


Answer : 166.175.144.0
Solution : (166.175.144.121) & (255.255.254.0) = 166.175.144.0

Q. What is the network address of a host with an IP address of 116.45.224.50/8?

- 116.0.1.0
- 116.0.0.0
- 116.255.255.0
- 116.255.255.255


Answer : 116.0.0.0
Solution : (116.45.224.50) & (255.0.0.0) = 116.0.0.0

Q. What is the network address of a host with an IP address of 45.195.37.187/16?

- 45.194.37.187
- 45.0.0.0
- 45.194.0.0
- 45.195.0.0


Answer : 45.195.0.0
Solution : (45.195.37.187) & (255.255.0.0) = 45.195.0.0

Q. What is the broadcast address of a host with an IP address of 51.254.122.100/24?

- 51.254.122.0
- 51.254.122.1
- 51.254.122.254
- 51.254.122.255

Answer : 51.254.122.255

2.3. 호스트 주소 수 구하기

Q. What is the maximum number of IP addresses that can be assigned to hosts on a local subnet using the 255.255.255.128 subnet mask?

- 128
- 60
- 126
- 62
- 252
- 258
- 124
- 58
- 64


Answer : 126
Solution : 2^(32 - 25) - 2 = 128 - 2 = 126

Q. What is the maximum number of IP addresses that can be assigned to hosts on a local subnet using the 255.224.0.0 subnet mask?

- 4194306
- 4194302
- 1048578
- 4194300
- 2097148
- 4194298
- 1048574
- 2097150
- 1048576


Answer : 2097150
Solution : 2^(32 - 11) - 2 = 2097152 - 2 = 2097150

Q. You have an interface on a router with the IP address of 124.144.156.248/21. Including the router interface, how many hosts can have IP addresses on the local network connected to the router interface?

- 1020
- 2050
- 2044    
- 4090
- 2046
- 2048
- 4092
- 2042
- 4094


Answer : 2046
Solution : 2^(32 - 21) - 2 = 2048 - 2 = 2046

Q. You have an interface on a router with the IP address of 240.19.3.205/12. Including the router interface, how many hosts can have IP addresses on the local network connected to the router interface?

- 1048576
- 2097154
- 1048574
- 524284
- 1048578
- 2097148
- 1048572


Answer : 1048574
Solution : 2^(32 - 12) - 2 = 1048576 - 2 = 1048574

2.4. 호스트주소 범위 구하기

Q. Which of the following proposals is the valid host range for the subnet on which the IP address 158.167.18.156/15 resides?

- 158.166.0.1- 158.167.255.253
- 158.165.255.253- 158.167.255.254
- 158.166.0.1- 158.167.255.254
- 158.166.0.2- 158.168.0.2


Answer : 158.166.0.1- 158.167.255.254
Solution : (Network)158.166.0.0 (Broadcast) 158.167.255.255

Q. Which of the following proposals is the valid host range for the subnet on which the IP address 1.93.149.6/17 resides?

- 1.93.127.255- 1.93.255.250
- 1.93.128.1- 1.94.0.1
- 1.93.128.1- 1.93.255.251
- 1.93.128.1- 1.93.255.254
- 1.93.128.1- 1.94.0.3


Answer : 1.93.128.1- 1.93.255.254
Solution : (Network)1.93.128.0 (Broadcast) 1.93.255.255

3. Public/Private IP address

선행지식

3.1. 사설 IP주소 고르기

Q. Which of the following IP addresses is a private address?

- 169.153.119.123
- 24.23.102.151
- 255.62.136.173
- 10.166.25.20
- 46.244.138.171
- 27.147.158.251


Answer : 10.166.25.20

Q. Which of the following IP addresses is a private address?

- 222.9.230.144
- 135.167.134.35
- 172.32.0.5
- 27.157.141.96
- 172.16.0.2
- 129.244.78.149
- 137.223.167.235


Answer : 172.16.0.2

Q. Which of the following IP addresses is a private address?

- 108.246.233.231
- 146.227.105.173
- 59.155.254.18
- 253.29.133.220
- 192.168.20.253
- 94.152.104.99


Answer : 192.168.20.253

4. Transport Layer

선행지식

4.1. TCP/UDP 특징

Q. Which of the following propositions is not true?

- UDP is faster, simpler and more efficient than TCP
- UDP only has the basic error control mechanism
- UDP is a datagram oriented protocol
- UDP does not support broadcasting


Answer : UDP does not support broadcasting

Q. Which of the following propositions is not true?

- TCP is a connection-oriented protocol
- TCP does not support broadcasting
- TCP provides extended error checking mechanisms, because it provides flow control and data acknowledgement
- Data sequencing is a TCP feature (this means that packets arrive in order in the recipient)
- The delivery of data to the destination cannot be guaranteed in TCP
- TCP is reliable because it guarantees the delivery of data to the router of the destination


Answer : The delivery of data to the destination cannot be guaranteed in TCP

Q. Which of the following propositions is not true?

- UDP is faster, simpler and more efficient than TCP
- UDP provides extended error checking mechanisms, because it provides flow control and data acknowledgement
- UDP is a datagram oriented protocol
- UDP supports broadcasting


Answer : UDP provides extended error checking mechanisms, because it provides flow control and data acknowledgement

Q. Which of the following propositions is not true?

- TCP is a datagram oriented protocol
- TCP does not support broadcasting
- TCP provides extended error checking mechanisms, because it provides flow control and data acknowledgement
- Data sequencing is a TCP feature (packets arrive in order in the recipient)
- TCP is reliable because it guarantees the delivery of data to the router of the destination
- TCP is comparatively slower than UDP


Answer : TCP is a datagram oriented protocol

Q. Which of the following services use UDP? 1. DHCP 2. SMTP 3. FTP 4. HTTP

- 3
- 1
- 2
- All of the above


Answer : 1

5. Application Layer

선행지식

5.1. DNS/DHCP 특징

Q. __ translates Internet domain names and host names into IP addresses

- Network time protocol
- Default routing protocol
- Domain name system
- OSI model system


Answer : Domain name system

Q. You want to implement a mechanism that automates IP configuration, including IP address, subnet mask, default gateway and DNS information. What protocol will you use to achieve this?

- SNMP
- DHCP
- SMTP
- ARP


Answer : DHCP

Q. What DHCP protocol does it use at the transport layer level?

- ICMP
- TCP
- FTP
- UDP


Answer : UDP

Q. What type of address is supported by DHCP?

- IPV4
- IPV6
- IPV4 and IPV6
- None of them


Answer : IPV4 and IPV6

Q. DHCP is used for _

- IPV4
- Both IPV6 and IPV4
- IPV6
- None of the mentioned


Answer : Both IPV6 and IPV4

adblanc
netwhat42-train
365kim/42_cursus/2_netwhat
10진수 <-> 2진수 변환기
IP주소 범위 계산기
서브넷마스크 Reference Table
IPv4 (32bit)와 IPv6 (128bit)
IP Class
기본 서브넷 마스크(Default Subnet Mask) 와 CIDR 표기법
네트워크/브로드캐스트 주소 계산법
호스트주소 수 계산법
호스트주소 범위 (서브네팅 계산 방법)
사설IP 주소대역
OSI 7 Model
TCP / UDP 원리 및 차이
OSI 7 Model
DHCP/DNS 개념