Skip to content

Labs · 9618 AS 2.1

IP Addresses

IPv4 and IPv6 formats, writing IPv6 in full and in short, and splitting an address into its network ID and host ID with a subnet mask, bit by bit.

7 levelsFree bench

In the exam

9618/11 May/June 2023 · Question 4(d)(i) · 5 marks

Complete the description of IP addresses. An IPv4 address contains … groups of digits. Each group is represented in … bits and the groups are separated by full stops. An IPv6 address contains … groups of digits. Each group is represented in … bits. Multiple groups that only contain zeros can be replaced with a … .

Points that gain marks

  • IPv4: 4 groups.
  • IPv4: 8 bits per group.
  • IPv6: 8 groups.
  • IPv6: 16 bits per group.
  • Zero groups can be replaced with :: (a double colon).

In this lab: Levels 1 to 3: every address shows its groups, and the IPv6 groups show their 16 bits.

9618/13 October/November 2022 · Question 7(c)(ii) · 2 marks

Two devices are in different subnetworks: 10.10.12.1 with subnet mask 255.0.0.0, and 192.168.12.4 with subnet mask 255.255.255.0. Give the network ID for the device 10.10.12.1 and the host ID for the device 192.168.12.4.

Points that gain marks

  • Network ID = 10.
  • Host ID = 4.

In this lab: Level 4 uses these two devices: the mask's 1 bits mark the network ID, its 0 bits the host ID.

9618/12 October/November 2023 · Question 7(d) · 4 marks

Complete the table of types of IP address and their descriptions (public, static, private, dynamic).

Points that gain marks

  • Public: assigned to a device to allow direct access on the internet.
  • Static: fixed; it does not change each time a device re-joins the network.
  • Private: used for communication inside a LAN only.
  • Dynamic: may be changed each time a device re-joins the network.

In this lab: Levels 6 and 7.

IGCSE 0478/12 May/June 2024 · Question 7(b) · 3 marks

An IP address can have an IPv4 or IPv6 format. (i) Give an example of an IP address that has an IPv4 format. (ii) Give two characteristics of the IPv6 format.

Points that gain marks

  • (i) Four denary numbers separated by dots, each at most 255, for example 192.168.0.1.
  • (ii) 128 bits; written in hexadecimal; 8 groups of 4 characters separated by colons.
  • (ii) A double colon can replace one run of groups of zeros (only once).

In this lab: Levels 'IPv4 or IPv6?', 'IPv6 in full' and 'IPv6 in short'.

IGCSE 0478/11 May/June 2023 · Question 6(b) · 4 marks

(i) Identify the device on the network that can connect multiple devices and automatically assign them an IP address. (ii) Describe what is meant by a dynamic IP address.

Points that gain marks

  • (i) A router.
  • (ii) It identifies a device on the network.
  • (ii) It can change each time the device connects to the network.

In this lab: Level 'Four kinds of IP address'.

IGCSE 0478/11 October/November 2025 · Question 2(b)–(c) · 5 marks

Image data is broken down into packets. A device reads the destination IP address and forwards each packet towards its destination. (b)(i) State the name of the device. (ii) Identify the part of the packet where the destination IP address is found. (c) The IP address has an IPv6 format. Give three characteristics of the IPv6 format.

Points that gain marks

  • (b)(i) A router. (ii) The packet header.
  • (c) It has 128 bits; it is written in hexadecimal; the groups are separated by colons; there are 8 groups of 4 digits; consecutive groups of 0s can be written as :: once.

In this lab: Levels 'IPv4 or IPv6?', 'IPv6 in full' and 'IPv6 in short' (the :: rule, used once).

More real experiments

All labs →

Log in or create account

IGCSE, A-Level & AP