Assigning IP Addresses

High School Computer Science / Networking Notes


1. What Is an IP Address?

An IP address (Internet Protocol address) is a unique number given to a device on a network. It works like a home address so data knows where to go.

Devices that need IP addresses include:

Example: 192.168.1.25

2. Why Are IP Addresses Important?

IP addresses allow devices to:

Without IP addresses, devices would not know where to send information.

3. Types of IP Addresses

IPv4

Example: 192.168.0.1

IPv6

Example: 2001:0db8:85a3::8a2e:0370:7334

4. Static vs Dynamic IP Addresses

Static IP Address

Pros: Reliable
Cons: More work to manage

Dynamic IP Address

Pros: Easy and automatic
Cons: Address may change

5. What Is DHCP?

DHCP (Dynamic Host Configuration Protocol) is a service that:

Most home and school networks use DHCP.

6. Who Assigns IP Addresses?

Network Type Who Assigns the IP
Home network Router
School network Network server
Internet Internet Service Provider (ISP)

7. Parts of an IP Address

Example: 192.168.1.25

8. Private vs Public IP Addresses

Private IP Address

Public IP Address

9. IP Address Conflicts

If two devices have the same IP address, an IP address conflict occurs.

DHCP helps prevent this problem.

10. Summary