Bitzu

CC ยท Network security fundamentals

IPv4, IPv6, private ranges and NAT

Address formats, private ranges, subnets at concept level, NAT and key IPv6 differences.

Key points

  • IPv4 uses 32-bit dotted addresses (192.168.1.10); IPv6 uses 128-bit hex addresses (2001:db8::1).
  • Private IPv4 ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, which are not routed on the internet.
  • NAT lets many private hosts share public addresses.
  • A subnet mask or prefix (/24) splits an address into network and host parts.
  • IPv6 has far more space, no broadcast, and routers do not fragment packets.

Source: https://www.rfc-editor.org/rfc/rfc1918

Practice questions

Single choice

Which of these is a private IPv4 address?

  1. 10.20.30.40
  2. 172.32.0.10
  3. 192.169.1.5
  4. 11.0.0.1
Show answer

Answer: A. 10.20.30.40

10.0.0.0/8 is one of the three private blocks. 172.32.x.x lies just outside 172.16.0.0/12, and 192.169.x.x and 11.x.x.x are public.

Select all that apply

Which statements about IPv6 are correct?

  1. Addresses are 128 bits long
  2. Addresses are written in hex separated by colons
  3. It has no broadcast; multicast replaces it
  4. Addresses are 32 bits long
  5. It requires NAT because of address shortage
Show answer

Answer: A. Addresses are 128 bits long, B. Addresses are written in hex separated by colons, C. It has no broadcast; multicast replaces it

IPv6 addresses are 128 bits, written in hexadecimal with colons, and it has no broadcast (multicast is used). 32-bit addresses describe IPv4, and IPv6 is designed so NAT is not needed for address scarcity.

True or false

NAT is a security control that makes a firewall unnecessary.

Show answer

Answer: False

False. NAT incidentally hides internal addresses but does not inspect or filter traffic, and it offers no protection against malware or allowed connections. A firewall is still needed.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CC topics in this module