The internet, the web and IP addressing
แนะนำใหม่
23:35
เครือข่าย
คุณกดส่ง ภายในไม่ถึงวินาที ข้อความของคุณก็กระโดดออกจากโทรศัพท์ วิ่งผ่านเมืองของคุณ ลมลงใต้มหาสมุทรผ่านสายเคเบิล และโผล่ขึ้นบน…
บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้
ในบทเรียนนี้
| English | ความหมาย |
|---|---|
| internet/ˈɪntənet/ | อินเทอร์เน็ต |
| addressing scheme | A system for assigning addresses so devices can be identified on a network. |
| World Wide Web/wɜːld waɪd web/ | เวิลด์ไวด์เวบ |
| packet/ˈpækɪt/ | Units of data sent through a network, containing payload and control information such as addressing details. |
| protocol/ˈprəʊtəkɒl/ | โปรโตคอล |
| TCP/IP | A set of communication rules used by devices on the internet. |
| service/ˈsɜːvɪs/ | Activities performed to meet people's needs or wants rather than supplying a physical good. |
| URLs | Addresses that identify resources on the World Wide Web. |
| HTTP/ˌeɪtʃ tiː tiː ˈpiː/ | Hypertext Transfer Protocol: an application-layer request/response protocol used to transfer web resources. |
| HTTPS/ˌeɪtʃ tiː tiː piː ˈes/ | A secure set of rules for transferring web pages and other web content. |
| browser | A program used to access and display pages on the web. |
| Email/ˈiːmeɪl/ | A service for sending and receiving messages over the internet. |
| file transfer | The process of sending files from one device to another over a network. |
| Webmail | An email service accessed through a web page in a browser. |
| web page | A document on the World Wide Web displayed in a browser. |
| modem/ˈməʊdem/ | โมเด็ม |
| digital signal | A signal that represents data using separate values, usually zero and one. |
| analogue signal | A signal that changes continuously and can carry data over telephone lines. |
| modulation | The process of changing a signal to carry digital data over a communication line. |
| demodulation | The process of recovering digital data from a signal received over a communication line. |
| PSTN | The public telephone network made up of telephone lines and exchanges. |
| exchanges | Centres in the telephone network that connect calls between telephone lines. |
| dial-up | An internet connection made by calling through the public telephone network. |
| DSL | A technology that provides internet connections over telephone lines. |
| dedicated line/ˈdedɪkeɪtɪd laɪn/ | สายพิเศษ |
| ISP/ˌaɪ es ˈpiː/ | |
| bandwidth/ˈbændwɪdθ/ | The frequency range carried by a signal or channel; in networking, often used for its data transfer capacity. |
| cell phone network/sel fəʊn ˈnetwɜːk/ | เครือข่ายมือถือ |
| cell/sel/ | An area served by one or more antennas in a mobile phone network. |
| IP address/ˌaɪ ˈpiː əˈdres/ | ที่อยู่ไอพี |
| IPv4/ˌaɪ piː viː ˈfɔː/ | |
| IPv6/ˌaɪ piː viː ˈsɪks/ | |
| denary numbers | Numbers written using ten digits, from zero to nine. |
| hexadecimal digits | The sixteen symbols from zero to nine and A to F. |
| Subnetting | The process of dividing a network into smaller networks called subnets. |
| network ID/ˈnetwɜːk ˌaɪ ˈdiː/ | |
| subnet/ˈsʌbnet/ | _subnet |
| host ID/həʊst ˌaɪ ˈdiː/ | |
| subnet mask/ˈsʌbnet mæsk/ | |
| hosts | Devices connected to a network that can send or receive data. |
| broadcasts | Messages sent to all devices within a network or subnet. |
| traffic | The data travelling across a network during a period of time. |
| switch/swɪtʃ/ | A network device that forwards frames to the appropriate ports using hardware addresses. |
| router/ˈruːtə/ | A network device that forwards packets between networks using destination addresses and routing information. |
| public IP address/ˈpʌblɪk ˌaɪ ˈpiː əˈdres/ | An IP address that is unique and can be used across the internet. |
| private IP address/ˈpraɪvət ˌaɪ ˈpiː əˈdres/ | An IP address used inside a local network and not directly on the internet. |
| LAN/ˌel eɪ ˈen/ | A network connecting devices within a limited area, such as one building. |
| NAT/næt/ | |
| static IP address/ˈstætɪk ˌaɪ ˈpiː əˈdres/ | An IP address that is set or reserved and does not change. |
| server/ˈsɜːvə/ | A computer or program that provides services or resources in response to requests from clients. |
| clients/ˈklaɪənts/ | Computers or programs that request services from a server. |
| dynamic IP address/daɪˈnæmɪk ˌaɪ ˈpiː əˈdres/ | An IP address assigned automatically by DHCP that may change between connections. |
| DHCP/ˌdiː eɪtʃ siː ˈpiː/ |
เครือข่ายที่ประสบความสำเร็จจนหมดเลข
- When the internet's addressing scheme was designed in 1981, its 32-bit addresses allowed about four billion devices. That seemed inexhaustible for an experiment linking a few hundred universities.
- บล็อกสุดท้ายถูกจัดสรรในปี 2011 โทรศัพท์ แล็ปท็อป กล้อง และเซ็นเซอร์ทุกเครื่องในโลกต่างต้องการที่อยู่ แต่ไม่มีเพียงพอที่จะแบ่ง
- ตัวแทนใหม่มี 128 บิต: เพียงพอให้ทรายทุกเม็ดบนโลกมีที่อยู่หลักพัน#
- บทเรียนนี้คือ อินเทอร์เน็ต เอง World Wide Web ที่ทำงานอยู่บนมัน และที่อยู่ที่ทำให้แพ็กเก็ตหาคำเครื่องเดียวใน billions ได้

