IP Addressing Flashcards
Internet Protocol (IP) Address
o An assigned numerical label that is used to identify Internet communicating
devices on a computer network
▪ Layer 2
● Between two devices that are internal to own network or LAN
▪ Layer 3
● Between two different networks or even two different subnets
Internet Protocol Version 4 (IPv4) Addressing
Written in dotted-decimal notation
● 10.1.2.3
● 172.21.243.67
▪ Each IPv4 address is divided into 4 separate numbers and divided by dots
▪ Each of these divisions are called octets due to having 8 bits assigned
▪ 32-bits in length
▪ IPv4 address is divided into network and host portions
▪ Subnet mask defines the network portion
● Network portion if a binary 1
● Host portion if binary 0
Classes of IP Addresses
▪ Default subnet mask assigned by first octet
● Classful Masks if using default subnet mask
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
Routable IPs
▪ Publicly routable IP addresses are globally managed by ICANN
● Internet Corporation for Assigned Names and Numbers
o ARIN, LACNIC, AFNIC, APNIC, and RIPE NCC
▪ Public IP’s must
Private IPs
▪ Private IP’s can be used by anyone
▪ Not routable outside your local area network
▪ Network Address Translation (NAT) allows for routing of private IPs
through a public IP
Specialized IPs
Loopback addresses (127.x.x.x range)
● Refers to the device itself and used for testing
● Most commonly used as 127.0.0.1
Automatic Private IP Addresses (APIPA)
● Dynamically assigned by OS when DHCP server is unavailable and
address not assigned manually
● Range of 169.254.x.x
Virtual IP Addresses (VIP or VIPA)
▪ An IP address that does not correlate to an actual physical network
interface
▪ respond to numerous IP addresses and have them resolve to your
physical network interface to establish connectivity
IPv4 Data Flows:
Unicast
▪ Data travels from a single source device to a single destination device
Ipv4 Data Flows
Multicast:
Data travels from a single source device to multiple (but specific)
destination devices
Ipv4 Data Flows
Broadcast:
Data travels from a single source device to all devices on a destination
network
Assigning IP Addresses
Static:
▪ Simple
▪ Time-consuming
▪ Prone to human errors
▪ Impractical for large networks
Assigning IP Addresses
Dynamic:
▪ Quicker
▪ Easier
▪ Less confusing
▪ Simplistic for large network
Components of an IP Address
Information assigned from static or dynamic
● IP Address
● Subnet Mask
● Default Gateway
● Server addresses
o Domain Name System (DNS)
▪ Converts domain names to IP address
o Windows Internet Name Service (WINS)
▪ Converts NetBIOS computer name into an IP
address
Dynamic Host Control Protocol (DHCP) Configuration
▪ Based on the older Bootstrap Protocol
(BOOTP for short)
● Required static database of IP and
MAC to assign
▪ DHCP service assigns an IP from an
assignable pool (scope)
▪ IP Address Management is software
used to manage the IP’s being assigned
Dynamic Host Control Protocol (DHCP)
▪ Provides clients with
● IP
● Subnet mask
● Default gateway
● DNS server
● WINS server
● Other variables needed for VoIP
▪ Each IP is leased for a given amount of time and given back to the pool
when lease expires (TTL)