OSI 7 Layer
OSI 7 Layer
계층이름 | 계층 Protocol | PDU | 용량 | ||
7 응용(Application) | FTP, Telnet, SSH, SMTP, DNS, HTTP,... | Message | http에 내가 표현하고자 하는 웹페이지 | http ( 웹문서 ) | 1000Byte |
6 표현 (presentation) | ASCII, hwp, zip, jpeg, html,... (포맷) | Message | 내가 표현하고자 하는 html과 jpeg | http ( html ) | 1000Byte |
5 세션 (session) | Message | 연결시작, 유지, 종료 담당 | http ( html ) | 1000Byte | |
4 전송 (transport) | TCP : 신뢰적, UDP : 실시간 전송유리, 신뢰성이떨어짐 | Segment | tcp/udp 포트번호 (20Byte(tcp헤더 기본크기)) | (tcp, 80 (http (html ))) <--20B--><----1000B----> |
1020Byte |
3 네트워크 (network) | IP, ICMP, IGMP, ARP | Packet | (ip (tcp,80 (http (html)))) 20B <--20B--><----1000B----> |
1040Byte | |
2 데이터 (data link) | Ethernet, IEEE802.3, PPP, HDLC | Frame | (mac (ip (tcp,80(http (html)))fcs) 14B 20B <--20B--><----1000B----> 4B |
1058Byte | |
1 물리 (physical) | 10Base2, 10Base5, 10BaseT | Bits | 10101011000101010111000100100110011..... |
7 http ( 그림 ) 4000Byte message
6 http ( jpeg ) 4000Byte message
5 http ( jpeg ) 4000Byte message
4 조각내서 붙임 (tcp, 80, 1번째 조각 (1, 1460B) 1480Byte segment
(tcp, 80, 2번째 조각 (2, 1460B) 1480Byte segment
(tcp, 80, 3번째 조각 (3, 1080B) 1480Byte segment
3 (ip (tcp, 80, 1번째 조각 (1, 1460B) 1500Byte segment
(ip (tcp, 80, 2번째 조각 (2, 1460B) 1500Byte segment
(ip (tcp, 80, 3번째 조각 (3, 1080B) 1500Byte segment
2 (mac (ip (tcp, 80, 1번째 조각 (1, 1460B)fcs) 1518Byte frame
(mac (ip (tcp, 80, 1번째 조각 (1, 1460B)fcs) 1518Byte frame
(mac (ip (tcp, 80, 1번째 조각 (1, 1080B)fcs) 1138Byte frame
주요 포트번호
(tcp, 21 (ftp))
(tcp, 22 (ssh))
(tcp, 23 (telnet))
(tcp, 25 (smtp))
(udp, 53 (dns))
(tcp, 53 (dns))
(udp, 67 (dhcp))
(udp, 68 (dhcp))
(udp, 69 (tftp))
(tcp, 80 (http))
(tcp, 110 (pop3))
(tcp, 143 (imap))
(udp, 161 (snmp))
(udp, 162 (snmp))
(tcp, 443 (https))