อินเทอร์เน็ตและ World Wide Web
- อินเทอร์เน็ต คือ เครือข่ายของเครือข่าย ระดับโลกที่สื่อสารกันโดยใช้ชุด โปรโตคอล (protocol suite) ร่วมกัน คือ TCP/IP
- เวิลด์ไวด์เว็บ (WWW) คือ บริการ หนึ่งที่ทำงานอยู่บนนั้น: เอกสารที่เชื่อมโยงด้วยลิงก์hyperlink ซึ่งระบุด้วย URL ถูกขอด้วย HTTP หรือ HTTPS และแสดงบนเว็บเบราว์เซอร์
- อีเมลและการถ่ายโอนไฟล์คือบริการอื่นของอินเทอร์เน็ตที่ ไม่ใช่ ส่วนหนึ่งของ web Webmail ใช้ทั้งสอง: กล่องจดหมายเป็นหน้าเว็บที่เข้าถึงผ่าน browser ในขณะที่อีเมลเองเดินทางข้ามเครือข่ายของเครือข่าย

เว็บทำงานบนอินเทอร์เน็ต; บริการที่ไม่ใช่-web ก็ทำงานบนอินเทอร์เน็ตเช่นกัน
What is the relationship between the internet and the World Wide Web?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The internet is the global network; the WWW is one service on it (hyperlinked documents). Email and file transfer are other internet services.
Match each term to what it is.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The internet is the infrastructure; the web is one service on it. IPv6 has far more addresses than IPv4.
Hardware ที่สนับสนุนอินเทอร์เน็ต
- A modem converts the computer's digital signal into an analogue signal for a telephone line, and back again at the other end: modulation and demodulation.
- PSTN, networks of exchanges and lines, carries dial-up and DSL connections. Dedicated line is leased between an organisation and its ISP: always on, a fixed bandwidth that is not shared, faster and more reliable, but expensive.
- On the cell phone network a phone sends data by radio to the nearest tower; the towers are linked to the phone company's network, which routes the data to the internet, and the phone is handed from cell to cell as it moves.

สามเส้นทางเข้าสู่อินเทอร์เน็ต
Network route lab
Follow data from a device through network hardware and protocols.
Match each piece of internet hardware to its job.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Three routes with three trade-offs: cheap and slow, expensive and reliable, mobile.
IP addresses: IPv4 and IPv6
- An IP address IP uniquely identifies a device on a network, so a packet can be delivered to it.
- IPv4 มีขนาด 32 บิต เขียนเป็น สี่ กลุ่มของเลขฐานสิบตั้งแต่ 0 ถึง 255 คั่นด้วยจุด,
192.168.1.10: ประมาณ $4.3 \times 10^{9}$ ที่อยู่, ปัจจุบันใช้หมดแล้ว - IPv6 มีขนาด 128 บิต เขียนเป็น แปด กลุ่มของเลขหกหลักที่คั่นด้วยเครื่องหมาย colons,
2001:0db8:0000:0000:0000:ff00:0042:8329; ชุดของกลุ่มเลขศูนย์ต่อเนื่องจะย่อเหลือ::. ประมาณ $3.4 \times 10^{38}$ ที่อยู่

