The Internet Protocol (IP) is the set of rules that addresses and routes data packets across the internet. It works together with the Transmission Control Protocol (TCP); the combination, TCP/IP, is the foundation of internet communication. TCP breaks messages into numbered packets, checks that all packets arrive and asks for missing ones to be resent; IP gives each packet the source and destination addresses and routers forward it hop by hop toward its destination.
Key terms
- IP
- protocol that addresses and routes packets
- TCP
- protocol that ensures reliable, ordered delivery
- IPv4 address
- 32-bit address of four octets (0–255)
- IPv6
- 128-bit addressing in hexadecimal
- DNS
- translates domain names to IP addresses
- DHCP
- assigns IP addresses automatically
- NAT
- shares one public IP among many private devices
Summary
- TCP/IP is the foundation of the internet.
- IPv4 uses four octets; IPv6 uses 128-bit hexadecimal addresses.
- DNS maps names to addresses; DHCP assigns addresses automatically.
In everyday life: When you type a website name on a phone in Ethiopia, your provider's DNS server first finds its IP address before the page loads.
Check yourself
- What is the job of TCP compared with IP?
- Why was IPv6 introduced?
- What does DNS do?
Practice questions
1. Which of these is a valid IPv4 address?
- A. 192.168.1.10
- B. 256.10.4.1
- C. 192.168.1
- D. abc.def.1.2
Show answer
Answer: 192.168.1.10
IPv4 has four numbers (octets) from 0 to 255 separated by dots. 256 is too large, and the others have the wrong format.
On WeLearn
The full lesson: reading notes, worked examples, class activities and the Unit 2 quiz
Study Internet Protocol on WeLearnTeach Internet Protocol with WeLearn
We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.
