IP Addressing Flashcards
(46 cards)
What is an IP address?
A unique numerical label that identifies a device on a network, used for routing traffic.
At which OSI layer does IP addressing function?
Layer 3 – the Network Layer.
How do IP addresses differ from MAC addresses?
IP addresses are logical (Layer 3), change by location, and are used between networks; MAC addresses are physical (Layer 2), permanent, and used within LANs.
What’s a good analogy for an IP address?
Like a mailing address – used to deliver data via routers, similar to postal hubs.
What format does IPv4 use?
32-bit addresses written in dotted decimal (e.g., 192.168.1.1), divided into four 8-bit octets.
How is the network and host portion of an IP address determined?
By the subnet mask (e.g., 255.255.255.0 means first three octets are network, last is host).
What is 192.168.1.4 in binary?
11000000.10101000.00000001.00000100
What are the IPv4 address class ranges and their use cases?
- Class A: 1–126 → Large orgs
- Class B: 128–191 → Medium orgs
- Class C: 192–223 → Small networks
- Class D: 224–239 → Multicast
- Class E: 240–255 → Experimental
What are the default subnet masks for IPv4 classes A, B, and C?
- A: 255.0.0.0 (/8)
- B: 255.255.0.0 (/16)
- C: 255.255.255.0 (/24)
What’s the difference between public and private IPs?
- Public IPs: Routable on the internet, assigned by ISPs
- Private IPs: Internal use only, defined by RFC 1918
What are the private IP ranges?
- 10.0.0.0 – 10.255.255.255
- 172.16.0.0 – 172.31.255.255
- 192.168.0.0 – 192.168.255.255
What are special IPv4 addresses and their use?
- Loopback (127.0.0.1): Internal system test
- APIPA (169.254.x.x): Auto-assigned when DHCP fails
What are the types of IPv4 data flows?
- Unicast: One-to-one (e.g., web browsing)
- Multicast: One-to-many (e.g., streaming)
- Broadcast: One-to-all on local subnet (e.g., DHCP discover)
What is the IPv4 broadcast address?
255.255.255.255
What is the multicast IP range?
224.0.0.0 – 239.255.255.255
What is static IP addressing used for?
Devices like servers or printers that require consistent IPs.
What must be manually configured for a static IP?
IP, subnet mask, default gateway, and DNS.
What is dynamic IP addressing?
Uses DHCP to automatically assign IPs from a predefined scope.
What are other IP assignment methods?
- BOOTP: Predecessor to DHCP
- APIPA: Local-only auto-IP when DHCP fails
- ZeroConf: Self-configuration using mDNS (Bonjour, LLMNR)
What is the purpose of subnetting?
To divide larger networks into smaller segments for efficiency and security.
What formula calculates number of subnets?
2^s (s = bits borrowed from host portion)
What formula calculates usable hosts per subnet?
2^h – 2 (h = host bits remaining)
What is CIDR notation?
A shorthand for subnet masks (e.g., /24 = 255.255.255.0)
Why was IPv6 developed?
To solve IPv4 address exhaustion.