How many bits are in an IPv4 address?
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
IPv4 is 32-bit (four numbers 0–255). IPv6 is 128-bit.
The main reason IPv6 was introduced is that:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
IPv4's ~4.3 billion addresses are exhausted; IPv6's 128 bits give about $3.4 \times 10^{38}$ addresses.
ตัวอย่างการฝึก: นี่คือที่อยู่ IPv4 หรือ IPv6?
192.168.3.2: สี่กลุ่ม, จุด, เลขฐานสิบต่ำกว่า 256. เป็น IPv42001:db8::42:8329: เครื่องหมาย colons, เลขหกหลัก, และ::แทนกลุ่มเลขศูนย์ที่หายไป. เป็น IPv6192.300.1.1ไม่ใช่ที่อยู่ที่มีvalid ของทั้งสองประเภท: 300 ไม่อยู่ในขอบเขตของ 8 บิต- คำถามทดสอบรูปแบบ: จำนวนกลุ่ม ตัวคั่น ระบบตัวเลข และช่วงของแต่ละกลุ่ม
Which of these are valid IPv4 addresses? Select ทั้งหมด that apply.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Four denary groups from 0 to 255. 300 does not fit in 8 bits, and colons with hex digits make an IPv6 address.
การแบ่ง subnet
- เครือข่ายขนาดใหญ่จะถูกแบ่งเป็น subnet. ที่อยู่หนึ่งจะมีสองส่วนคือ network ID, เดียวกันสำหรับทุกอุปกรณ์ใน subnet, และ host ID, เป็นเอกลักษณ์สำหรับแต่ละอุปกรณ์
- The subnet mask marks the split:
255.255.255.0says the first 24 bits are the network part, so up to 254 hosts share the last 8. - ข้อดี: การส่งข้อมูลแบบ broadcast จะอยู่ภายใน subnet ของมันเอง ทำให้มี traffic น้อยลงในแต่ละส่วน; อุปกรณ์ของแผนกหนึ่งสามารถป้องกันความปลอดภัยแยกต่างหาก; และจัดการและขยายเครือข่ายได้ง่ายขึ้น

one network, หลาย subnet, มี one network ID แต่ละ

A subnet mask is used to:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The mask (e.g. 255.255.255.0) marks the network bits, splitting the address into network and host portions.
ตัวอย่างการฝึก: อ่าน subnet mask
- Device address
192.168.5.37, mask255.255.255.0 - Mask มีเลข 1 ใน 24 บิตแรก, ดังนั้น network ID คือ
192.168.5.0และ host ID คือ37 - Two devices ที่มี addresses
192.168.5.37และ192.168.5.200share a network ID, ดังนั้นพวกมันอยู่ใน subnet เดียวกัน และ switch สามารถส่งข้อมูลระหว่างกันได้.192.168.6.4มี network ID ต่าง, ดังนั้นต้องใช้ router - "อธิบายข้อดีของการแบ่ง subnet สองอย่าง" ต้องการคำตอบสองอย่างจาก: ลด broadcast traffic, ความปลอดภัยแยกต่างหาก, จัดการง่ายขึ้น

With the mask 255.255.255.0, the device 192.168.5.37 has the network ID 192.168.5.0 and the host ID ____.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The mask's 24 ones cover the first three groups; the last group is the host part.
ที่อยู่ที่สาธารณะและส่วนตัว
- ที่อยู่ IP แบบสาธารณะ เป็นที่อยู่ที่เป็นเอกลักษณ์ในระดับโลกและส่งต่อได้ทั่วอินเทอร์เน็ต โดยจัดสรรโดย ISP
- A private IP addressIP is used only inside a LAN, is not routable on the internet, and is reused by millions of LANs,
192.168.x.xfor example. Devices with private addresses reach the internet through NAT in the router. - ผลกระทบด้านความปลอดภัย: Device ที่มีเฉพาะ private address ไม่สามารถเข้าถึงได้โดยตรงจากอินเทอร์เน็ต ซึ่งเป็นชั้นการป้องกัน, ในขณะที่ public address ถูกมองเห็นโดยทั้งโลก

