IP Addressing Flashcards
IPv4 Address Classes
Class A: 1-126 | 255.0.0.0 | /8
Class B: 128-191 | 255.255.0.0 | /16
Class C: 192-223 | 255.255.255.0 | /24
Class D 224-239 | n/a | n/a
Private IPs
Can be used by anyone
Non-routable outside your LAN
NAT (Network Address Translation)
Allows for routing of private IPs through a public IP
Specialized IPs
Loopback Address (127.X.X.X range)
Usually 127.0.0.1
Used for device itself for testing
APIPA
Dynamically assigned by OS when DHCP is unavailable
169.254.X.X
Data Flows: Unicast
Data travels from a single source device to a single destination device
Data Flows: Multicast
Data travels from a single source device to multiple (but specific) destination devices
Data Flows: Broadcast
Data travels from a single source device to all devices on a destination networks
IP Address Components
IP Address
Subnet Mask
Default Gateway
Server Addresses (DNS, WINS) DNS: Convers domain names to IP addresses WINS: Converts NetBIOS names to IP addresses
DHCP Configuration
Dynamic Host Control Protocol Configuration
Based on older Bootstrap Protocol (BOOTP)
Required static database of IPs & MACs to assign
Service assigns IP from an assignable pool (scope)
IP Address Management
Software used to manage IPs being assigned
Zeroconf
Newer tech based on APIPA
Assigns link-local IPs
Resolving computer names to IPs without DNS server
mDNS (Multicast Domain Name Server)
Locating network services
(SLP, SSDP, DNS-SD)
Subnetting
Default classful subnet masks are rarely an optimal choice for a subnet size
Subnets can be modified using subnet masks to create networks that are better scoped
Creating a subnet involves borrowing bits from the original host portion and adding them to the network portion
Purpose of Subnets
More efficient use of IP addresses than classful default
Enables separation of networks for security
Enables bandwidth control
CIDR
Classless Interdomain Routing
Instead of advertising multiple individual routes, the routes can be summarized & advertised as a single route
Used to summarize contiguous networks (route aggregation)
VLSM (And protocols that support it)
Variable-Length Subnet Masking
Allows subnets of various sizes to be used
Requires routing protocol that supports it
(RIPv2, OSPF, IS-IS, EIGRP, BGP)
Basically, subnetting subnets
Without VLSM, all subnets would have to be the same size
IPv6 Benefits
No broadcasts
No fragmentation Performs MTU (maximum transmission units) discovery for each session
Can coexist with IPv4 during transition (dual stack)
IPv6 over IPv4 (tunneling over IPv4)
Simplified header
IPv6 Address Structure
Each hexadecimal digit is 4-bits
128-bits total
No more than 32 hexadecimal digits