UNIHIVE

Study Hub UNIPORT CSC 498

CSC 498 · Computer Network and Data Communications

ARPANET, the Internet and IP addressing

How ARPANET grew into the Internet, IPv4 addresses and subnetting, private addresses and NAT, IPv6, DNS, and the Internet in Nigeria.

Our notes

2 min read

From ARPANET to the Internet

  • 1969: ARPANET (US Department of Defense research network) links 4 sites (three universities and a research institute) using packet switching with small computers (IMPs) as switches. Design goal: no central point, so it survives failures.
  • 1972-74: email; Cerf and Kahn design TCP/IP to join different networks ("inter-networking").
  • 1 January 1983: ARPANET switches to TCP/IP; DNS follows (1984). Other networks of the era: X.25 public data networks, DECnet, NSFNET (1986, the academic backbone).
  • 1989-91: Tim Berners-Lee invents the World Wide Web at CERN (HTTP, HTML, URLs).
  • 1990s: commercial ISPs; NSFNET retired (1995). 2000s onward: broadband, mobile Internet, smartphones, cloud.
  • Nigeria: academic networks and early ISPs in the 1990s; the SAT-3 cable (2001-02) and then MainOne and Glo-1 (2010), WACS and Equiano raised capacity; most Nigerians now reach the Internet through mobile data (3G, 4G and early 5G from 2022). NgREN connects universities.

IPv4 addresses

32 bits written as four decimal numbers (dotted decimal): 192.168.10.25. Each address has a network part and a host part, divided by the prefix length (CIDR, e.g. /24) or subnet mask (255.255.255.0).

  • Hosts per subnet = 2⁽³²⁻ᵖʳᵉᶠⁱˣ⁾ − 2 (the all-0s host is the network address, the all-1s host the broadcast address).

Worked example. 192.168.1.0/26: 2⁶ = 64 addresses, 62 usable hosts; mask 255.255.255.192; subnets start at .0, .64, .128, .192.
Worked example. For 172.16.45.130/27: block size 2⁵ = 32. 130 lies in 128-159, so network 172.16.45.128, broadcast 172.16.45.159, hosts .129 to .158.
Worked example. A department needs subnets of at most 50 hosts: 2⁶ − 2 = 62 ≥ 50, so use /26.

Private addresses and NAT

Ranges never routed on the public Internet: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. A home router or a mobile operator uses Network Address Translation (NAT) to let many private devices share one public address (needed because only about 4.3 billion IPv4 addresses exist).

IPv6

128-bit addresses in hexadecimal groups (2001:db8:85a3::8a2e:370:7334); about 3.4 × 10³⁸ addresses, so NAT isn't needed; simpler header; built-in autoconfiguration. Adoption is growing (mobile networks first).

Other key Internet services

  • DNS: turns names into addresses (unihive.ng → an IP address) through a hierarchy of servers (root → .ng → unihive.ng). The .ng domain is managed by NiRA.
  • DHCP: gives devices an IP address, mask, gateway and DNS server automatically when they join.
  • ARP: finds the MAC address for an IP address on the local network.
  • ICMP: error and test messages (ping, traceroute).
  • HTTP/HTTPS: the web; HTTPS adds TLS encryption (the padlock), essential for logins and payments.

Security in outline

Firewalls, VPNs, encryption (TLS), strong Wi-Fi passwords (WPA2/WPA3), keeping routers updated. Common threats: phishing, malware, denial of service. Nigeria's Cybercrimes Act (2015, amended 2024) makes many of these offences.

Exams usually ask: history of ARPANET and the Internet; IPv4 address structure and classes/CIDR; subnetting calculations (network, broadcast, host range, hosts per subnet); private addresses and NAT; IPv4 versus IPv6; DNS and DHCP.

Common mistake: counting all 2ⁿ addresses as hosts. Subtract 2 (network and broadcast addresses): a /24 has 254 usable hosts, not 256.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All CSC 498 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.