A private IP address (e.g. 192.168.1.5):
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Private addresses work only inside the LAN and are not routed on the internet; NAT lets them share a public address.
A device with only a private IP address can be contacted directly from anywhere on the internet.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Private addresses are not routable on the internet; the device is reached only through NAT in its router, which is a layer of protection.
ที่อยู่ที่คงที่และแบบไดนามิก
- Static IP address ไม่เปลี่ยนแปลงเลย. ถูกตั้งค่าด้วยตนเองหรือจองไว้, เหมาะกับ server ที่ client ต้องหาได้ที่ known address
- Dynamic IP address ถูกจัดสรรโดย DHCP ทุกครั้งที่ device เชื่อมต่อและอาจแตกต่างในครั้งต่อไป. เหมาะกับแล็ปท็อปและโทรศัพท์, และใช้ limited pool of addresses อย่างมีประสิทธิภาพ
- ค่าคงที่แพงกว่าและต้องการการบริหารจัดการ; แบบไดนามิกเป็นอัตโนมัติแต่ไม่สามารถเชื่อถือที่อยู่ของอุปกรณ์ได้

A static IP address is most suitable for:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Servers need a fixed address so clients can always reach them. Client devices usually get dynamic addresses from DHCP.
ตัวอย่างการฝึก: คำอธิบายที่ตารางต้องการ
- Public: เห็นได้บนอินเทอร์เน็ต, unique ทั่วทั้ง, ถูกจัดสรรโดย ISP
- Private: เห็นได้เฉพาะภายใน LAN, ใช้ซ้ำโดยหลาย LAN, ต้องใช้ NAT เพื่อเข้าถึงอินเทอร์เน็ต
- Static: ไม่เปลี่ยนแปลงเลย, ตั้งค่าด้วยตนเองหรือจองไว้, ตามที่ server ต้องการ
- Dynamic: allocated by DHCP each time the device connects, may change. One row each, and the pairs are opposites.
Which protocol hands out dynamic IP addresses to devices when they join a network?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
DHCP allocates an address from a pool for a lease period. DNS resolves names, HTTP carries web pages, NAT translates private addresses to a public one.
คะแนนที่หลุดหายไป
- Internet ไม่ใช่ web. อีเมลอยู่บน internet แต่ไม่ได้อยู่บน web; webmail อยู่บนทั้งสอง
- IPv4 groups run 0 to 255, เพราะแต่ละ group มี 8 บิต. กลุ่มของ 256 หรือ 300 เป็นคำตอบผิด, ไม่ใช่ความผิดพลาดในการพิมพ์
- Private address ไม่ใช่ "ปลอดภัยน้อย". มันคือตรงกันข้าม: ไม่สามารถเข้าถึงได้จากภายนอกโดยไม่ใช้ NAT
- Dynamic address ถูกจ่ายโดย DHCP, which is a protocol, not by "the internet". ระบุชื่อให้ชัดเจน
คุณเข้าใจแล้ว
- the internet เป็นเครือข่ายของเครือข่ายบน TCP/IP; the WWW เป็น one service บนนั้น; modems, PSTN, dedicated lines และ cell network ส่ง traffic เข้าไป
- IPv4: 32 บิต, สี่กลุ่มเลขฐานสิบ 0–255, ใช้หมด; IPv6: 128 บิต, แปดกลุ่มเลขหกหลักพร้อม colons
- a subnet mask แบ่งที่อยู่ออกเป็น network ID และ host ID; subnets ตัดลด broadcast traffic แยกความปลอดภัย
- ที่อยู่สาธารณะ เป็นที่เป็นเอกลักษณ์และส่งต่อได้, ที่อยู่ส่วนตัว อยู่ภายใน LAN หลัง NAT; แบบ static สำหรับเซิร์ฟเวอร์, แบบ dynamic จาก DHCP สำหรับทุกอย่างอื่น
เกิดปัญหาอะไรขึ้น? เฉพาะทีมเว็บไซต์เท่านั้นที่เห็นข้อมูลนี้