Host Communication Link Hub Switch Router Internet Protocol
主機 Host 線 Communication Link
Hub Switch Router
Internet
通訊協定 (Protocol) Host C 要給 B 的啦 Host A To B … Host B
通訊協定 (Protocol) 中文電腦 English Computer 給我 index. htm 吧 What are you talking about
通訊協定 (Protocol) GET /index. htm HTTP/1. 1 200 OK …
通訊協定 (Protocol) u 通訊協定制定了網路運作的方式 u 公開的 Internet Engineering Task Force (IETF) Request for comments (RFC)
電腦網路及電話網路 u What makes them so different?
Circuit Switch Call Setup
Packet M 1 M 2 Message M 3 M 4 M 5 M 6
Packet Switch
Circuit Switch and Packet Switch u Circuit Switch • 優點 • 缺點 u Packet Switch • 優點 • 缺點 Internet 是用 Packet Switch
基本單位 bit byte = 8 bits 0 1 or 0 1 1 1 0 0 1 byte 可表示 0000 ~ 1111 共 256 種不同的狀態
基本單位 1 Kb = 1024 bits u 1 KB = 1024 bytes u 1 Mb = 1024 Kb u 1 MB = 1024 KB u 1 Gb = 1024 Mb u 1 GB = 1024 MB u
Internet Services Provider (ISP) u 網路服務的提供者,如 Hi. Net , Seed. Net
網路的分層概念 u OSI 作模型 應用層 Application layer 表現層 Presentation layer 會談層 Session layer 傳輸層 Transport layer 網路層 Network layer 資料連結層 Data Link layer 實體層 Physical layer
網路的分層概念 u TCP/IP 作模型 應用層 Application layer 傳輸層 Transport layer 網路層 Network layer 資料連結層 Link layer
IP (Internet Protocol) 又長又難記 … 2 進位轉 10 進位 1 0 0 0 1 1 0 0 140 0 1 1 1 0 0 112 0 0 0 1 1 0 30 1 0 0 0 1 1 1 0 142
IP (Internet Protocol) 140. 112. 30. 22 64. 233. 167. 99 216. 109. 127. 28
DNS (Domain Name System) IP 位址太難記,而且有時又會變動… u 幫 IP 位址取英文名字 ^_^ u Ex: ptt. cc <-> 140. 112. 30. 72 ptt 2. cc <-> 140. 112. 30. 73 u
Domain Name Server 140. 112. 30. 142 請告訴我 ptt. cc 的 ip Hi 140. 112. 30. 142
Google u googol = u Sergey Brin u Larry Page
網路資源 英文辭典 http: //onelook. com/ u 中文字典 http: //140. 111. 1. 22/clc/dict/ u Study-Area http: //www. study-area. org/ u
- Slides: 36